Installation guide

Table Of Contents
Table of Contents
Introduction .............................................................................................................. vii
1. About This Guide .......................................................................................... vii
2. Audience ...................................................................................................... vii
3. Software Versions ......................................................................................... vii
4. Related Documentation ................................................................................. vii
5. Document Conventions ................................................................................ viii
1. The LVM Logical Volume Manager .......................................................................... 1
1. Logical Volumes ............................................................................................ 1
2. LVM Architecture Overview ............................................................................ 2
3. Running LVM in a Cluster ............................................................................... 3
4. Document Overview ....................................................................................... 4
2. LVM Components .................................................................................................. 6
1. Physical Volumes ........................................................................................... 6
1.1. LVM Physical Volume Layout ............................................................... 6
1.2. Multiple Partitions on a Disk ................................................................. 7
2. Volume Groups .............................................................................................. 8
3. LVM Logical Volumes ..................................................................................... 8
3.1. Linear Volumes ................................................................................... 8
3.2. Striped Logical Volumes .....................................................................11
3.3. Mirrored Logical Volumes ...................................................................12
3.4. Snapshot Volumes .............................................................................13
3. LVM Administration Overview ................................................................................15
1. Creating LVM Volumes in a Cluster ................................................................15
2. Logical Volume Creation Overview .................................................................15
3. Growing a File System on a Logical Volume ...................................................16
4. Logical Volume Backup .................................................................................16
5. Logging ........................................................................................................16
4. LVM Administration with CLI Commands ................................................................18
1. Using CLI Commands ...................................................................................18
2. Physical Volume Administration .....................................................................19
2.1. Creating Physical Volumes .................................................................19
2.2. Displaying Physical Volumes ..............................................................21
2.3. Preventing Allocation on a Physical Volume .........................................21
2.4. Resizing a Physical Volume ................................................................22
2.5. Removing Physical Volumes ...............................................................22
3. Volume Group Administration ........................................................................22
3.1. Creating Volume Groups ....................................................................22
3.2. Adding Physical Volumes to a Volume Group .......................................23
3.3. Displaying Volume Groups ..................................................................23
3.4. Scanning Disks for Volume Groups to Build the Cache File ...................24
3.5. Removing Physical Volumes from a Volume Group ..............................24
3.6. Changing the Parameters of a Volume Group ......................................25
3.7. Activating and Deactivating Volume Groups .........................................25
3.8. Removing Volume Groups ..................................................................26
3.9. Splitting a Volume Group ....................................................................26
iv