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

Unlock the full course today

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

Manage LVM volumes and volume groups

Manage LVM volumes and volume groups - Linux Tutorial

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

Start my 1-month free trial

Manage LVM volumes and volume groups

- [Instructor] There are limitations to standard partitions. For instance, they have to be continuous on the disk. If you want to resize a partition in the middle of a disk, you're out of luck. There are tools such as GParted that can manage this through sheer brilliance, but you should always back up your drives before attempting a resize. Logical volume management provides tools to avoid this situation by design. If there's room in a volume group, you can resize the logical volume even if the empty space is somewhere else on the disk. If there is no room in the volume group, you can just add more drives to it on the fly and then the logical volume can be expanded across all drives. To use a driver partition with LVM, we need to make it a physical volume, or PV, using the pvcreate command. Note that you should do this on an empty, unmounted partition or drive. Any data on the drive will be destroyed. Let's make…

Contents