LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC) (September 2009)
41
PE Size (Mbytes) 4
VGRA Size (Kbytes) 4064
Review complete. Volume group not modified
4. Run vgmodify in change mode.
For offline mode, deactivate the volume before performing the actual operation and run
vgmodify without –a option..
# vgchange -a n vg02 # For offline mode only
Volume group "vg01" has been successfully changed.
# vgmodify -n -p 23 -e 21756 vg02 # Offline mode
or
# vgmodify –a -n -p 23 -e 21756 vg02 # Online mode
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 5119
PE Size (Mbytes) 4
VGRA Size (Kbytes) 736
The current and new Volume Group parameters differ.
An update to the Volume Group IS required
New Volume Group settings:
Max LV 255
Max PV 23
Max PE per PV 21756
PE Size (Mbytes) 4
VGRA Size (Kbytes) 4064
New Volume Group configuration for "vg02" has been saved in
"/etc/lvmconf/vg02.conf"
Old Volume Group configuration for "vg02" has been saved in
"/etc/lvmconf/vg02.conf.old"
Starting the modification by writing to all Physical Volumes
Applying the configuration to all Physical Volumes from
"/etc/lvmconf/vg02.conf"
Completed the modification process.
New Volume Group configuration for "vg02" has been saved in
"/etc/lvmconf/vg02.conf.old"
Volume group "vg02" has been successfully changed.
For offline mode, activate the volume group.
# vgchange –a y vg02
Activated volume group
Volume group "vg02" has been successfully changed.
6. Verify the values are as requested.
# vgdisplay vg02
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 23