Appendix D. The LVM2 plug-in

Table of Contents
D.1. Container operations
D.1.1. Creating LVM2 containers
D.1.2. Adding objects to LVM2 containers
D.1.3. Removing objects from LVM2 containers
D.1.4. Expanding consumed objects in LVM2 containers
D.1.5. Shrinking consumed objects in LVM2 containers
D.1.6. Deleting LVM2 containers
D.1.7. Renaming LVM2 containers
D.2. Region operations
D.2.1. Creating LVM2 regions
D.2.2. Expanding LVM2 regions
D.2.3. Shrinking LVM2 regions
D.2.4. Deleting LVM2 regions
D.2.5. Renaming LVM2 regions

The LVM2 plug-in provides compatibility with the new volume format introduced by the LVM2 tools from Red Hat (previously Sistina). This plug-in is very similar in functionality to the LVM plug-in. The primary difference is the new, improved metadata format. LVM2 is still based on the concept of volume groups (VGs), which are constructed from physical volumes (PVs) and produce logical volumes (LVs).

Just like the LVM plug-in, the LVM2 plug-in represents volume groups as EVMS containers and represents logical volumes as EVMS regions. LVM2 containers combine storage objects (disks, segments, or other regions) to create a pool of freespace. Regions are then created from this freespace, with a variety of mappings to the consumed objects.