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

57
Reconfiguration to expand physical volume "/dev/disk/disk48"
succeeded.
Previous number of extents: 12790
Number of extents after reconfiguration: 25590
Physical volume "/dev/disk/disk48" was changed.
Volume Group configuration for /dev/vg1 has been saved in
/etc/lvmconf/vg1.conf
6. Verify that the PVs were reconfigured and that there are now free extents available with the
vgdisplay –v command:
# vgdisplay –v vg1
--- Volume groups ---
VG Name /dev/vg1
PE Size (Mbytes) 8
Total PE 76770
Alloc PE 38370
Free PE 38400
VG Version 2.1
VG Max Size 32t
VG Max Extents 4194304
--- Logical volumes ---
LV Name /dev/vg1/lvol1
LV Status available/syncd
LV Size (Mbytes) 102320
Current LE 12790
Allocated PE 38370
Used PV 3
--- Physical volumes ---
PV Name /dev/disk/disk46
PV Status available
Total PE 25590
Free PE 12800
PV Name /dev/disk/disk47
PV Status available
Total PE 25590
Free PE 12800
PV Name /dev/disk/disk48
PV Status available
Total PE 25590
Free PE 12800
7. Expand the logical volume using the free extents shown in the output of the previous step:
# lvextend –l 25590 /dev/vg1/lvol1
Logical volume "/dev/vg1/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg1 has been saved in
/etc/lvmconf/vg1.conf
8. Run vgdisplay –v to verify the LV expansion.
# vgdisplay –v vg1
--- Volume groups ---
VG Name /dev/vg1
PE Size (Mbytes) 8
Total PE 76770