Sun Cluster 3.1 With Network-Attached Storage Devices Manual for Solaris OS

ProcedureHow to Remove Network Appliance NAS Directories From a Cluster

Before You Begin

This procedure assumes that your cluster is operational.


Note –

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.


  1. If you are using hard mounts rather than the automounter, unmount the NAS directories:

    1. On each node in the cluster, unmount the directories you are removing.


      # umount /mount-point
      
    2. On each node in the cluster, remove the entries in the /etc/vfstab file for the directories you are removing.

  2. From any cluster node, remove the directories by using the scnasdir command.


    # scnasdir -r -h myfiler -d /vol/DB1 -d /vol/DB2 
    
    -r

    Remove the directory or directories from cluster configuration.

    -h

    Is the name of the NAS device whose directories you are removing.

    -d

    Is 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 
    

    For more information about the scnasdir command, see the scnasdir(1M) man page.

  3. Confirm that the directories have been removed.


    # scnasdir -p
    
See Also

To remove the device, see How to Remove a Network Appliance NAS Device From a Cluster.