Migrating the contents of a physical volume
To move the physical partitions belonging to one or more specified logical volumes from one physical volume to one or more other physical volumes in a volume group, use the following instructions. You can also use this procedure to move data from a failing disk before replacing or repairing the failing disk. This procedure can be used on physical volumes in either the root volume group or a user-defined volume group.
Attention: When the boot logical volume
is migrated from a physical volume, the boot record on the source
must be cleared or it could cause a system hang. When you execute
the bosboot command, you must also execute the chpv
-c command described in step 4 of the following procedure.
At this point, the data now resides on the new (destination)
disk. The original (source) disk, however, remains in the volume group.
If the disk is still reliable, you could continue to use it as a hot
spare disk. Especially when a disk is failing, it is advisable to
do the following steps:
- To remove the source disk from the volume group, type:
reducevg VGNname SourceDiskName
- To physically remove the source disk from the system, type:
rmdev -l SourceDiskName -d