Replaces a physical volume in a volume group with another physical volume.
replphyvol [-force ] {SourcePhysicalVolume | SourcePhysicalVolumeID} {DestinationPhysicalVolume | DestinationPhysicalVolumeID}
replphyvol [-recover dir_name ] [ DestinationPhysicalVolumeName ]
The allocation of the new physical partitions follows the policies defined for the logical volumes that contain the physical partitions being replaced.
Flag name | Description |
---|---|
DestinationPhysicalVolume | Specifies the destination physical volume name. |
DestinationPhysicalVolumeID | Specifies the destination physical volume ID. |
-force | Runs the command without prompting the user to continue. |
-recover dir_name | Recovers replphyvol if it is interrupted by ctrl -c, a system crash, or a loss of quorum. When you use the -recover flag, you must specify the directory name given during the initial run of the replphyvol command. This flag is also used to change the destination physical volume name. |
SourcePhysicalVolume | Specifies the source physical volume name. |
SourcePhysicalVolumeID | Specifies the source physical volume ID. |
replphyvol -force hdisk0 hdisk4