NFS服务器拒绝了挂载请求
适用场景
- ONTAP 9
- NFS
问题描述
- 无法将NFS卷挂载到ESXi主机或Unix、获取权限被拒绝错误:
- UNIX:
[root@xxxx ~]# mount /temp/wes_test/mount.nfs: access denied by server while mountingxx.xx.xx:/test - ESXi:
Operation failed, diagnostics report: Mount failed: Unable to complete Sysinfo operation. Please see the VMkernel log file for more details.: The NFS server denied the mount request
- UNIX:
- "check-access"命令输出显示对Vserver VSVM上具有"default"导出策略的根卷的访问被拒绝:
::> check-access -vserver vsvm -volume PROD_NFS -client-ip 10.1.2.3 -authentication-method sys -protocol nfs3 -access-type read-write(vserver export-policy check-access)Policy Policy RulePath Policy Owner Owner Type Index Access----------------------------- ---------- --------- ---------- ------ ----------/ default vsvm_root volume 0 denied
- 进一步调查显示、Vserver VSVM 默认策略没有规则
::> vserver export-policy rule show -vserver vsvmPolicy Rule Access Client ROVserver Name Index Protocol Match Rule------------ --------------- ------ -------- --------------------- ---------vsvm Production_Oracle 1 nfs 0.0.0.0/0 any1 entry was displayed.