Installation guide

v
6.2. Displaying Information on Failed Devices ..................................................................... 69
6.3. Recovering from LVM Mirror Failure ............................................................................ 70
6.4. Recovering Physical Volume Metadata ........................................................................ 73
6.5. Replacing a Missing Physical Volume .......................................................................... 74
6.6. Removing Lost Physical Volumes from a Volume Group ............................................... 75
6.7. Insufficient Free Extents for a Logical Volume .............................................................. 75
7. LVM Administration with the LVM GUI 77
A. The Device Mapper 79
A.1. Device Table Mappings .............................................................................................. 79
A.1.1. The linear Mapping Target ............................................................................... 80
A.1.2. The striped Mapping Target ............................................................................. 80
A.1.3. The mirror Mapping Target ............................................................................... 82
A.1.4. The snapshot and snapshot-origin Mapping Targets .......................................... 83
A.1.5. The error Mapping Target ................................................................................ 85
A.1.6. The zero Mapping Target ................................................................................. 85
A.1.7. The multipath Mapping Target .......................................................................... 86
A.1.8. The crypt Mapping Target ................................................................................ 88
A.2. The dmsetup Command ............................................................................................. 89
A.2.1. The dmsetup info Command ............................................................................ 89
A.2.2. The dmsetup ls Command ............................................................................... 90
A.2.3. The dmsetup status Command ........................................................................ 91
A.2.4. The dmsetup deps Command .......................................................................... 91
A.3. Device Mapper Support for the udev Device Manager .................................................. 92
A.3.1. udev Integration with the Device Mapper .......................................................... 92
A.3.2. Commands and Interfaces that Support udev .................................................... 94
B. The LVM Configuration Files 97
B.1. The LVM Configuration Files ....................................................................................... 97
B.2. Sample lvm.conf File .................................................................................................. 97
C. LVM Object Tags 109
C.1. Adding and Removing Object Tags ........................................................................... 109
C.2. Host Tags ................................................................................................................ 109
C.3. Controlling Activation with Tags ................................................................................. 110
D. LVM Volume Group Metadata 111
D.1. The Physical Volume Label ...................................................................................... 111
D.2. Metadata Contents ................................................................................................... 111
D.3. Sample Metadata ..................................................................................................... 112
E. Revision History 115
Index 117