如果DNS名称解析为不正确的IP、则NFS挂载将失败并拒绝访问
适用场景
- ONTAP 9
- NFS
问题描述
- 在NFS客户端上挂载卷失败、并显示Access Denied错误。
[root@host ~]# mount storage1:/vol /local
mount.nfs: access denied by server while mounting storage1:/vol
- 根据导出策略check-access命令、客户端对卷具有读写权限。
::*> export-policy check-access -vserver svm1 -volume vol1 -client-ip 10.20.x.x -authentication-method sys -protocol nfs3 -access-type read-write
Path Policy Policy Owner Policy Owner Type Rule Index Access
----------- ---------- ------------- ------------- --------- --------
/ default svm1_root volume 1 read
/vol1 p_vol1 vol1 volume 1 read-write
2 entries were displayed.