HP-UX LVM Supported Limits (September 2008)

Calculating an Optimal Size for a Version 2.0 and 2.1 Volume Group
Like Version 1.0 VGs, there is a relationship between extent size and maximum VG size. There is also a
limitation on the number of extents an individual VG can contain. To determine the proper size, the
vgcreate command has a new –E option. This option displays the maximum VG size based on the given
physical extent size or minimum physical extent size based on the max VG size.
Example
After you know the VG size you want to provision for, use vgcreate with the –E option to determine the
minimum extent size required to achieve it.
What is the minimum extent size to provision a 2.0 VG for 1 PB?
# vgcreate -V 2.0 -E -S 1p
Max_VG_size=1p:extent_size=32m
What is the maximum 2.0 volume group size with an extent size of 16MB?
# vgcreate -V 2.0 -E -s 16
Max_VG_size=512t:extent_size=16m
What is the minimum extent size to provision a 2.1 VG for 2 PB?
# vgcreate -V 2.1 -E -S 2p
Max_VG_size=2p:extent_size=64m
What is the maximum 2.1 volume group size with an extent size of 32MB?
# vgcreate -V 2.1 -E -s 32
Max_VG_size=1p:extent_size=32m
7