LVM Version 2.0 Volume Groups in HP-UX 11i v3 (September 2008)
Display of LVM Information
With the introduction of the new volume group version, the display commands display additional information. In
addition, because 2.x volume groups support increased sizes, some of the display information can contain larger
numbers than previous versions.
This section illustrates the difference for each display operation. As a general practice, when writing scripts to
gather volume manager information, use the –F option introduced in 11i v3 to reduce the impact of future volume
manager changes.
vgdisplay
In the March 2008 release of HP-UX 11iV3, the vgdisplay command displays three more lines than vgdisplay from
the HP-UX 11i v3 initial release. In addition, the displayed number of physical extents might be larger on 2.x
volume groups.
The new lines appear for both 1.0 and 2.x volume groups:
• The volume group version, as “VG version”.
• The maximum size of the volume group, as “VG Max Size”.
• The maximum number of physical extents the volume group can contain, as “VG Max Extents”. This value is
the ratio of volume group maximum size to extent size.
Example
}
VG Name /dev/vgtestl2
VG Write Access read/write
VG Status available
Max LV 511
Cur LV 1
Open LV 1
Max PV 511
Cur PV 70
Act PV 70
Max PE per PV 2097152
VGDA 140
PE Size (Mbytes) 8
Total PE 1123123
Alloc PE 40
Free PE 1123083
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 2.0
VG Max Size 16t
VG Max Extents 2097152
--- Volume groups ---
# vgdisplay vgtestl2
New lines startin
g
with the
March 2008 release
7