HP-UX 11i v3 LVM New Features in HP-UX 11i v3 (September 2009)
7
value of “Max PV”
figuration data), it
ify command to check
atively, you can relocate
the “Max PV” value without
mmand.
aximum physical volume setting in the volume group to a value greater than 16
st
Current Volume Group set
LV 255
PV 16
Max PE per PV 2559
VGRA Size (Kbytes) 400
only be completed if PE number zero on
freed
st data extent. Use the
pvmove command to
s follows:
up
0d5:0
me "/dev/vgtest/lvol1"...
uccessfully moved.
n for /dev/vgtest has been saved in
ccessfully changed.
PE V 2559
) 4
400
r.
New Volume Group settings:
Max LV 255
Max PV 64
Max PE per PV 2559
PE Size (Mbytes) 4
VGRA Size (Kbytes) 1488
New Volume Group configuration for "vgtest" has been saved in
"/etc/lvmconf/vgtest.conf"
Old Volume Group configuration for "vgtest" has been saved in
"/etc/lvmconf/vgtest.conf.old"
The previous output shows that you can change the “Max PE per PV” value to 6652 with the
retained at 16. To increase the value of “Max PV” (with the current available space for LVM con
might be necessary to reduce the value of “Max PE per PV”. Use the
–t option of the vgmod
if the “Max PV” value can be increased by changing the value of “Max PE per PV”. Altern
the first data extent to create more space for LVM configuration data and increase
reducing the “Max PE per PV” value. To achieve this, use the
–n option of the vgmodify co
Any attempt to increase the m
results in a failure as follows:
# vgchange -a n /dev/vgte
Volume group "vgtest" has been successfully changed.
# vgmodify -n -p 64 /dev/vgtest
t
ings:
Max
Max
PE Size (Mbytes) 4
vgmodify: This operation can
"/dev/rdsk/c11t0d5" is
Note that the last output message indicates you must free the fir
relocate the first data extent a
# vgchange -a y /dev/vgtest
Activated volume gro
Volume group "/dev/vgtest" has been successfully changed.
# pvmove /dev/dsk/c11t
Transferring logical extents of logical volu
k/c11t0d5" has been sPhysical volume "/dev/ds
Volume Group configuratio
/etc/lvmconf/vgtest.conf
Use the
vgmodify command to increa ph volume setting. This time it succeeds: se the maximum ysical
# vgchange -a n /dev/vgtest
Volume group "vgtest" has been su
# vgmodify -n -p 64 /dev/vgtest
Current Volume Group settings:
Max LV 255
Max PV 16
Max r Ppe
PE Size byte (M s
VGRA Size (Kbytes)
The current and new Volume Group parameters diffe
An update to the Volume Group IS required