Moving and Reconfiguring Your Disks.......................................................................................70
Moving Disks Within a System.............................................................................................71
Moving Disks Between Systems............................................................................................72
Moving Data to a Different Physical Volume...........................................................................73
Moving a Root Disk to Another Disk.................................................................................73
pvmove Command Syntax..............................................................................................74
Moving Data for Disk Space Balancing: Auto Re-balancing.....................................................75
Creating a Spare Disk........................................................................................................76
Reinstating a Spare Disk.....................................................................................................77
Modifying Physical Volume Characteristics............................................................................77
Handling Size Increases.................................................................................................78
Handling Size Decreases...............................................................................................84
Supported LUN Changes per Release..............................................................................84
Changing Physical Volume Boot Types.............................................................................84
Disabling a Path to a Physical Volume..................................................................................87
Creating an Alternate Boot Disk...........................................................................................88
Mirroring the Boot Disk.......................................................................................................90
Mirroring the Boot Disk on HP 9000 Servers.....................................................................90
Mirroring the Boot Disk on HP Integrity Servers.................................................................92
Migrating a Volume Group to New Disks: vgmove......................................................................95
Example of Migrating a Volume Group to New Disks.............................................................95
Migrating a Logical Volume to New Disks: lvmove......................................................................96
Administering File System Logical Volumes.................................................................................97
Creating a File System........................................................................................................97
Extending a File System......................................................................................................98
Reducing the Size of a File System........................................................................................99
Backing Up a VxFS Snapshot File System............................................................................101
Administering Swap Logical Volumes.......................................................................................101
Creating a Swap Logical Volume.......................................................................................102
Extending a Swap Device.................................................................................................102
Reducing the Size of a Swap Device...................................................................................102
Administering Dump Logical Volumes......................................................................................102
Creating a Dump Logical Volume.......................................................................................102
Removing a Dump Logical Volume.....................................................................................103
Creating and Administering Snapshot Logical Volumes..............................................................103
Types of Snapshots...........................................................................................................103
Creating a Snapshot Logical Volume..................................................................................104
Removing Snapshot Logical Volumes..................................................................................104
Displaying Snapshot Information........................................................................................104
Managing the lvmpud Daemon..............................................................................................105
Hardware Issues...................................................................................................................106
Integrating Cloned LUNs...................................................................................................106
4 Troubleshooting LVM...............................................................................107
Troubleshooting Overview......................................................................................................107
Information Collection.......................................................................................................107
Consistency Checks..........................................................................................................108
Maintenance Mode Boot..................................................................................................108
I/O Errors...........................................................................................................................109
Recoverable Errors...........................................................................................................109
Temporarily Unavailable Device....................................................................................110
Permanently Unavailable Device....................................................................................110
Nonrecoverable Errors......................................................................................................110
Media Errors..............................................................................................................111
Missing Device When the Volume Group Was Activated..................................................111
Contents
5