Content-type: text/html
/usr/sbin/vgcreate [-x Extensibility] [-e MaxPhysicalExtents] [-l MaxLogicalVolumes] [-p MaxPhysicalVolumes]
[-s PhysicalExtentSize] [-v VGDA] VolumeGroupName PhysicalVolumePath ...
This command is no longer supported on Digital UNIX systems. Features formerly provided by the Logical Volume Manager (LVM) are now provided by the Logical Storage Manager (LSM). Existing LVM volumes must be migrated to LSM, using an encapsulation process. For information about moving LVM volumes to LSM, see the vollvmencap(8) reference page and the manual Logical Storage Manager. The vgcreate command creates a new volume group. VolumeGroupName is a symbolic name for the volume group and must be used by all references to it. VolumeGroupName is the path to a directory-entry under /dev which must contain a character special file named group. Except for the group entry, the directory VolumeGroupName should not contain any other entries.
The vgcreate command leaves the volume group in an active state.
Before assigning a physical volume to a volume group, the physical volume has to be created with the pvcreate command.
If vgcreate fails to install the first specified physical volume into the volume group, the volume group is not created. If, for any reason, one of the remaining specified physical volumes cannot be installed into the volume group, an error message is printed, but the installation continues to the end of the list of physical volumes.
This section contains Digital device-specific examples. To create a volume group named /dev/my_vg that contains three physical volumes, with extent size set to 2 megabytes, enter: vgcreate -s 2 /dev/my_vg /dev/rz3c /dev/rz5c /dev/rz6c If the directory /dev/my_vg exists with the character special file group, the volume group will be created. To create a volume group named /dev/user_vg that can contain a maximum of three logical volumes, with extent size set to 8 megabytes, enter: vgcreate -l 3 -s 8 /dev/user_vg /dev/rz3c A new volume group, /dev/user_vg is created with extent size equal to 8 megabytes.
Commands: pvcreate(8), vgchange(8), vgdisplay(8), vgextend(8), vgreduce(8) delim off