Enable and disable NFS and SMB client access to snapshot directory
-
PDF of this doc site
-
Cluster administration
-
Volume administration
-
Logical storage management with the CLI
-
-
NAS storage management
-
Configure NFS with the CLI
-
Manage NFS with the CLI
-
Manage SMB with the CLI
-
Manage file access using SMB
-
-
-
Security and data encryption
-
Data protection and disaster recovery
-

Collection of separate PDF docs
Creating your file...
You can enable and disable access to the snapshot directory using the ONTAP CLI -snapdir-access
option of the volume modify
command, and beginning with ONTAP 9.10.1, you can use System Manager to enable or disable client systems to access to a snapshot directory on a volume. Enabling access makes the snapshot directory visible to clients and allows Windows clients to map a drive to the snapshot directory to view and access its contents. NFS and SMB clients can then restore a file or LUN from a snapshot.
You can enable or disable access to a volume’s snapshot directory by editing the volume settings or by editing the volume’s share settings.
Enable or disable client access to snapshot directory by editing a volume
You can enable and disable client snapshot directory access by using ONTAP System Manager or the ONTAP CLI. The snapshot directory on a volume is accessible to clients by default.
-
Click Storage > Volumes.
-
Select the volume containing the snapshots directory you want to either show or hide.
-
Click
and select Edit.
-
In the Snapshot Copies (Local) Settings section, select or deselect Show the Snapshot copies directory to clients.
-
Click Save.
-
Check the snapshot directory access status:
volume show -vserver <SVM_name> -volume <vol_name> -fields snapdir-access
CliExample:
clus1::> volume show -vserver vs0 -volume vol1 -fields snapdir-access vserver volume snapdir-access ------- ------ -------------- vs0 vol1 false
-
Enable or disable the snapshot directory access:
volume modify -vserver <SVM_name> -volume <vol_name> -snapdir-access <true|false>
CliThe following example enables snapshot directory access on vol1:
clus1::> volume modify -vserver vs0 -volume vol1 -snapdir-access true Volume modify successful on volume vol1 of Vserver vs0.
Learn more about
volume show
andvolume modify
in the ONTAP command reference.
Enable or disable client access to snapshot directory by editing a share
The snapshot directory on a volume is accessible to clients by default.
-
Click Storage > Shares.
-
Select the volume containing the snapshots directory you want to either show or hide.
-
Click
and select Edit.
-
In the Share Properties section, select or deselect Allow clients to access snapshots directory.
-
Click Save.