跳转到主内容

根卷的导出策略拒绝读取权限时无法挂载 NFSv4 导出

Views:
299
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nas
Last Updated:

适用于

  • ONTAP 9
  • NFS
  • Linux
  • VMware
  • Windows

问题描述

  • Permission denied/access denied 在客户端上挂载卷时看到的错误:

[root@client1 ~]# mount 10.1.2.3:/vol1 /mnt -v

mount.nfs: timeout set for Fri Mar 12 01:11:48 2021
mount.nfs: trying text-based options 'vers=4.1,addr=10.1.2.3,clientaddr=10.3.4.5'
mount.nfs: mount(2): Operation not permitted
mount.nfs: trying text-based options 'addr=10.1.2.3'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.1.2.3 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.1.2.3 prog 100005 vers 3 prot UDP port 635
mount.nfs: mount(2): Permission denied
mount.nfs: Operation not permitted    

[root@client1 ~]# mount 10.1.2.3:/vol1 /mnt
mount.nfs: access denied by server while mounting 10.1.2.3:/vol1

  • 适用于 Windows 的 NFS 客户端显示以下错误:

System error 53 has occurred. The network path was not found

  • VMware 错误日志:

2025-07-19T22:41:27.047Z cpu24:2102285 opID=7d15c6b6)WARNING: NFS41: NFS41FSGetRootFH:4401: Failed to get the pseudo root for volume NACL_NFS41_SSD_HVTmp: Permission denied
2025-07-19T22:41:27.047Z cpu24:2102285 opID=7d15c6b6)WARNING: NFS41: NFS41FSCompleteMount:3942: NFS41FSGetRootFH failed: Permission denied
2025-07-19T22:41:27.047Z cpu24:2102285 opID=7d15c6b6)WARNING: NFS41: NFS41FSDoMount:4584: First attempt to mount the filesystem failed: Permission denied
2025-07-19T22:41:27.047Z cpu24:2102285 opID=7d15c6b6)WARNING: NFS41: NFS41_FSMount:4888: NFS41FSDoMount failed: Permission denied
2025-07-19T22:41:27.047Z cpu24:2102285 opID=7d15c6b6)WARNING: NFS41: NFS41_VSIMountSet:413: NFS41_FSMount failed: Permission denied
2025-07-19T23:04:51.047Z cpu3:2106842 opID=5eb79a50)WARNING: NFS41: NFS41FSGetRootFH:4401: Failed to get the pseudo root for volume NACL_NFS41_SSD_HVTEST: Permission denied
2025-07-19T23:04:51.047Z cpu3:2106842 opID=5eb79a50)WARNING: NFS41: NFS41FSCompleteMount:3942: NFS41FSGetRootFH failed: Permission denied
2025-07-19T23:04:51.047Z cpu3:2106842 opID=5eb79a50)WARNING: NFS41: NFS41FSDoMount:4584: First attempt to mount the filesystem failed: Permission denied
2025-07-19T23:04:51.047Z cpu3:2106842 opID=5eb79a50)WARNING: NFS41: NFS41_FSMount:4888: NFS41FSDoMount failed: Permission denied
2025-07-19T23:04:51.047Z cpu3:2106842 opID=5eb79a50)WARNING: NFS41: NFS41_VSIMountSet:413: NFS41_FSMount failed: Permission denied

  • 命令 check-access 显示哪个导出策略规则拒绝对 SVM 的根卷(svm1_root)进行读取访问:
::> vserver export-policy check-access -vserver svm1 -volume vol1 -client-ip 10.3.4.5 -authentication-method sys -protocol nfs3 -access-type read-write Policy Policy Rule Path Policy Owner Owner Type Index Access ----------------------------- ---------- --------- ---------- ------ ---------- / default svm1_root volume 0 denied ​​

 

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.