From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Logical volume management

Logical volume management - Linux Tutorial

From the course: Linux Tips

Logical volume management

- [Instructor] Logical Volume Management or LVM allows you to manage the volumes you use for data storage separately from their underlying physical disks. LVM creates logical volumes which can be extended and reduced, making it possible to add capacity or to remove capacity from a volume. This is helpful for migrating a volume to a larger drive as it runs out of space. Logical volumes can also span many physical volumes, which represent individual underlying disks. This way, we can create a volume with a larger capacity than any individual underlying disk. But this also increases the risk of failure because if one disk fails, we'll lose data. LVM keeps track of the data on a disk in terms of extents, physical extents on individual storage volumes and logical extents in the logical volume. Logical extents map to physical extents and so the location of data on a logical volume can be tracked and modified with a series of commands. These kinds of flexibility make LVM a really useful tool…

Contents