跳转到主内容

由于名称映射失败、使用root用户对NTFS卷进行NFS挂载不起作用

Views:
67
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>NTFS</a><a>NFS挂载</a><a>挂载挂起</a>
Last Updated:

适用场景

  • ONTAP 9
  • NTFS安全模式卷
  • NFSv3和NFSv4.x

问题描述

  • permission denied使用root用户:

mount.nfs: timeout set for Mon May  6 13:21:35 2024
mount.nfs: trying text-based options 'proto=tcp,soft,timeo=300,retrans=2,actimeo=1,vers=4,addr=10.x.x.12,clientaddr=10.x.x.11'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 10.x.x.12:/dir1/dir2

  • 导出策略规则为客户端授予对卷的读写访问权限:
cluster1::> vserver export-policy check-access -vserver vs1 -client-ip 10.22.32.42 -volume vol4 -authentication-method sys -protocol nfs3 -access-type read-write Policy Policy Rule Path Policy Owner Owner Type Index Access ----------------------------- ---------- --------- ---------- ------ ---------- / default vs1_root volume 1 read /dir1 default vs1_root volume 1 read /dir1/dir2 default vs1_root volume 1 read /dir1/dir2/flex1 data vol4 volume 10 read-write 4 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.