跳转到主内容

何时不会有人显示为NFS挂载的所有者?

Views:
12
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

  • ONTAP
  • NFSv4
  • NFS 挂载

问题解答

以下三种情形中,无人出现:

  • 客户端不知道用户是谁
    • getent passwd <uid> 和getent group <gid>在客户端上可以与file-directory show从 ONTAP 查看是否存在不匹配
      • 如果getent 如果未显示用户或组,则客户端不知道该用户/组是谁,并会显示“nobody”。
      • 在 NFSv3 中,客户端可以显示 uid/gid,但对于 NFSv4,如果 ONTAP 可以获取名称,则不会发送 uid/gid。
        可将其用在一个新的系统中
  • ID 域不匹配 -如果 ID 域不匹配,客户端将不会尝试查找用户/组。
  • 该文件/目录的合法所有者是“nobody”
    • 常见的 nobody uid/gids 为 99、65534 和 65535
    • 这可能是由于用户通过导出策略将文件压缩到匿名用户导致的,例如,如果在安装时安全类型为空或在 root 压缩的情况下

追加信息

其他信息文本

 

 

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.