跳转到主内容

无法挂载qtrees、因为导出策略与客户端IP不匹配

Views:
3
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009年582172</a>
Last Updated:

适用场景

  • ONTAP 9及更高版本
  • NFS
  • CVO

问题描述

  • 无法使用NFS挂载qtrees、并收到访问被拒绝错误:

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

  • 分配给qtree、其父卷或根卷的导出策略 不提供客户端访问权限
  • 导出策略检查访问失败、访问被拒绝

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.