跳转到主内容

什么情况下 nobody 会显示为 NFS 挂载的所有者?

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

适用于

  • ONTAP
  • NFSv4
  • NFS 挂载

问题解答

在以下三种情况中,没有人出现:

  • 客户不知道用户是谁
    • getent passwd <uid> 和getent group <gid> 在客户端上可以与来自 ONTAP 的file-directory show结合使用,以查看是否存在不匹配
      • 如果getent 不显示用户或组,则客户端不知道用户/组是谁,并会显示"nobody"。
      • 在 NFSv3 中,客户端可以显示 uid/gid,但对于 NFSv4,如果 ONTAP 可以获取名称,则不会发送 uid/gid。
      • 如果客户端和 ONTAP 对用户存在分歧,将显示"nobody"
        • 示例:客户端报告 uid 1111 映射到"user",但 ONTAP 具有 1111 到"adminuser"的本地映射
  • ID 域不匹配 - 如果 ID 域不匹配,则客户端将不会尝试查找用户/组。
  • 此文件/目录由 'nobody' 合法拥有
    • common nobody uid/gids 为 99、65534 和 65535
    • 这可能是用户通过导出策略将文件压缩到匿名用户的结果,例如,如果安全类型在挂载时为 null 或在根压缩的情况下

 

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.