LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC) (September 2009)
47
Volume group "vg02" has been successfully changed.
For offline mode, activate the volume group.
# vgchange -a y vg02
Activated volume group
Volume group "vg02" has been successfully changed.
5. Verify the changes.
# vgdisplay vg02
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 42
Cur PV 3
Act PV 3
Max PE per PV 2556
VGDA 6
PE Size (Mbytes) 4
Total PE 7668
Alloc PE 0
Free PE 7668
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 429408m
VG Max Extents 107352
# vgcfgrestore -l -n vg02
Volume Group Configuration information in "/etc/lvmconf/vg02.conf"
VG Name /dev/vg02
---- Physical volumes : 2 ----
/dev/rdsk/c0t0d0 (Non-bootable)
/dev/rdsk/c0t1d0 (Non-bootable)
/dev/rdsk/c0t3d0 (Non-bootable)
The physical volume /dev/rdsk/c0t0d0 is changed from bootable to
non-bootable.
LVM vgmodify Messages for Version 1.0 volume groups
• Developing a new set of PVIDs. This will take approximately 10 seconds
When vgmodify makes any changes to the volume group, a new physical volume identifier
(PVID) is created for each physical volume. This can take one second per physical volume in
the volume group. A new PVID ensures that a partial restoration from a configuration backup
file created before this modification does not lead to a mixed configuration.
• "/dev/rdsk/c2t3d0” size changed from 768000 to 8700000kb
vgmodify detected that the size of c2t3d0 has changed. When the physical volume was
created (see pvcreate(1M)), it was 768,000 kb it is now 8,700,000 kb. This detail is
reported when using the –v argument.