LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC) (September 2009)
61
Allocated PE 51196
Used PV 2
--- Physical volumes ---
PV Name /dev/disk/disk46
PV Status available
Total PE 38398
Free PE 12800
...
PV Name /dev/disk/disk47
PV Status available
Total PE 25602
Free PE 4
To use the extra space on /dev/disk/disk47, you must increase the maximum VG size from
500 GB to a larger value, as described in the following example.
Online reprovisioning examples
Online reprovisioning when the volume group has reached its maximum VG size limit
In the previous example, only four new extents were added to /dev/disk/disk47 when the LUN was
expanded from 200 GB to 300 GB because the volume group was already at 63996 extents, and
the maximum number of extents is 64000 (500GB maximum VG size/8MB extent size). To add more
extents to /dev/disk/disk47, you must increase the maximum VG size. In this case, you want to
increase the maximum VG size to 8 TB.
1. Verify the free extents at the end of /dev/disk/disk46.
# pvdisplay –v /dev/disk/disk46
--- Physical volumes ---
PV Name /dev/disk/disk46
VG Name /dev/vg1
...
PE Size (Mbytes) 8
Total PE 38398
Free PE 12800
Allocated PE 25598
...
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg1/lvol1 25598 25598
--- Physical extents ---
PE Status LV LE
00000 current /dev/vg1/lvol1 00000
00001 current /dev/vg1/lvol1 00001
00002 current /dev/vg1/lvol1 00002
00003 current /dev/vg1/lvol1 00003
00004 current /dev/vg1/lvol1 00004
*Entries deleted for brevity
25593 current /dev/vg1/lvol1 25593
25594 current /dev/vg1/lvol1 25594
25595 current /dev/vg1/lvol1 25595
25596 current /dev/vg1/lvol1 25596
25597 current /dev/vg1/lvol1 25597
25598 free 00000
25599 free 00000
25600 free 00000
*Entries deleted for brevity
38393 free 00000
38394 free 00000
38395 free 00000