跳转到主内容

NFSv4挂载对象的所有者错误地列为"nobody"

Views:
27
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009-141730</a>
Last Updated:

适用场景

  • ONTAP 9
  • NFSv4

问题描述

  • 运行NFSv4.x客户端命令ls -l (或ll)时、用户和组错误地显示为"nobody"、如下所示:

[root@NFS_SVM> mount_point]# ls -l test1
-rw-r--r--. 1 nobodyuser1 0 Oct 18 12:34 test1

  • 而使用NFSv3进行挂载则会显示正确的用户
  • 已确认"/etc/idmapd.conf文件中的客户端域与SVM上的"v4-id-domain"匹配:
    • 已确认已从ONTAP配置v4-id-domain (高级级别命令):

      Cluster::*> vserver nfs show -fields v4-id-domain
      vserver v4-id-domain
      ------- --------------
      VS1   DOMAIN.LOCAL
      1 entries were displayed

    • 通过查看/etc/idmapd.conf中的值来确认客户端的域Domain=<domain name>

[user@localhost ~]# cat /etc/idmapd.conf
..
Domain=DOMAIN.LOCAL

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.