VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)

Chapter 4, Creating and Administering Disk Groups
Adding a Disk to a Disk Group
111
Note VxVM commands create all volumes in the default disk group, rootdg, if no
alternative disk group is specified using the -g option (see “Specifying a Disk
Group to Commands” on page 108). All commands default to the rootdg disk
group unless the disk group can be deduced from other information such as a disk
name.
A disk group must have at least one disk associated with it. A new disk group can be
created when you use menu item 1 (Add or initialize one or more disks) of
the vxdiskadm command to add disks to VxVM control, as described in “Adding a Disk
to VxVM” on page 65. Disks to be added to a disk group must not already belong to an
existing disk group.
You can also use the vxdiskadd command to create a new disk group, for example:
# vxdiskadd c1t1d0
where c1t1d0 is the device name of a disk that is not currently assigned to a disk group.
Disk groups can also be created by using the command vxdg init:
# vxdg init diskgroup diskname=devicename
For example, to create a disk group named mktdg on device c1t0d0:
# vxdg init mktdg mktdg01=c1t0d0
The disk specified by the device name, c1t0d0, must have been previously initialized
with vxdiskadd or vxdiskadm, and must not currently belong to a disk group.
Adding a Disk to a Disk Group
To add a disk to an existing disk group, use menu item 1 (Add or initialize one
or more disks) of the vxdiskadm command, as described in “Adding a Disk to
VxVM” on page 65.
You can also use the vxdiskadd command to add a disk to a disk group, for example:
# vxdiskadd c1t2d0
where c1t2d0 is the device name of a disk that is not currently assigned to a disk group.