HP-UX System Administrator's Guide: Logical Volume Management (5900-3028, March 2013)

Moving and Reconfiguring Your Disks.......................................................................................70
Moving Disks Within a System.............................................................................................71
Moving Disks Between Systems............................................................................................72
Moving Data to a Different Physical Volume...........................................................................72
Moving a Root Disk to Another Disk.................................................................................73
pvmove Command Syntax..............................................................................................73
Moving Data for Disk Space Balancing: Auto Re-balancing.....................................................74
Creating a Spare Disk........................................................................................................76
Reinstating a Spare Disk.....................................................................................................76
Modifying Physical Volume Characteristics............................................................................77
Handling Size Increases.................................................................................................77
Handling Size Decreases...............................................................................................83
Supported LUN Changes per Release..............................................................................83
Changing Physical Volume Boot Types.............................................................................83
Disabling a Path to a Physical Volume..................................................................................86
Creating an Alternate Boot Disk...........................................................................................87
Mirroring the Boot Disk.......................................................................................................89
Mirroring the Boot Disk on HP 9000 Servers.....................................................................89
Mirroring the Boot Disk on HP Integrity Servers.................................................................91
Migrating a Volume Group to New Disks: vgmove......................................................................94
Example of Migrating a Volume Group to New Disks.............................................................94
Migrating a Logical Volume to New Disks: lvmove......................................................................95
Administering File System Logical Volumes.................................................................................96
Creating a File System........................................................................................................96
Extending a File System......................................................................................................97
Reducing the Size of a File System........................................................................................98
Backing Up a VxFS Snapshot File System............................................................................100
Administering Swap Logical Volumes.......................................................................................100
Administering primary Swap Logical Volumes......................................................................101
Creating a Swap Logical Volume...................................................................................101
Extending a Swap Device.............................................................................................101
Reducing the Size of a Swap Device..............................................................................102
Administering secondary Swap Logical Volumes..................................................................102
Administering Dump Logical Volumes......................................................................................102
Administering dump Logical Volumes on root VGs................................................................102
Creating a Dump Logical Volume..................................................................................102
Removing a Dump Logical Volume.................................................................................103
Administering dump Logical Volumes on non-root VGs..........................................................103
Managing swap/dump on Logical volumes from non-root VG.....................................................103
Creating and Administering Snapshot Logical Volumes..............................................................104
Types of Snapshots...........................................................................................................105
Creating a Snapshot Logical Volume..................................................................................105
Removing Snapshot Logical Volumes..................................................................................105
Displaying Snapshot Information........................................................................................106
Managing the lvmpud Daemon..............................................................................................107
Managing boot disks of size greater than 2 TB ........................................................................107
Administration of boot disks of size greater than 2 TB ..........................................................108
Compatibility of boot disks of size greater than 2 TB............................................................108
Software Requirements.....................................................................................................108
Hardware Requirements....................................................................................................109
Hardware Issues...................................................................................................................109
Integrating Cloned LUNs...................................................................................................109
4 Troubleshooting LVM...............................................................................110
Troubleshooting Overview......................................................................................................110
Contents 5