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

67
Physical volume "/dev/disk/disk46" was not changed.
Physical volume "/dev/disk/disk47" requires reconfiguration to be
provisioned to the requested maximum volume group size 268435456
MB.
Current number of extents: 51166
Number of extents after reconfiguration: 51133
The physical volume "/dev/disk/disk47" can be reconfigured to the
new maximum volume group size 135712104 MB without removing free
extents from the end of the physical volume.
The physical volume "/dev/disk/disk47" can be reconfigured to the
new maximum volume group size 268435456 MB by removing free
extents from the end of the physical volume.
Physical volume "/dev/disk/disk47" was not changed.
Current number of extents: 38396
Number of extents after reconfiguration: 51166
In this case, 33 free extents will be removed from the ends of both physical volumes to
accommodate the maximum VG size increase.
2. Run online vgmodify in change mode to reconfigure the PVs for the maximum VG size
increase from 128 TB to 256 TB.
# vgmodify -a -S 256t vg1
Reconfiguration of physical volume "/dev/disk/disk46" for the
requested maximum volume group size 268435456 MB succeeded.
Previous number of extents: 51166
Number of extents after reconfiguration: 51133
Physical volume "/dev/disk/disk46" was changed.
Volume Group configuration for /dev/vg1 has been saved in
/etc/lvmconf/vg1.conf
Reconfiguration of physical volume "/dev/disk/disk47" for the
requested maximum volume group size 268435456 MB succeeded.
Previous number of extents: 51166
Number of extents after reconfiguration: 51133
Physical volume "/dev/disk/disk47" was changed.
The maximum volume group size for "/dev/vg1" has been
increased from 134217728 MB to 268435456 MB.
Volume Group configuration for /dev/vg1 has been saved in
/etc/lvmconf/vg1.conf
3. Verify the maximum VG size increase.
# vgdisplay –v vg1
--- Volume groups ---
VG Name /dev/vg1
...
PE Size (Mbytes) 8
Total PE 102266
Alloc PE 76792
Free PE 25474
...
VG Version 2.1
VG Max Size 256t
VG Max Extents 33554432
--- Logical volumes ---
LV Name /dev/vg1/lvol1