vgextend(8) — Maintenance
OSF — Environment_Note_Added
NAME
vgextend − Extend a volume group by adding physical volumes to it
SYNOPSIS
vgextend [-x Extensibility] [-v VGDA] VolumeGroupName PhysicalVolumePath ...
FLAGS
-x Extensibility
Sets the allocation permission for additional physical extents on the physical volume specified by the PhysicalVolumePath parameter. The Extensibility parameter is represented by one of the following:
yAllows the allocation of additional physical extents on the physical volume. (The default.)
nProhibits the allocation of additional physical extents on the physical volume. The logical volumes that reside on the physical volume can still be accessed.
-v VGDAThis option allows you to specify if a VGDA (Volume Group Descriptor Area) of the volume group must be stored on the physical volume. VGDA is represented by one of the following:
yAllows the creation of a VGDA on the physical volume. (The default.)
nProhibits the creation of a VGDA on the physical volume.
DESCRIPTION
The vgextend assigns physical volumes to the VolumeGroupName. The volume group must be active.
You extend the volume group by adding one or more physical volumes represented by the PhysicalVolumePath parameter(s).
After the physical volumes have been successfully added to the volume group, they can be used.
Before assigning a physical volume to a volume group, you must create the physical volume with the pvcreate command.
If, for any reason, one of the remaining specified physical volumes cannot be installed into the volume group, an error message is printed. However, the installation continues to the end of the list of physical volumes.
EXAMPLES
To add physical volumes hdisk03 and hdisk08 to volume group vg03, enter:
vgextend /dev/vg03 /dev/hdisk03 /dev/hdisk08
The physical volumes hdisk03 and hdisk08 now belong to volume group vg03.
FILES
/usr/sbin/vgextend
Specifies the command path
ENVIRONMENT NOTES
This section describes system features that are not generic to OSF/1 but that are provided in this OSF/1 implementation.
ULTRIX Compatibility
To add physical volumes rz3c and rz4c to volume group vg03, enter:
vgextend /dev/vg03 /dev/rz3c /dev/rz4c
The physical volumes rz3c and rz4c now belong to volume group vg03.
RELATED INFORMATION
Commands: pvchange(8), pvcreate(8), vgchange(8), vgcreate(8), vgdisplay(8)