Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Add a New Volume to an Existing Device Group (Veritas Volume Manager)

When you add a new volume to an existing VxVM device group, perform the procedure from the primary node of the online device group.

Note –

After adding the volume, you need to register the configuration change by using the procedure How to Register Disk Group Configuration Changes (Veritas Volume Manager).

The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.

This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.

  1. Become superuser or assume a role that provides and solaris.cluster.administer RBAC authorization on any node of the cluster.

  2. Determine the primary node for the device group to which you are adding the new volume.

    # cldevicegroup status
  3. If the device group is offline, bring the device group online.

    # cldevicegroup switch -n nodename devicegroup

    Specifies the name of the node to which to switch the device group. This node becomes the new primary.


    Specifies the device group to switch.

  4. From the primary node (the node currently mastering the device group), create the VxVM volume in the disk group.

    Refer to your Veritas Volume Manager documentation for the procedure used to create the VxVM volume.

  5. Synchronize the VxVM disk group changes to update the global namespace.

    # cldevicegroup sync

    How to Register Disk Group Configuration Changes (Veritas Volume Manager).