无法挂载qtrees、因为导出策略与客户端IP不匹配
适用场景
- 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.