LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC) (September 2009)
46
VGRA Size (Kbytes) 896
Review complete. Volume group not modified
4. Make the change.
For offline mode, deactivate the volume group before performing the actual operation and
run vgmodify without the –a option.
# vgchange -a n vg02 # For offline mode only
Volume group "vg02" has been successfully changed.
# vgmodify -v -p 42 -e 2556 -B n vg02 /dev/rdsk/c0t0d0
# Offline mode
or
# vgmodify –a -v -p 42 -e 2556 -B n vg02 /dev/rdsk/c0t0d0
# Online mode
Volume Group configuration for /dev/vg02 has been saved in
/etc/lvmconf/vg02.conf
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 5119
PE Size (Mbytes) 4
VGRA Size (Kbytes) 736
/dev/rdsk/c0t0d0 Warning: Max_PE_per_PV for the volume group (2556)
too small for this PV (5119).
Using only 2556 PEs from this physical volume.
/dev/rdsk/c0t1d0 Warning: Max_PE_per_PV for the volume group (2556)
too small for this PV (5119).
Using only 2556 PEs from this physical volume.
/dev/rdsk/c0t3d0 Warning: Max_PE_per_PV for the volume group (2556)
too small for this PV (5119).
Using only 2556 PEs from this physical volume.
The current and new Volume Group parameters differ.
Physical Volume "/dev/rdsk/c0t0d0" the current and new settings
differ
Physical Volume "/dev/rdsk/c0t1d0" the current and new settings
differ
Physical Volume "/dev/rdsk/c0t3d0" the current and new settings
differ
An update to the Volume Group IS required
New Volume Group settings:
Max LV 255
Max PV 42
Max PE per PV 2556
PE Size (Mbytes) 4
VGRA Size (Kbytes) 896
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"
Volume Group configuration has been restored to /dev/rdsk/c0t0d0
Volume Group configuration has been restored to /dev/rdsk/c0t1d0
Volume Group configuration has been restored to /dev/rdsk/c0t3d0
Completed the modification process.
New Volume Group configuration for "vg02" has been saved in
"/etc/lvmconf/vg02.conf.old"