Sun Cluster 3.0-3.1 Hardware Administration Manual for Solaris OS

ProcedureHow to Remove an Internal Disk Mirror

  1. If necessary, prepare the node for removing the mirror.

    1. Determine the resource groups and device groups that are running on the node.

      Record this information because you use this information later in this procedure to return resource groups and device groups to the node.


      # scstat
      
    2. If necessary, move all resource groups and device groups off the node.


      # scswitch -S -h fromnode
      
  2. Remove the internal mirror.


    # raidctl -d clt0d0 
    
    -d clt0d0

    Deletes the mirror of primary disk to the mirror disk. Enter the name of your primary disk as the argument.

  3. Boot the node into single user mode.


    # reboot -- -S
    
  4. Clean up the device IDs.


    # scdidadm -R /dev/rdsk/clt0d0 
    # scdidadm -R /dev/rdsk/clt1d0
    
    -R /dev/rdsk/clt0d0
    -R /dev/rdsk/clt1d0

    Updates the cluster's record of the device IDs. Enter the names of your disks separated by spaces.

    Confirm that the mirror has been deleted and that both disks are visible.


    # scdidadm -l  
    

    The command lists both disks as visible to the cluster.

  5. Boot the node back into cluster mode.


    # reboot 
    
  6. If you are using Solstice DiskSuite or Solaris Volume Manager and if the state database replicas are on the primary disk, recreate the state database replicas.


    # metadb -c 3 -ag /dev/rdsk/clt0d0s4
    
  7. If you moved device groups off the node in Step 1, return the device groups to the original node.


    # scswitch -z -D devicegroup -h nodename
    
  8. If you moved resource groups off the node in Step 1, return the resource groups and device groups to the original node.


    # scswitch -z -g resourcegroup -h nodename