我有一个nfs4服务器,与fsid = 0导出
no_subtree_check,no_all_squash,no_root_squash
我有各种各样的客户端正常工作,debian和arch的混合,用nfs4和uid和gids,userids和groups安装,正确报告文件。
但是,一个gentoo框会正确映射ID。 两边都存在用户标识,即使是用户标识也是一样的,而域在/etc/idmapd.conf中正确设置并正在运行。
所有文件都以4294967294:4294967294用户/组的forms呈现,尽pipe具有与客户端相匹配的用户标识和uid,组和gid。
如果我在前台运行idmapd,具有更多的冗长,我发现它正在获得正确的域名:
sudo rpc.idmapd -vvvvvvvv -f rpc.idmapd: libnfsidmap: using domain: hum rpc.idmapd: libnfsidmap: loaded plugin libnfsidmap_nsswitch.so for method nsswitch rpc.idmapd: Expiration time is 600 seconds. rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel rpc.idmapd: New client: 16 rpc.idmapd: New client: 17 [warn] event_del: event has no event_base set. rpc.idmapd: Stale client: 17 rpc.idmapd: -> closed /var/lib/nfs/rpc_pipefs//nfs/clnt17/idmap [warn] event_del: event has no event_base set. rpc.idmapd: Stale client: 16 rpc.idmapd: -> closed /var/lib/nfs/rpc_pipefs//nfs/clnt16/idmap rpc.idmapd: New client: 18 rpc.idmapd: New client: 19 rpc.idmapd: New client: 1a
所有似乎工作正常。 内核启用了正确的设置:
CONFIG_FSNOTIFY=y CONFIG_DNOTIFY=y CONFIG_INOTIFY_USER=y CONFIG_FANOTIFY=y CONFIG_NFS_FS=m CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set CONFIG_NFS_V4=y CONFIG_NFS_V4_1=y CONFIG_PNFS_FILE_LAYOUT=m # CONFIG_NFS_USE_LEGACY_DNS is not set CONFIG_NFS_USE_KERNEL_DNS=y CONFIG_NFS_USE_NEW_IDMAPPER=y CONFIG_NFSD=m CONFIG_NFSD_DEPRECATED=y CONFIG_NFSD_V3=y # CONFIG_NFSD_V3_ACL is not set CONFIG_NFSD_V4=y CONFIG_NFS_COMMON=y
gentoo客户端运行2.6.39 x86,服务器运行2.6.32 x64
任何想法还有什么可能会丢失?