Sun Cluster 3.0 12/01 Hardware Guide

How to Remove a Logical Volume

Use this procedure to remove a StorEdge T3/T3+ array logical volume. This procedure assumes all cluster nodes are booted and attached to the array that hosts the logical volume you are removing.

This procedure defines "Node A" as the node you begin working with, and "Node B" as the other node.


Caution - Caution -

This procedure removes all data from the logical volume you are removing.


  1. If necessary, migrate all data and volumes off the logical volume you are removing.

  2. Are you running VERITAS Volume Manager?

    • If not, go to Step 3.

    • If you are running VERITAS Volume Manager, update its list of devices on all cluster nodes attached to the logical volume you are removing.

    See your VERITAS Volume Manager documentation for information about using the vxdisk rm command to remove devices (volumes) in your VERITAS Volume Manager device list.

  3. Run the appropriate Solstice DiskSuiteTM or VERITAS Volume Manager commands to remove the reference to the logical unit number (LUN) from any diskset or disk group.

    For more information, see your Solstice DiskSuite or VERITAS Volume Manager documentation.

  4. Telnet to the array that is the master controller unit of your partner-group.

    The master controller unit is the array that has the interconnect cables attached to the right-hand connectors of its interconnect cards (when viewed from the rear of the arrays). For example, Figure 9-1 shows the master controller unit of the partner-group as the lower array. Note in this diagram that the interconnect cables are connected to the right-hand connectors of both interconnect cards on the master controller unit.

  5. Remove the logical volume.

    For the procedure on removing a logical volume, see the Sun StorEdge T3 and T3+ Array Administrator's Guide.

  6. Use the scstat command to identify the resource groups and device groups running on all nodes.

    Record this information because you will use it in Step 15 of this procedure to return resource groups and device groups to these nodes.


    # scstat
    
  7. Move all resource groups and device groups off of Node A:


    # scswitch -S -h nodename
    
  8. Shut down Node A:


    # shutdown -y -g0 -i0
    
  9. Boot Node A into cluster mode:


    {0} ok boot
    

    For more information, see the Sun Cluster 3.0 12/01 System Administration Guide.

  10. On Node A, remove the obsolete device IDs (DIDs):


    # devfsadm -C
    # scdidadm -C
    
  11. Move all resource groups and device groups off Node B:


    # scswitch -S -h nodename
    
  12. Shut down Node B:


    # shutdown -y -g0 -i0
    
  13. Boot Node B into cluster mode:


    {0} ok boot
    
  14. On Node B, remove the obsolete DIDs:


    # devfsadm -C
    # scdidadm -C
    
  15. Return the resource groups and device groups you identified in Step 6 to Node A and Node B:


    # scswitch -z -g resource-group -h nodename
    # scswitch -z -D device-group-name -h nodename
    

    For more information, see the Sun Cluster 3.0 12/01 System Administration Guide.

Where to Go From Here

To create a logical volume, see "How to Create a Logical Volume".