Installation guide
Table Of Contents
- LVM Administrator's Guide
- Table of Contents
- Introduction
- Chapter 1. The LVM Logical Volume Manager
- Chapter 2. LVM Components
- Chapter 3. LVM Administration Overview
- Chapter 4. LVM Administration with CLI Commands
- 1. Using CLI Commands
- 2. Physical Volume Administration
- 3. Volume Group Administration
- 3.1. Creating Volume Groups
- 3.2. Adding Physical Volumes to a Volume Group
- 3.3. Displaying Volume Groups
- 3.4. Scanning Disks for Volume Groups to Build the Cache File
- 3.5. Removing Physical Volumes from a Volume Group
- 3.6. Changing the Parameters of a Volume Group
- 3.7. Activating and Deactivating Volume Groups
- 3.8. Removing Volume Groups
- 3.9. Splitting a Volume Group
- 3.10. Combining Volume Groups
- 3.11. Backing Up Volume Group Metadata
- 3.12. Renaming a Volume Group
- 3.13. Moving a Volume Group to Another System
- 3.14. Recreating a Volume Group Directory
- 4. Logical Volume Administration
- 4.1. Creating Logical Volumes
- 4.2. Persistent Device Numbers
- 4.3. Resizing Logical Volumes
- 4.4. Changing the Parameters of a Logical Volume Group
- 4.5. Renaming Logical Volumes
- 4.6. Removing Logical Volumes
- 4.7. Displaying Logical Volumes
- 4.8. Growing Logical Volumes
- 4.9. Extending a Striped Volume
- 4.10. Shrinking Logical Volumes
- 5. Creating Snapshot Volumes
- 6. Controlling LVM Device Scans with Filters
- 7. Online Data Relocation
- 8. Activating Logical Volumes on Individual Nodes in a Cluster
- 9. Customized Reporting for LVM
- Chapter 5. LVM Configuration Examples
- Chapter 6. LVM Troubleshooting
- Chapter 7. LVM Administration with the LVM GUI
- Appendix A. The Device Mapper
- Appendix B. The LVM Configuration Files
- Appendix C. LVM Object Tags
- Appendix D. LVM Volume Group Metadata
- Index

3.10. Combining Volume Groups ...............................................................26
3.11. Backing Up Volume Group Metadata .................................................26
3.12. Renaming a Volume Group ...............................................................27
3.13. Moving a Volume Group to Another System .......................................27
3.14. Recreating a Volume Group Directory ................................................28
4. Logical Volume Administration .......................................................................28
4.1. Creating Logical Volumes ...................................................................28
4.2. Persistent Device Numbers .................................................................32
4.3. Resizing Logical Volumes ...................................................................32
4.4. Changing the Parameters of a Logical Volume Group ...........................33
4.5. Renaming Logical Volumes .................................................................33
4.6. Removing Logical Volumes .................................................................33
4.7. Displaying Logical Volumes ................................................................33
4.8. Growing Logical Volumes ...................................................................34
4.9. Extending a Striped Volume ................................................................35
4.10. Shrinking Logical Volumes ................................................................36
5. Creating Snapshot Volumes ..........................................................................37
6. Controlling LVM Device Scans with Filters ......................................................38
7. Online Data Relocation ..................................................................................39
8. Activating Logical Volumes on Individual Nodes in a Cluster ............................39
9. Customized Reporting for LVM ......................................................................40
9.1. Format Control ...................................................................................40
9.2. Object Selection .................................................................................42
9.3. Sorting LVM Reports ..........................................................................48
9.4. Specifying Units .................................................................................49
5. LVM Configuration Examples .................................................................................51
1. Creating an LVM Logical Volume on Three Disks ............................................51
1.1. Creating the Physical Volumes ............................................................51
1.2. Creating the Volume Group .................................................................51
1.3. Creating the Logical Volume ...............................................................51
1.4. Creating the File System .....................................................................52
2. Creating a Striped Logical Volume .................................................................52
2.1. Creating the Physical Volumes ............................................................52
2.2. Creating the Volume Group .................................................................52
2.3. Creating the Logical Volume ...............................................................53
2.4. Creating the File System .....................................................................53
3. Splitting a Volume Group ...............................................................................53
3.1. Determining Free Space .....................................................................54
3.2. Moving the Data .................................................................................54
3.3. Splitting the Volume Group .................................................................54
3.4. Creating the New Logical Volume ........................................................55
3.5. Making a File System and Mounting the New Logical Volume ...............55
3.6. Activating and Mounting the Original Logical Volume ............................55
4. Removing a Disk from a Logical Volume .........................................................56
4.1. Moving Extents to Existing Physical Volumes .......................................56
4.2. Moving Extents to a New Disk .............................................................57
6. LVM Troubleshooting ............................................................................................59
1. Troubleshooting Diagnostics ..........................................................................59
2. Displaying Information on Failed Devices .......................................................59
3. Recovering from LVM Mirror Failure ...............................................................60
LVM Administrator's Guide
v