From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Extend existing logical volumes

Extend existing logical volumes - Linux Tutorial

From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep

Start my 1-month free trial

Extend existing logical volumes

- [Instructor] One of the beautiful things about logical volume management is the ability to resize a logical volume with non contiguous drive space. In our terminal let's get a listing of our drives. Type in lsblk and hit Enter. We should have a slash dev slash SDC one drive from a previous video. Let's make this partition a physical volume. Type in sudo space pvcreate space slash dev slash sdc1 and hit Enter. Type in your password when prompted. It'll notice that you have a file system on it. Press Y to continue. We're going to verify by typing in sudo space pvs. And there we have it. In previous videos, we created a new volume group at this step. But for this exercise, let's extend an existing volume group. Let's get a list of all volume groups. Type in clear and then type in sudo space vgs and hit Enter. Now let's extend our vg data volume group by adding our new pv to it. Type in sudo space vgextend space,…

Contents