Skip to main content

Enable and disable NFS and SMB client access to snapshot directory

Contributors netapp-aaron-holt netapp-lenida netapp-aherbin

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

Steps

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.

  1. Click Storage > Volumes.

  2. Select the volume containing the snapshots directory you want to either show or hide.

  3. Click Menu options icon and select Edit.

  4. In the Snapshot Copies (Local) Settings section, select or deselect Show the Snapshot copies directory to clients.

  5. Click Save.

Enable or disable client access to snapshot directory by editing a share

The snapshot directory on a volume is accessible to clients by default.

Steps
  1. Click Storage > Shares.

  2. Select the volume containing the snapshots directory you want to either show or hide.

  3. Click Menu options icon and select Edit.

  4. In the Share Properties section, select or deselect Allow clients to access snapshots directory.

  5. Click Save.