LVM allows for flexible disk management by collecting physical disks into volume groups that can be divided into logical volumes. It allows adding storage to logical volumes while they are mounted, and reduces management complexity by treating multiple disks as a single storage pool. Physical disks are initialized as physical volumes, which are collected into volume groups that are divided into logical volumes. This abstraction provides flexibility to dynamically allocate storage space.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
88 views
LVM (Logical Volume Management)
LVM allows for flexible disk management by collecting physical disks into volume groups that can be divided into logical volumes. It allows adding storage to logical volumes while they are mounted, and reduces management complexity by treating multiple disks as a single storage pool. Physical disks are initialized as physical volumes, which are collected into volume groups that are divided into logical volumes. This abstraction provides flexibility to dynamically allocate storage space.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
LVM (Logical Volume Management)
● LVM allows for very flexible disk space management.
● Ability to add disk space to a logical volume and its filesystem while that filesystem is mounted and active ● it allows for the collection of multiple physical hard drives and partitions into a single volume group which can then be divided into logical volumes. ● Allows reducing the amount of disk space allocated to a logical volume, but there are a couple requirements. ○ volume must be unmounted. ○ filesystem itself must be reduced in size before the volume on which it resides can be reduced ○ filesystem itself must allow resizing Physical Volumes: ● Physical volumes are regular storage devices ● The underlying physical storage unit of an LVM logical volume is a block device such as a partition orwhole disk. ● To use the device for an LVM logical volume the device must be initialized as a physical volume (PV). ● Initializing a block device as a physical volume places a label near the start of the device. ● LVM allows you to create physical volumes out of disk partitions. It is generally recommended that you create a single partition that covers the whole disk to label as an LVM physical volume for the following reasons ○ Administrative convenience ■ It is easier to keep track of the hardware in a system if each real disk only appears once. This Becomes particularly true if a disk fails. ■ In addition, multiple physical volumes on a single disk may cause a kernel warning about unknown partition types at boot-up. ○ Striping performance ■ LVM cannot tell that two physical volumes are on the same physical disk. ■ If you create a striped logical volume when two physical volumes are on the same physical disk, the stripes could be on different partitions on the same disk. This would result in a decrease in performance rather than increase. Volume Groups: Logical Volume: