Sun Cluster 3.0 System Administration Guide

3.3.11 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.9 How to Register Disk Group Configuration Changes (VERITAS Volume Manager)".


  1. Become superuser on a node of the cluster.

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


    # scstat -D
    
  3. Determine if the disk device group is offline.

    • If no, proceed to Step 4.

    • If yes, bring the disk group online.


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

    Performs the switch.

    -D disk-device-group

    Specifies the device group to switch.

    -h node

    Specifies the name of the node to become 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.

3.3.11.1 Where to Go From Here

After removing a volume, you must register the configuration changes to the disk device group. To register the configuration changes, see "3.3.9 How to Register Disk Group Configuration Changes (VERITAS Volume Manager)".