跳转到主内容

NFSv4.x挂载会将文件和组所有者显示为非所有者

Views:
193
Visibility:
Public
Votes:
2
Category:
ontap-9
Specialty:
NAS
Last Updated:

适用场景

  • ONTAP 9
  • NFSv4

问题描述

  • 从Linux客户端通过NFSv4挂载的文件的文件所有权显示为 root nobody
  • 尝试更改文件所有权失败。
  • 如果您在nobody 文件列表中看到用户和/或组、则通常意味着 NFSv4.x中的某些内容配置不当。
  • 例如、如果 user1@NTAP.LOCAL (UID 1234、GID 1234)正在访问导出、则ONTAP必须能够找到 user1@NTAP.LOCAL (UID 1234、GID 1234)。如果ONTAP中的用户为 USER1@NTAP.LOCAL,则不匹配。
  • 原因是、NFSv4客户端会发送符号 user/group 名称、而不是 userid/groupid 像在NFSv3中那样发送数字、集群需要一种 方法来将此符号名称映射到数字ID。
  • 如果 /etc/passwd 和中的信息与 /etc/group Linux主机之间的信息不匹配、则集群将使用 nobody:nobody 作为 user/group 文件所有权。

 

 

 

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.