pvmove.1m (2010 09)

p
pvmove(1M) pvmove(1M)
pvmove /dev/dsk/c1t0d0:5 /dev/dsk/c2t0d0
Display the summary report for the automatic re-balance operation within a volume group
/dev/vg03:
pvmove -p -s -a /dev/vg03
Perform an automatic re-balance of allocated extents within a volume group
/dev/vg03:
pvmove -a /dev/vg03
Perform an automatic re-balance of allocated extents within a volume group
/dev/vg03 for two logical
volumes say
/dev/vg03/lvol1
and /dev/vg03/lvol2
:
pvmove -a /dev/vg03/lvol1 /dev/vg03/lvol2
Perform an automatic re-balance of allocated extents for space across two physical volumes
/dev/disk/disk10
and /dev/disk/disk11
, for two logical volumes /dev/vg03/lvol1
and
/dev/vg03/lvol2
belonging to volume group /dev/vg03:
pvmove -a /dev/vg03/lvol1 /dev/vg03/lvol2 /dev/disk/disk10
/dev/disk/disk11
Relocate all the used extents from /dev/disk/disk10
to the remaining physical volumes of a volume
group
/dev/vg03 by keeping the remaining volume group space balanced:
pvmove -a -f /dev/disk/disk10
Perform an automatic re-balance of allocated extents within a volume group
/dev/vg03 for a logical
volumes say
/dev/vg03/lvol1
across two physical volume groups pvg1 and pvg2:
pvmove -a /dev/vg03/lvol1 pvg1 pvg2
Logical volume allocation policy will prevent Automatic Re-balancing when we try to perform an Re-
balance of allocated extents within a Volume Group /dev/vg03 which has two Physical Volumes say
/dev/disk/disk10, /dev/disk/disk11
and two Logical Volumes out of which
/dev/vg03/lvol1 is having a contiguous allocation policy placed on the
/dev/disk/disk10 and
other Logical Volume
/dev/vg03/lvol2
having one mirror copy with strict allocation policy placed on /dev/disk/disk10
and
/dev/disk/disk11:
pvmove -a /dev/vg03
The /dev/vg03 with insufcient contiguous free extents will prevent the Automatic Re-balancing when
we try to relocate all the used extents from /dev/disk/disk10
which includes the contiguous Logical
Volume to the remaining Physical Volumes of a Volume Group
/dev/vg03 which is not having sufficient
contiguous free space to accommodate all the extents of
/dev/disk/disk10:
pvmove -a -f /dev/disk/disk10
The /dev/vg03 with insufficient free extents will prevent the Automatic Re-balancing when we try to
perform an Re-balance of allocated extents for space across two Physical Volumes
/dev/disk/disk10
and /dev/disk/disk11, for two Logical Volumes in that one Logical volume /dev/vg03/lvol1
having contiguous allocation policy and other logical volume /dev/vg03/lvol2 having default alloca-
tion policy belonging to Volume Group /dev/vg03:
pvmove -a /dev/vg03/lvol1 /dev/vg03/lvol2 /dev/disk/disk10
/dev/disk/disk11
SEE ALSO
pvdisplay(1M), vgcfgbackup(1M), intro(7), lvm(7).
HP-UX 11i Version 3: September 2010 5 Hewlett-Packard Company 5