HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
p
pvmove(1M) pvmove(1M)
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
SEE ALSO
pvdisplay(1M), vgcfgbackup(1M).
HP-UX 11i Version 2: August 2003 − 2 − Hewlett-Packard Company Section 1M−−633