跳转到主内容

NFS服务器拒绝了挂载请求

i
Knowledge Base guidance

This article may include metadata, visibility, validation state, and related support guidance.

适用场景

  • 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
  • "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    Rule
      Path              Policy   Owner   Owner Type  Index Access
      ----------------------------- ---------- --------- ---------- ------ ----------
      /               default   vsvm_root volume   0 denied
  • 进一步调查显示、Vserver VSVM 默认策略没有规则
    • ::> vserver export-policy rule show -vserver vsvm
      Policy    Rule     Access     Client         RO
      Vserver    Name     Index      Protocol    Match         Rule
      ------------ --------------- ------  -------- --------------------- ---------
      vsvm  Production_Oracle  1          nfs    0.0.0.0/0        any
      1 entry was displayed.