跳转到主内容

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

Views:
258
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 名称、而不是像在NFSv3中那样发送数字userid/groupid 、集群需要一种 方法来将此符号名称映射到数字ID。
  • 如果集群和Linux主机之间的/etc/passwd/etc/group 信息中的信息不匹配、则集群将使用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.