Sun Cluster 3.0 U1 System Administration Guide

3.3.12 How to Remove a Volume From a Disk Device Group (VERITAS Volume Manager)


Note -

After removing the volume from the disk device group, you must register the configuration changes to the disk device group using the procedure "3.3.11 How to Register Disk Group Configuration Changes (VERITAS Volume Manager)".


  1. Become superuser on any node of the cluster.

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


    # scstat -D
    

  3. If the disk device group is offline, bring it online.


    # scswitch -z -D disk-device-group -h nodelist
    

    -z

    Performs the switch.

    -D disk-device-group

    Specifies the device group to switch.

    -h nodelist

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

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


    # vxedit -g diskgroup -rf rm volume
    

    -g diskgroup

    Specifies the VxVM disk group containing the volume.

    -rf rm volume

    Removes the specified volume.

  5. Register the disk device group configuration changes to update the global namespace, using scsetup.

    See "3.3.11 How to Register Disk Group Configuration Changes (VERITAS Volume Manager)".