Skip to main content
NetApp Knowledge Base

Unable to mount the qtrees as export-policy does not match Client IP

Views:
87
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9 and later
  • NFS
  • CVO

Issue

  • Unable to mount Qtrees using NFS and getting access denied error:

root@ubuntu:~# mount -a -o nfsvers=3 10.216.41.1xx:/test_asa/test_asa_qtree /test1
mount.nfs: access denied by server while mounting 10.216.41.1xx:/test_asa/test_asa_qtree

  • Export policy assigned to the Qtree, its parent, or the root volume does not provide access to client
  • Export-policy check access fails with access as "denied"

cdot_vsim6::> export-policy check-access -vserver shruti -volume test_asa -client-ip 10.216.41.xx -authentication-method sys -protocol nfs3 -access-type read-write  -qtree test_asa_qtree
                                         Policy    Policy       Rule
Path                          Policy     Owner     Owner Type  Index Access
----------------------------- ---------- --------- ---------- ------ ----------
/                             test1      shru_svm_root
                                                   volume          1 read
/test_asa                     default    test_asa  volume          5 read
/test_asa/test_asa_qtree      qtree_policy
                                         test_asa_qtree
                                                   qtree           0 denied
3 entries were displayed.

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.