Skip to main content
NetApp Knowledge Base

When will nobody show as owner of NFS mounts?

Views:
3,467
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP
  • NFSv4
  • NFS Mounts

Answer

Nobody is seen in the one of the following three scenarios:

  • The client does not know who the user is
    • getent passwd <uid> and getent group <gid> on a client can be used in conjunction with file-directory show from ONTAP to see if there is a mismatch
      • If getent doesn't show a user or group, then the client has no idea who the user/group is and will say "nobody".
      • In NFSv3, the client could instead display the uid/gid, but for NFSv4 ONTAP will not send a uid/gid if it can obtain a name.
      • If the client and ONTAP disagree on the user it will show 'nobody'
        • Example: Client reports uid 1111 maps to 'user' but ONTAP has local mapping for 1111 to 'adminuser'
          ​​
  • The ID Domain does not match - if the ID Domain does not match, the client will not attempt to look up the user/group.
  • The file/directory is legitimately owned by 'nobody'
    • common nobody uid/gids are 99, 65534, and 65535
    • This can be the result of files written by users squashed to the anonymous user via export policy, e.g. if the security type is null on the mount or in the case of root squashing

 

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.