Sun Cluster 3.0 U1 Hardware Guide

How to Remove a Sun StorEdge T3 Disk Tray Logical Volume

Use this procedure to remove a logical volume. This procedure assumes all cluster nodes are booted and attached to the StorEdge T3 disk tray 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 remaining node.


Caution - Caution -

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


  1. If necessary, migrate all data and volumes off the logical volume you are removing. Otherwise, proceed to Step 2.

  2. Is the logical volume you are removing a quorum device?


    # scstat -q
    
    • If yes, remove the quorum device before you proceed.

    • If no, proceed to Step 3.

    For the procedure on removing a quorum device, see the Sun Cluster 3.0 U1 System Administration Guide.

  3. If you are running VERITAS Volume Manager, update VERITAS Volume Manager's device tables on all cluster nodes that are attached to the logical volume you are removing. Otherwise, proceed to Step 4.

  4. Run the appropriate Solstice DiskSuite 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.

  5. Remove the logical volume.

    For the procedure on deleting a logical volume, see the Sun StorEdge T3 Disk Tray Administrator's Guide.

  6. Determine the resource groups and device groups that are running on Node A and Node B.

    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 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 U1 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
    

    For more information, see the Sun Cluster 3.0 U1 System Administration Guide.

  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 U1 System Administration Guide.

Where to Go From Here

To create a logical volume, see "How to Create a Sun StorEdge T3 Disk Tray Logical Volume".