Linux AS6逻辑卷管理_Linux LVM管理手册

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:426

Linux AS6逻辑卷LVM管理手册

Chapter 1. The LVM Logical Volume Manager
1.1. New and Changed Features
1.1.1. New and Changed Features for Red Hat Enterprise Linux 6.0
1.1.2. New and Changed Features for Red Hat Enterprise Linux 6.1
1.1.3. New and Changed Features for Red Hat Enterprise Linux 6.2
1.1.4. New and Changed Features for Red Hat Enterprise Linux 6.3
1.1.5. New and Changed Features for Red Hat Enterprise Linux 6.4
1.1.6. New and Changed Features for Red Hat Enterprise Linux 6.5
1.2. Logical Volumes
1.3. LVM Architecture Overview
1.4. T he Clustered Logical Volume Manager (CLVM)
1.5. Document Overview
Chapter 2. LVM Components
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
2.3.1. Linear Volumes
2.3.2. Striped Logical Volumes
2.3.3. Mirrored Logical Volumes
2.3.4. RAID Logical Volumes
2.3.5. T hinly-Provisioned Logical Volumes (T hin Volumes)
2.3.6. Snapshot Volumes
2.3.7. T hinly-Provisioned Snapshot Volumes
Chapter 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
3.6. T he Metadata Daemon (lvmetad)
Chapter 4 . LVM Administration with CLI Commands
4.1. Using CLI Commands
4.2. Physical Volume Administration
4.2.1. Creating Physical Volumes Setting the Partition T ype Initializing Physical Volumes 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
4.3.1. Creating Volume Groups
4.3.2. LVM Allocation
4.3.3. Creating Volume Groups in a Cluster
4.3.4. Adding Physical Volumes to a Volume Group
4.3.5. Displaying Volume Groups
4.3.6. Scanning Disks for Volume Groups to Build the Cache File
4.3.7. Removing Physical Volumes from a Volume Group
4.3.8. Changing the Parameters of a Volume Group
4.3.9. Activating and Deactivating Volume Groups
4.3.10. Removing Volume Groups
4.3.11. Splitting a Volume Group
4.3.12. Combining Volume Groups
4.3.13. Backing Up Volume Group Metadata
4.3.14. Renaming a Volume Group
4.3.15. Moving a Volume Group to Another System
4.3.16. Recreating a Volume Group Directory
4.4. Logical Volume Administration
4.4.1. Creating Linear Logical Volumes
4.4.2. Creating Striped Volumes
4.4.3. Creating Mirrored Volumes Mirrored Logical Volume Failure Policy Splitting Off a Redundant Image of a Mirrored Logical Volume Repairing a Mirrored Logical Device Changing Mirrored Volume Configuration
4.4.4. Creating T hinly-Provisioned Logical Volumes
4.4.5. Creating Snapshot Volumes
4.4.6. Creating T hinly-Provisioned Snapshot Volumes
4.4.7. Merging Snapshot Volumes
4.4.8. Persistent Device Numbers
4.4.9. Resizing Logical Volumes
4.4.10. Changing the Parameters of a Logical Volume Group
4.4.11. Renaming Logical Volumes
4.4.12. Removing Logical Volumes
4.4.13. Displaying Logical Volumes
4.4.14. Growing Logical Volumes Extending a Striped Volume Extending a Mirrored Volume Extending a Logical Volume with the cling Allocation Policy
4.4.15. RAID Logical Volumes Creating a RAID Logical Volume Converting a Linear Device to a RAID Device Converting an LVM RAID1 Logical Volume to an LVM Linear Logical Volume Converting a Mirrored LVM Device to a RAID1 Device Changing the Number of Images in an Existing RAID1 Device Splitting off a RAID Image as a Separate Logical Volume Splitting and Merging a RAID Image Setting a RAID fault policy T he allocate RAID Fault Policy T he warn RAID Fault Policy Replacing a RAID device Scrubbing a RAID Logical Volume Controlling I/O Operations on a RAID1 Logical Volume
4.4.16. Shrinking Logical Volumes
4.5. Controlling LVM Device Scans with Filters
4.6. Online Data Relocation
4.7. Activating Logical Volumes on Individual Nodes in a Cluster
4.8. Customized Reporting for LVM
4.8.1. Format Control
4.8.2. Object Selection
The pvs Command
The vgs Command
The lvs Command
4.8.3. Sorting LVM Reports
4.8.4. Specifying Units
Chapter 5. LVM Configuration Examples
5.1. Creating an LVM Logical Volume on T hree 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
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
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
5.4.1. Moving Extents to Existing Physical Volumes
5.4.2. Moving Extents to a New Disk Creating the New Physical Volume Adding the New Physical Volume to the Volume Group Moving the Data Removing the Old Physical Volume from the Volume Group
5.5. Creating a Mirrored LVM Logical Volume in a Cluster
Chapter 6. LVM Troubleshooting
6.1. T roubleshooting 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
Chapter 7. LVM Administration with the LVM GUI
The Device Mapper
A.1. Device T able Mappings
A.1.1. T he linear Mapping T arget
A.1.2. T he striped Mapping T arget
A.1.3. T he mirror Mapping T arget
A.1.4. T he snapshot and snapshot-origin Mapping T argets
A.1.5. T he error Mapping T arget
A.1.6. T he zero Mapping T arget
A.1.7. T he multipath Mapping T arget
A.1.8. T he crypt Mapping T arget
A.2. T he dmsetup Command
A.2.1. T he dmsetup info Command
A.2.2. T he dmsetup ls Command
A.2.3. T he dmsetup status Command
A.2.4. T he dmsetup deps Command
A.3. Device Mapper Support for the udev Device Manager
A.3.1. udev Integration with the Device Mapper
A.3.2. Commands and Interfaces that Support udev
The LVM Configuration Files
B.1. T he LVM Configuration Files
B.2. Sample lvm.conf File
LVM Object Tags
C.1. Adding and Removing Object T ags
C.2. Host T ags
C.3. Controlling Activation with T ags
LVM Volume Group Metadata
D.1. T he Physical Volume Label
D.2. Metadata Contents
D.3. Sample Metadata
Revision History