Skip to main content
NetApp Knowledge Base

NFS client access denied when mounting because RO Access Rule is set to never

Views:
8,882
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • Cloud Volumes ONTAP
  • NFS

Issue

  • NFS client gets access denied mounting a volume or qtree:
mount.nfs: access denied by server while mounting vserver1:/volume1/qtree1
mount.nfs: access denied by server while mounting vserver1:/volume1
  • Qtree export policy rule denies the client read access:

::*> export-policy check-access -vserver svm1 -volume vol1 -client-ip 192.168.11.11 -authentication-method sys -qtree qt1 -protocol nfs3 -access-type read-write
Policy    Policy       Rule
Path                          Policy     Owner     Owner Type  Index Access
----------------------------- ---------- --------- ---------- ------ ----------
/                             default    svm1_root volume          1 read
/vol4ntfs                     p_svm1     vol1      volume          1 read
/vol4ntfs/qt01vol4            p_qt       qt1       qtree           1 denied
3 entries were displayed.

  • RO Access Rule is set to never:
::> export-policy rule show -vserver svm1 -policyname p_qt -clientmatch 192.168.11.222 -instance
Vserver: svm1
Policy Name: p_qt
Rule Index: 102
Access Protocol: nfs3
List of Client Match Hostnames, IP Addresses, Netgroups, or Domains: 192.168.11.11
RO Access Rule: never
RW Access Rule: none
User ID To Which Anonymous Users Are Mapped: 65534
Superuser Security Types: none
Honor SetUID Bits in SETATTR: true
Allow Creation of Devices: true
NTFS Unix Security Options: fail
Vserver NTFS Unix Security Options: use_export_policy
Change Ownership Mode: restricted
Vserver Change Ownership Mode: use_export_policy
Policy ID: 17179869187

 

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.