Jump To Close Expand all Collapse all Table of contents Cluster Logical Volume Manager Introduction Expand section "Introduction" Collapse section "Introduction" 1. Audience 2. Software Versions 3. Related Documentation 4. Feedback 1. The LVM Logical Volume Manager Expand section "1. The LVM Logical Volume Manager" Collapse section "1. The LVM Logical Volume Manager" 1.1. Logical Volumes 1.2. LVM Architecture Overview 1.3. Running LVM in a Cluster 1.4. Document Overview 2. LVM Components Expand section "2. LVM Components" Collapse section "2. LVM Components" 2.1. Physical Volumes Expand section "2.1. Physical Volumes" Collapse section "2.1. Physical Volumes" 2.1.1. LVM Physical Volume Layout 2.1.2. Multiple Partitions on a Disk 2.2. Volume Groups 2.3. LVM Logical Volumes Expand section "2.3. LVM Logical Volumes" Collapse section "2.3. LVM Logical Volumes" 2.3.1. Linear Volumes 2.3.2. Striped Logical Volumes 2.3.3. Mirrored Logical Volumes 2.3.4. Snapshot Volumes 3. LVM Administration Overview Expand section "3. LVM Administration Overview" Collapse section "3. LVM Administration Overview" 3.1. Creating LVM Volumes in a Cluster 3.2. Logical Volume Creation Overview 3.3. Growing a File System on a Logical Volume 3.4. Logical Volume Backup 3.5. Logging 4. LVM Administration with CLI Commands Expand section "4. LVM Administration with CLI Commands" Collapse section "4. LVM Administration with CLI Commands" 4.1. Using CLI Commands 4.2. Physical Volume Administration Expand section "4.2. Physical Volume Administration" Collapse section "4.2. Physical Volume Administration" 4.2.1. Creating Physical Volumes Expand section "4.2.1. Creating Physical Volumes" Collapse section "4.2.1. Creating Physical Volumes" 4.2.1.1. Setting the Partition Type 4.2.1.2. Initializing Physical Volumes 4.2.1.3. Scanning for Block Devices 4.2.2. Displaying Physical Volumes 4.2.3. Preventing Allocation on a Physical Volume 4.2.4. Resizing a Physical Volume 4.2.5. Removing Physical Volumes 4.3. Volume Group Administration Expand section "4.3. Volume Group Administration" Collapse section "4.3. Volume Group Administration" 4.3.1. Creating Volume Groups 4.3.2. Adding Physical Volumes to a Volume Group 4.3.3. Displaying Volume Groups 4.3.4. Scanning Disks for Volume Groups to Build the Cache File 4.3.5. Removing Physical Volumes from a Volume Group 4.3.6. Changing the Parameters of a Volume Group 4.3.7. Activating and Deactivating Volume Groups 4.3.8. Removing Volume Groups 4.3.9. Splitting a Volume Group 4.3.10. Combining Volume Groups 4.3.11. Backing Up Volume Group Metadata 4.3.12. Renaming a Volume Group 4.3.13. Moving a Volume Group to Another System 4.3.14. Recreating a Volume Group Directory 4.4. Logical Volume Administration Expand section "4.4. Logical Volume Administration" Collapse section "4.4. Logical Volume Administration" 4.4.1. Creating Logical Volumes Expand section "4.4.1. Creating Logical Volumes" Collapse section "4.4.1. Creating Logical Volumes" 4.4.1.1. Creating Linear Volumes 4.4.1.2. Creating Striped Volumes 4.4.1.3. Creating Mirrored Volumes 4.4.1.4. Changing Mirrored Volume Configuration 4.4.2. Persistent Device Numbers 4.4.3. Resizing Logical Volumes 4.4.4. Changing the Parameters of a Logical Volume Group 4.4.5. Renaming Logical Volumes 4.4.6. Removing Logical Volumes 4.4.7. Displaying Logical Volumes 4.4.8. Growing Logical Volumes 4.4.9. Extending a Striped Volume 4.4.10. Shrinking Logical Volumes 4.5. Creating Snapshot Volumes 4.6. Controlling LVM Device Scans with Filters 4.7. Online Data Relocation 4.8. Activating Logical Volumes on Individual Nodes in a Cluster 4.9. Customized Reporting for LVM Expand section "4.9. Customized Reporting for LVM" Collapse section "4.9. Customized Reporting for LVM" 4.9.1. Format Control 4.9.2. Object Selection 4.9.3. Sorting LVM Reports 4.9.4. Specifying Units 5. LVM Configuration Examples Expand section "5. LVM Configuration Examples" Collapse section "5. LVM Configuration Examples" 5.1. Creating an LVM Logical Volume on Three Disks Expand section "5.1. Creating an LVM Logical Volume on Three Disks" Collapse section "5.1. Creating an LVM Logical Volume on Three Disks" 5.1.1. Creating the Physical Volumes 5.1.2. Creating the Volume Group 5.1.3. Creating the Logical Volume 5.1.4. Creating the File System 5.2. Creating a Striped Logical Volume Expand section "5.2. Creating a Striped Logical Volume" Collapse section "5.2. Creating a Striped Logical Volume" 5.2.1. Creating the Physical Volumes 5.2.2. Creating the Volume Group 5.2.3. Creating the Logical Volume 5.2.4. Creating the File System 5.3. Splitting a Volume Group Expand section "5.3. Splitting a Volume Group" Collapse section "5.3. Splitting a Volume Group" 5.3.1. Determining Free Space 5.3.2. Moving the Data 5.3.3. Splitting the Volume Group 5.3.4. Creating the New Logical Volume 5.3.5. Making a File System and Mounting the New Logical Volume 5.3.6. Activating and Mounting the Original Logical Volume 5.4. Removing a Disk from a Logical Volume Expand section "5.4. Removing a Disk from a Logical Volume" Collapse section "5.4. Removing a Disk from a Logical Volume" 5.4.1. Moving Extents to Existing Physical Volumes 5.4.2. Moving Extents to a New Disk Expand section "5.4.2. Moving Extents to a New Disk" Collapse section "5.4.2. Moving Extents to a New Disk" 5.4.2.1. Creating the New Physical Volume 5.4.2.2. Adding the New Physical Volume to the Volume Group 5.4.2.3. Moving the Data 5.4.2.4. Removing the Old Physical Volume from the Volume Group 5.5. Creating a Mirrored LVM Logical Volume in a Cluster 6. LVM Troubleshooting Expand section "6. LVM Troubleshooting" Collapse section "6. LVM Troubleshooting" 6.1. Troubleshooting Diagnostics 6.2. Displaying Information on Failed Devices 6.3. Recovering from LVM Mirror Failure 6.4. Recovering Physical Volume Metadata 6.5. Replacing a Missing Physical Volume 6.6. Removing Lost Physical Volumes from a Volume Group 6.7. Insufficient Free Extents for a Logical Volume 7. LVM Administration with the LVM GUI A. The Device Mapper B. The LVM Configuration Files Expand section "B. The LVM Configuration Files" Collapse section "B. The LVM Configuration Files" B.1. The LVM Configuration Files B.2. Sample lvm.conf File C. LVM Object Tags Expand section "C. LVM Object Tags" Collapse section "C. LVM Object Tags" C.1. Adding and Removing Object Tags C.2. Host Tags C.3. Controlling Activation with Tags D. LVM Volume Group Metadata Expand section "D. LVM Volume Group Metadata" Collapse section "D. LVM Volume Group Metadata" D.1. The Physical Volume Label D.2. Metadata Contents D.3. Sample Metadata E. Revision History Index Legal Notice Settings Close Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF 4.3.8. Removing Volume Groups To remove a volume group that contains no logical volumes, use the vgremove command. # vgremove officevg Volume group "officevg" successfully removed Previous Next