Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pvmove(1M) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pvdisplay(1M)

pvmove(1M)  —  Series 800 Only

NAME

pvmove − move allocated physical extents from one physical volume to one or more other physical volumes

SYNOPSIS

/etc/pvmove [-n lv_path] source_physical_vol_path [dest_physical_vol_path ... | dest-physical-vol-group-name...]

DESCRIPTION

pvmove moves allocated physical extents and the data they contain from source physical volume source_physical_vol_path 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 dest_physical_vol_path or indirectly via the dest-physical-vol-group-name parameter if physical volume groups have been defined under the volume group that contains the source physical volume. 

If the destination volume or volumes are not specified, all physical volumes in the volume group are available as destination volumes for the transfer.  However, LVM selects the proper physical volumes to be used in order to preserve the allocation policies of the logical volume involved.  All destination physical volumes must be within the same volume group.  The source_physical_vol_path must not appear in the dest_physical_vol_path parameter.  If the source physical volume is a member of the destination physical volume group, it is automatically excluded from being a destination physical volume. 

pvmove succeeds only if there is enough space on the dest_physical_vol_path or on the dest-physical-vol-group-name to hold all the extents of the source_physical_vol_path.

Options

pvmove recognizes the following options and accompanying parameters:

-n lv_path
Moves only physical extents allocated to the logical volume (specified by lv_path) that are located on the source physical volume (specified by source_physical_vol_path) to the specified destination physical volume.

EXTERNAL INFLUENCES

Environment Variables

LANG determines the language in which messages are displayed. 

If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. 

If any internationalization variable contains an invalid setting, pvmove behaves as if all internationalization variables are set to "C".  See environ(5).

EXAMPLES

Move physical extents from /dev/dsk/c1d0s2 to /dev/dsk/c2d0s2 and /dev/dsk/c3d0s2:

pvmove /dev/dsk/c1d0s2 /dev/dsk/c2d0s2 /dev/dsk/c3d0s2

If /dev/dsk/c2d0s2 and /dev/dsk/c3d0s2 belong to PVG0, the same result can be achieved using the following command:

pvmove /dev/dsk/c1d0s2 PVG0

Move only the physical extents in logical volume /dev/vg01/lvol2 that are on /dev/dsk/c1d0s2 to /dev/dsk/c2d0s2:

pvmove -n /dev/vg01/lvol2 /dev/dsk/c1d0s2 /dev/dsk/c2d0s2

SEE ALSO

pvdisplay(1M). 

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026