System information

Chapter 14. LVM (Logical Volume Manager)
LVM is a tool for logical volume management which includes allocating disks, striping, mirroring and
resizing logical volumes.
With LVM, a hard drive or set of hard drives is allocated to one or more physical volumes. LVM
physical volumes can be placed on other block devices which might span two or more disks.
The physical volumes are combined into logical volumes, with the exception of the /bo o t/ partition.
The /bo o t/ partition cannot be on a logical volume group because the boot loader cannot read it. If
the root (/) partition is on a logical volume, create a separate /bo ot/ partition which is not a part of
a volume group.
Since a physical volume cannot span over multiple drives, to span over more than one drive, create
one or more physical volumes per drive.
Fig ure 14 .1. Lo g ical Vo lu mes
The volume groups can be divided into logical volumes, which are assigned mount points, such as
/ho me and / and file system types, such as ext2 or ext3. When "partitions" reach their full capacity,
free space from the volume group can be added to the logical volume to increase the size of the
partition. When a new hard drive is added to the system, it can be added to the volume group, and
partitions that are logical volumes can be increased in size.
Red Hat Ent erprise Lin ux 6 St orage Admin ist rat io n G uide
96