ONTAP 9 Manuals ( CA08871-402 )

Enable and disable NFS and SMB client access to Snapshot copy directory

To determine whether the Snapshot copy directory is visible to NFS and SMB clients to restore a file or LUN from a Snapshot copy, you can enable and disable access to the Snapshot copy directory using the -snapdir-access option of the volume modify command.

Steps
  1. Check the Snapshot directory access status:

    volume show -vserver SVM_name -volume vol_name -fields snapdir-access

    Example:

    clus1::> volume show -vserver vs0 -volume vol1 -fields snapdir-access
    vserver volume snapdir-access
    ------- ------ --------------
    vs0     vol1   false
  2. Enable or disable the Snapshot copy directory access:

    volume modify -vserver SVM_name -volume vol_name -snapdir-access true|false

    The following example enables Snapshot copy directory access on vol1:

    clus1::> volume modify -vserver vs0 -volume vol1 -snapdir-access true
    Volume modify successful on volume vol1 of Vserver vs0.
Top of Page