Removing a disk drive can allow you to downsize or reallocate your existing storage pool. You might want to perform this procedure in the following scenarios.
You no longer need to make data accessible to a particular node.
You want to migrate a portion of your storage to another storage array.
For conceptual information about quorum, quorum devices, global devices, and device IDs, see the Sun Cluster concepts documentation.
This procedure relies on the following prerequisites and assumptions.
You do not need to remove the entire storage array.
If you need to remove the storage array, see How to Remove a Storage Array.
You do not need to replace the storage array's chassis.
If you need to replace your storage array's chassis, see How to Replace the Chassis.
Your nodes are not configured with dynamic reconfiguration functionality.
If your nodes are configured for dynamic reconfiguration, see the Sun Cluster system administration documentation, and skip steps that instruct you to shut down the node.
Identify the disk drive that you are removing. Also identify the slot that the disk drive needs to be removed from.
If the disk error message reports the drive problem by device ID, use the scdidadm -l command to determine the Solaris device name. To list all configurable hardware information, use the cfgadm -al command.
# scdidadm -l deviceID # cfgadm -al |
Determine if the disk you want to remove is a quorum device.
# scstat -q |
If possible, back up the metadevice or volume.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
Perform volume management administration to remove the disk drive from the configuration.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
On all nodes, unconfigure the disk drive. Remove references to the disk drive from the operating system and clustering environment.
# cfgadm -c unconfigure cN::dsk/cNtXdY |
Remove the disk drive.
For the procedure about how to remove a disk drive, see your storage documentation. For a list of storage documentation, see Related Documentation.
On both nodes, delete the paths to the disk drive that you plan to remove.
# devfsadm -C |
On both nodes, remove all obsolete device IDs.
# scdidadm -C |