Definition:

  • LVM provides a great deal of flexibility. Additional storage capacity can be added to the VG and granted to the LV to provide storage space without interrupting or reconfiguring user resources.
  • The /dev/mapper/ directory contains all of the logical volumes on the system that are managed by LVM. Devices in this directory are typically formatted as: /dev/mapper/<volume group name>-<logical volume name>
  • Advantages:
    • Dynamically create, delete, and resize volumes without having to reboot
    • Day-to-day management of volumes is easier once everything is set up.
    • Map multiple logical volumes across multiple physical devices.
    • A logical volume can exceed the size of any one physical device (as long as it doesn’t exceed the total size of devices in the volume group).
    • Create virtual snapshots of each logical volume so you can quickly and easily revert a volume to a specific state.

Volume Group (VG)

  • Maps whole physical devices and partitions (/dev/sda1, /dev/sda2,…) into one or more virtual structure called VG.
  • Within these, there are one or more LV

Logical Volume (LV)

  • storage devices that the system, user, and applications work with.