LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC) (September 2009)

43
VGRA Size (Kbytes) 736
New configuration requires max_pes are increased from 5119 to 6652
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 16
Max PE per PV 6652
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"
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 after the actual operation.
# vgchange -a y vg02 # Offline mode only
Activated volume group
Volume group "vg02" has been successfully changed.
3. Verify the volume group.
# 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 16
Cur PV 3
Act PV 3
Max PE per PV 6652
VGDA 6
PE Size (Mbytes) 4
Total PE 15357
Alloc PE 3000
Free PE 12357
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 425728m
VG Max Extents 106432
The Max PE per PV is changed from 5119 to 6652.
Changing a bootable disk to non-bootable
To change a bootable disk to a non-bootable disk, follow these steps:
1. Run the following vgmodify commands: