Skip to main content
NetApp Knowledge Base

CIFS clients cannot access the snapshot directory in ONTAP 9

Views:
6,421
Visibility:
Public
Votes:
10
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • Microsoft Windows

Issue

  • CIFS clients cannot access the ~snapshot directory

  • Snapdir-access not configured at volume level:

::> volume show -vserver vservner-name -volume volume -name -fields vserver, volume, snapdir-access, snapshot-policy, snapshot-count

Example:

::> volume show -vserver vs1 -volume vol_nas -fields vserver,volume,snapdir-access,snapshot-policy,snapshot-count
vserver volume  snapdir-access snapshot-policy snapshot-count
------- ------- -------------- --------------- --------------
Vserver  vol_nas false           default         10

  • showsnapshot not configured on share level:

::> cifs share properties show -vserver vserver -share-name share-name -share-properties showsnapshot

Example: 

::> cifs share properties show -vserver vs1-share-name nas -share-properties showsnapshot
         Vserver: vs1
           Share: nas
Share Properties: oplocks
                  browsable
                  changenotify
                  show-previous-versions


Note: showsnapshot is not listed under Share Properties

  • ~snapshot directory is not being accessed from a valid entry point:

  • At the root of the share

  • At every junction point in the share space

Note: The hidden ~snapshot directory is NOT accessible from non-junction subdirectories within the share.

Example:

::> volume show -vserver vserver -fields volume,junction-path
 
::> volume show -vserver vs1 -fields volume,junction-path
vserver volume       junction-path
------- ------------ ----------------------------------------
vs1     vs1_root      /
vs1     vs1_vol1      /eng
vs1     vs1_vol2      /eng/projects1
vs1     vs1_vol3      /eng/projects2

  • The client OS has show hidden files enabled

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.