LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC) (September 2009)
55
Online DLE examples
Online DLE where all additional disk space can be allocated
This example assumes a volume group with three 100 GB disks on which one logical volume with
three mirrors has used up all of the extents. You need to double the size of the logical volume to make
room for more data. Therefore, you plan to double the size of each of the three LUNs from 100 GB to
200 GB.
1. Review current volume group and LUN attributes.
# vgdisplay –v vg1
--- Volume groups ---
VG Name /dev/vg1
…
PE Size (Mbytes) 8
Total PE 38370
Alloc PE 38370
Free PE 0
…
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 12790
Free PE 0
…
PV Name /dev/disk/disk47
PV Status available
Total PE 12790
Free PE 0
…
PV Name /dev/disk/disk48
PV Status available
Total PE 12790
Free PE 0
…
# diskinfo /dev/rdisk/disk46
SCSI describe of /dev/rdisk/disk46:
…
size: 104857600 Kbytes
…
# diskinfo /dev/rdisk/disk47
SCSI describe of /dev/rdisk/disk47:
…
size: 104857600 Kbytes
…
# diskinfo /dev/rdisk/disk48