HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
p
pvmove(1M) pvmove(1M)
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If LANG is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to
"C" (see environ(5)).
EXAMPLES
Move physical extents from
/dev/dsk/c1t0d0
to /dev/dsk/c2t0d0
and /dev/dsk/c3t0d0
:
pvmove /dev/dsk/c1t0d0 /dev/dsk/c2t0d0 /dev/dsk/c3t0d0
If physical volumes /dev/dsk/c2t0d0
and /dev/dsk/c3t0d0
are the only ones that belong to phy-
sical volume group
PVG0, the same result can be achieved with the following command:
pvmove /dev/dsk/c1t0d0 PVG0
Move only the physical extents for logical volume
/dev/vg01/lvol2 that are currently on
/dev/dsk/c1t0d0 to /dev/dsk/c2t0d0
:
pvmove -n /dev/vg01/lvol2 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
Relocate PE number 0 to any free extent with in the same physical volume.
pvmove /dev/dsk/c1t0d0:0 /dev/dsk/c1t0d0
Relocate PE number 0 from /dev/dsk/c1t0d0
to any free extent in the volume group.
pvmove /dev/dsk/c1t0d0:0
SEE ALSO
pvdisplay(1M), vgcfgbackup(1M).
190 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: December 2007 Update