pvmove.1m (2010 09)

p
pvmove(1M) pvmove(1M)
Also, automatic re-balance is disallowed if the physical volume(s) have pre-allocated extents associated
with them, for snapshots in group volume version 2.2 or higher.
See lvm(7) for more information on snapshot volumes.
Options and Arguments
pvmove recognizes the following options and arguments:
dest_pv_path Specifies the block device path name of a physical volume. It cannot be the
source physical volume. It must be in the same volume group as
source_pv_path.
dest_pvg_name Specifies the name of a physical volume group. It must be in the same volume
group as source_pv_path.
For volume group version 2.0 and higher, a physical volume group can be pro-
vided along with the
-a option, only when one or more logical volumes is
specified. Also, the physical volume group must be in the same volume group
where the logical volume resides.
de The starting location of the destination physical extents within a destination
physical volume. If this starting location is provided along with the
dest_pv_path , then the source physical extents are re-allocated to the destina-
tion physical volume starting from this location.
The
pvmove command fails with an error if the requested number of extents
for relocation on the destination physical volume are not available contigu-
ously starting from this location.
lv_path Specifies the block device path name of a logical volume.
pv_path Specifies the block device path name of a physical volume.
se1[-se2] The source physical extent range. If the extent range is provided along with
source_pv_path, then the extents from se1 to se2 are moved out of the source
physical volume. A single extent can also be provided, specified by only se1
instead of the extent range.
source_pv_path The block device path name of a physical volume.
vg_name Specifies the path name of a volume group.
-a Performs the requested pvmove operation in automatic re-balance mode.
-a vg_name Performs an automatic re-balance of allocated extents within a volume group.
-a lv_path [pv_path...]
Performs an automatic re-balance of allocated extents within a volume group
for the specified logical volumes. If pv_path is also specified along with
-a
lv_path, then the automatic re-balance for the logical volume is performed
only across the specified physical volumes.
-A autobackup Set automatic backup for this invocation of this command. autobackup can
have one of the following values:
y Automatically back up configuration changes made to the physical
volume. This is the default.
After this command executes, the
vgcfgbackup command (see
vgcfgbackup (1M)) is executed for the volume group to which the physical
volume belongs.
n Do not back up configuration changes this time.
-e no_of_extents Moves the last few extents specified by no_of_extents from the source physical
volume.
This option should not be used in conjunction with the
-n option or when
source physical extent range is provided, specified by se1[-se2}.
This option cannot be used when
-a option is specified.
-f pv_path Moves the allocated physical extents from the specified physical volumes to the
remaining physical volumes in the volume group such that the remaining
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3