Removing a storage array enables you to downsize or reallocate your existing storage pool.
This procedure relies on the following prerequisites and assumptions.
You plan to remove the references to the disk drives in the 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 Sun Cluster system administration documentation, and skip steps that instruct you to shut down the node.
Does the storage array that you want to remove contain a quorum device?
# scstat -q
If no, proceed to Step 2.
If yes, add a new quorum device that will not be impacted by this procedure. Remove the old quorum device.
For procedures about how to add and remove quorum devices, see the Sun Cluster system administration documentation.
If necessary, back up the metadevice or volume.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
On each node that is connected to the storage array, perform volume management administration to remove the storage array from the configuration.
If a volume manager does manage the disk drives, run the appropriate volume manager commands to remove the disk drives from any diskset or disk group. For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation. See the following paragraph for additional VERITAS Volume Manager commands that are required.
Disk drives that were managed by VERITAS Volume Manager must be completely removed from VERITAS Volume Manager control before you can remove the disk drives from the Sun Cluster environment. After you delete the disk drives from any disk group, use the following commands on both nodes to remove the disk drives from VERITAS Volume Manager control.
# vxdisk offline cNtXdY # vxdisk rm cNtXdY
Identify the disk drives that you plan to remove.
# cfgadm -al
On all nodes, remove references to the disk drives in the storage array that you plan to remove.
# cfgadm -c unconfigure cN::dsk/cNtXdY
Disconnect the SCSI cables from the storage array.
On all nodes, update device namespaces.
# devfsadm -C
On all nodes, remove all obsolete device IDs.
# scdidadm -C
Power off the storage array. Disconnect the storage array from the power source.
For the procedure about how to power off a storage array, see your storage documentation. For a list of storage documentation, see Related Documentation.
Remove the storage array.
For the procedure about how to remove a storage array, see your storage documentation. For a list of storage documentation, see Related Documentation.
If you plan to remove a host adapter that has an entry in the nvramrc script, delete the references to the host adapters in the nvramrc script.
If other parallel SCSI devices are connected to the nodes, you can delete the contents of the nvramrc script. Then, at the OpenBoot PROM, set setenv use-nvramrc? false. Afterward, reset the scsi-initiator-id to 7 as outlined in Installing a Storage Array.
If necessary, remove any unused host adapters from the nodes.
For the procedure about how to remove a host adapter, see your host adapter and server documentation.
From any node, verify that the configuration is correct.
# scdidadm -L