This procedure assumes that your cluster is operating.
When you remove the device directories, the data on those directories is not available to the cluster. Ensure that other device directories or shared storage in the cluster can continue to serve the data when these directories have been removed.
This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix A, Sun Cluster Object-Oriented Commands, in Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS.
To perform this procedure, become superuser or assume a role that provides solaris.cluster.read and solaris.cluster.modify RBAC authorization.
If you are using hard mounts rather than the automounter, unmount the NAS directories:
From any cluster node, remove the directories.
For more information about the clnasdevice command, see theclnasdevice(1CL) man page.
If you are using Sun Cluster 3.2, use the following command:
# clnasdevice remove-dir -d /export/dir1 myfiler |
Enter the directory or directories that you are removing.
Enter the name of the NAS device containing the directories.
For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
If you are using Sun Cluster 3.1, use the following command:
# scnasdir -r -h myfiler -d /vol/DB1 -d /vol/DB2 |
Remove the directory or directories from cluster configuration.
Enter the name of the NAS device whose directories you are removing.
Enter the directory to remove. Use this option once for each directory you are removing.
To remove all of this device's directories, specify all for the -d option:
# scnasdir -r -h myfiler -d all |
Confirm that the directories have been removed.
To remove the device, see How to Remove a Network Appliance NAS Device From a Cluster.