Use this procedure to remove one or more LUNs. See the Sun StorEdge 3000 Family RAID Firmware 3.25 and 3.27 User's Guide for the latest information about LUN administration.
This procedure assumes that all nodes are booted in cluster mode and attached to the storage device.
When you delete a LUN, you remove all data on the LUN that you delete.
Identify the LUN or LUNs that you will remove.
Refer to your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation for the appropriate commands. For example:
# luxadm probe # scdidadm -L pathname
Is the LUN that you will remove a quorum device?
# scstat -q
If no, proceed to Step 3.
If yes, choose and configure another device as the quorum device. Then remove the old quorum device.
For procedures about how to add and remove quorum devices, see Chapter 5, Administering Quorum, in Sun Cluster System Administration Guide for Solaris OS.
Remove the LUN from disksets or disk groups.
Run the appropriate Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager commands to remove the LUN from any diskset or disk group. For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation for more information. See the following note for additional VERITAS Volume Manager commands that are required.
LUNs that were managed by VERITAS Volume Manager must be completely removed from VERITAS Volume Manager control before you can delete them from the Sun Cluster environment. After you delete the LUN from any disk group, use the following commands on both nodes to remove the LUN from VERITAS Volume Manager control.
# vxdisk offline cNtXdY # vxdisk rm cNtXdY
Unmap the LUN from both host channels.
For the procedure on unmapping a LUN, see the Sun StorEdge 3000 Family RAID Firmware 3.25 and 3.27 User's Guide.
(Optional) Delete the logical drive.
For more information, see Sun StorEdge 3000 Family RAID Firmware 3.25 and 3.27 User's Guide.
On both nodes, remove the paths to the LUN that you are deleting.
# devfsadm -C
On both nodes, remove all obsolete device IDs.
# scdidadm -C