Adding disks to a disk group

When a disk group is first created, it can contain only a single disk. You may need to add more disks to the disk group. Before adding disks, review the following:

Usage notes

  • When you place a disk under VxVM control, the disk is initialized. Initialization destroys any existing data on the disk.

  • Disks must be under VxVM control and in a disk group before they can be used to create volumes.

  • Disks must be online before they can be added to a disk group.

  • Disks that already belong to a disk group cannot be added to another disk group.

To add disks to a disk group

The following is an example of adding disks to a disk group using the vxdg command:

To add disks named PRODdg02, PRODdg03, and PRODdg04 to the disk group PRODdg:

# /opt/VRTS/bin/vxdg -g PRODdg adddisk PRODdg02=sda
# /opt/VRTS/bin/vxdg -g PRODdg adddisk PRODdg03=sdb
# /opt/VRTS/bin/vxdg -g PRODdg adddisk PRODdg04=sdc