Moves allocated physical partitions from one physical volume to one or more other physical volumes.
- To use this command, you must either have
rootuser authority or be a member of the system group.
- The migratepv command is not allowed on a snapshot volume group or a volume group that has a snapshot volume group.
- Running this command on a physical volume that has an active,
firmware-assisted, dump logical volume temporarily changes the location
of the dump device to /dev/sysdumpnull. After you have successfully
migrated the logical volume, this command calls the following command
to set the firmware-assisted, dump logical volume to the original
The allocation of the new physical partitions follows the policies defined for the logical volumes that contain the physical partitions being moved.
When you migrate a physical volume, the boot logical volume must remain intact. Two contiguous physical partitions and the new boot image must be built on the new boot logical volume.
You can use the System Management Interface Tool (SMIT) smit migratepv fast path to run this command.
|-i||Reads the DestinationPhysicalVolume parameter from standard input.|
|-l LogicalVolume||Moves only the physical partitions allocated to the specified logical volume and located on the specified source physical volume.|
- To move physical partitions from hdisk1 to hdisk6 and hdisk7,
Physical partitions are moved from one physical volume to two others within the same volume group.
migratepv hdisk1 hdisk6 hdisk7
- To move physical partitions in logical volume lv02 from hdisk1 to hdisk6,
enter: migratepv -l lv02 hdisk1 hdisk6Only those physical partitions contained in lv02 are moved from one physical volume to another.
|/usr/sbin||Directory where the migratepv command resides.|
|/tmp||Directory where the temporary files are stored while the command is running.|