LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC) (September 2009)
21
Volume Group configuration for /dev/vg04 has been saved in
/etc/lvmconf/vg04.conf
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1023
PE Size (Mbytes) 4
VGRA Size (Kbytes) 208
/dev/rdsk/c5t0d0 Warning: Max_PE_per_PV for the volume group (1023)
too small for this PV (1464).
Using only 1023 PEs from this physical volume.
/dev/rdsk/c6t0d0 Warning: Max_PE_per_PV for the volume group (1023)
too small for this PV (1220).
Using only 1023 PEs from this physical volume.
"/dev/rdsk/c5t0d0" size changed from 4194304 to 6000000kb
An update to the Volume Group IS required
New Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1023
PE Size (Mbytes) 4
VGRA Size (Kbytes) 208
Review complete. Volume group not modified
c5t0d0 increased in size since it was initialized with pvcreate. LVM knows the correct size
of c6t0d0 so it was not changed since it was initialized with pvcreate. Both disks are
unable to allocate all their space as the maximum number of PEs per PV setting is too low. A
setting of 1464 can accommodate the largest disk currently in the volume group (c5t0d0).
4. Use vgmodify in table mode and review suitable configurations.
# vgmodify -t -v vg04
Volume Group configuration for /dev/vg04 has been saved in
/etc/lvmconf/vg04.conf
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1023
PE Size (Mbytes) 4
VGRA Size (Kbytes) 208
VGRA space (Kbytes) on all Physical Volumes:
PV current -n
/dev/rdsk/c4t0d0 896 4096
/dev/rdsk/c5t0d0 896 4096
/dev/rdsk/c6t0d0 896 4096
Summary 896 4096
Volume Group optimized settings (no PEs renumbered):
max_pv(-p) max_pe(-e) Disk size (Mb)
3 35836 143345
4 26876 107505
* Entries deleted for brevity
20 5372 21489
21 5116 20465
* Entries deleted for brevity
60 1788 7153
70 1532 6129