If necessary, prepare the node for removing the mirror.
Remove the internal mirror.
# raidctl -d clt0d0 |
Deletes the mirror of primary disk to the mirror disk. Enter the name of your primary disk as the argument.
Boot the node into single user mode.
# reboot -- -S |
Clean up the device IDs.
If you are using Sun Cluster 3.2, use the following command:
# cldevice repair /dev/rdsk/clt0d0 /dev/rdsk/clt1d0 |
Updates the cluster's record of the device IDs. Enter the names of your disks separated by spaces.
If you are using Sun Cluster 3.1, use the following command:
# scdidadm -R /dev/rdsk/clt0d0 # scdidadm -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.
If you are using Sun Cluster 3.2, use the following command:
# cldevice list |
If you are using Sun Cluster 3.1, use the following command:
# scdidadm -l |
The command lists both disks as visible to the cluster.
Boot the node back into cluster mode.
# reboot |
If you are using 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 |
If you moved device groups off the node in Step 1, restore the device groups to the original node.
If you are using Sun Cluster 3.2, use the following command:
# cldevicegroup switch -n nodename devicegroup1 devicegroup2 … |
The node to which you are restoring device groups.
The device group or groups that you are restoring to the node.
If you are using Sun Cluster 3.1, use the following command:
# scswitch -z -D devicegroup -h nodename |
If you moved resource groups off the node in Step 1, restore the resource groups and device groups to the original node.
If you are using Sun Cluster 3.2, use the following command:
Perform the following step for each resource group you want to return to the original node.
# clresourcegroup switch -n nodename resourcegroup[ resourcegroup2 …] |
For failover resource groups, the node to which the groups are restored. For scalable resource groups, the node list to which the groups are restored.
The resource group or groups that you are restoring to the node or nodes.
If you are using Sun Cluster 3.1, use the following command:
# scswitch -z -g resourcegroup -h nodename |