Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Remove a Volume From a Device Group (Veritas Volume Manager)

Note –

After removing the volume from the device group, you must register the configuration changes to the device group 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.modify RBAC authorization on any node of the cluster.

  2. Determine the primary node and status for the device group.

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

    # cldevicegroup online devicegroup
  4. From the primary node (the node currently mastering the device group), remove the VxVM volume in the disk group.

    # vxedit -g diskgroup -rf rm volume
    -g diskgroup

    Specifies the VxVM disk group that contains the volume.

    -rf rm volume

    Removes the specified volume. The -r option makes the operation recursive. The -f option is required to remove an enabled volume.

  5. Using the clsetup utility, register the device group configuration changes to update the global namespace.

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