vgcreate.1m (2010 09)

v
vgcreate(1M) vgcreate(1M)
Create a volume group version 2.0 of size comparable to a volume group version 1.0 created with
pe_size =64, max_pe =4096, and max_pv
=16 on an already initialized disk.
First calculate the appropriate vg_size parameter as follows: max_pe
x max_pv x pe_size =vg_size
(in megabytes)
4096 x 16 x 64 = 4194304m = 4t
. Now create the volume group version
2.0.
vgcreate -V 2.0 -s 64 -S 4t vg10 /dev/disk/disk04
Display the minimum extent size required to create a 512 terabyte volume group version 2.0.
vgcreate -V 2.0 -E -S 512t
Create a volume group version 2.2, named
/dev/vg01, with unshared unit of 4096 kilobytes, extent size
of 8 megabytes and maximum total size of 4 terabytes:
vgcreate -V 2.2 -S 4t -s 8 -U 4096 /dev/vg01 /dev/disk/disk20
SEE ALSO
getconf(1), model(1), idisk(1M), lvmadm(1M), pvcreate(1M), scsimgr(1M), vgchange(1M), vgdisplay(1M),
vgextend(1M), vgreduce(1M), environ(5), lang(5), intro(7), lvm(7).
HP-UX 11i Version 3: September 2010 5 Hewlett-Packard Company 5