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

65
# diskinfo /dev/rdisk/disk46
SCSI describe of /dev/rdisk/disk46:
size: 419430400 Kbytes
# diskinfo /dev/rdisk/disk47
SCSI describe of /dev/rdisk/disk47:
size: 419430400 Kbytes
4. Run online vgmodify in review mode to verify that the maximum VG size can be increased
from 8 TB to 128 TB if reprovisioning (-S) is performed in combination with DLE (-E).
# vgmodify -r -a -E -S 128t vg1
Physical volume "/dev/disk/disk46" requires reconfiguration to be
provisioned to the requested maximum volume group size 134217728
MB.
Current number of extents: 38396
Number of extents after reconfiguration: 51166
The physical volume "/dev/disk/disk46" can be reconfigured to the
new maximum volume group size 268435456 MB without removing free
extents from the end of the physical volume.
The physical volume "/dev/disk/disk46" 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/disk46" was not changed.
Physical volume "/dev/disk/disk47" requires reconfiguration to be
provisioned to the requested maximum volume group size 134217728
MB.
Current number of extents: 38396
Number of extents after reconfiguration: 51166
The physical volume "/dev/disk/disk47" can be reconfigured to the
new maximum volume group size 268435456 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.
5. Run online vgmodify in change mode to perform the reprovisioning in combination with
DLE.
# vgmodify -a -E -S 128t vg1
Reconfiguration of physical volume "/dev/disk/disk46" for the
requested maximum volume group size 134217728 MB succeeded.
Previous number of extents: 38396
Number of extents after reconfiguration: 51166
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 134217728 MB succeeded.
Previous number of extents: 38396
Number of extents after reconfiguration: 51166
Physical volume "/dev/disk/disk47" was changed.
The maximum volume group size for "/dev/vg1" has been