pvmove(8) — Maintenance
OSF — Environment_Note_Added
NAME
pvmove − Moves allocated physical extents from one physical volume to one or more other physical volumes
SYNOPSIS
pvmove [-n LogicalVolumeName] SourcePhysicalVolumePath [DestinationPhysicalVolumePath ...]
FLAGS
-n LogicalVolumeName
Moves only the physical extents allocated to the logical volume (specified with the LogicalVolumeName parameter) and located on the source physical volume (specified with the SourcePhysicalVolumePath parameter) to the specified destination physical volume.
DESCRIPTION
The pvmove command moves allocated physical extents and the data they contain from the source physical volume, SourcePhysicalVolumePath, to one or more other physical volumes. To limit the transfer to specific physical volumes, specify the names of one or more physical volumes with the DestinationPhysicalVolumePath parameter. If you do not specify the destination volume(s), all of the physical volumes in the volume group are available as destination volumes for the transfer. All physical volumes must be within the same volume group. You must not include the SourcePhysicalVolumePath in the list of DestinationPhysicalVolumePath parameters.
The pvmove command will succeed only if there is enough space on the DestinationPhysicalVolumePath to hold all the extents of the SourcePhysicalVolumePath.
EXAMPLES
1.To move physical extents from hdisk1 to hdisk6 and hdisk7, enter:
pvmove /dev/hdisk1 /dev/hdisk6 /dev/hdisk7
The program moves the physical extents from one physical volume to two others within the same volume group.
2.To move physical extents in logical volume lv02 from hdisk1 to hdisk6, enter:
pvmove -n /dev/vg01/lv02 /dev/hdisk1 /dev/hdisk6
Only those physical extents contained in lv02 are moved from one physical volume to another.
FILES
/usr/sbin/pvmove
Specifies the command path
ENVIRONMENT NOTES
This section describes system features that are not generic to OSF/1 but that are provided in this OSF/1 implementation.
ULTRIX Compatibility
1.To move physical extents from rz1c to rz6c and rz7c, enter:
pvmove /dev/rz1c /dev/rz6c /dev/rz7c
The program moves the physical extents from one physical volume to two others within the same volume group.
2.To move physical extents in logical volume lv02 from rz1c to rz6c, enter:
pvmove -n /dev/vg01/lv02 /dev/rz1c /dev/rz6c
Only those physical extents contained in lv02 are moved from one physical volume to another.
RELATED INFORMATION
Commands: pvchange(8), pvcreate(8), pvdisplay(8)