[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

nfs / idmap mount problem



Hi! 

I've got a problem mounting NFS shares: after mounting the nfs
directory (share) it is empty, and is owned by a rather strange UID
4294967294 (on the server, also on other clients). Mounting the same
share on another box works quite well (dir is filled and owned by the
correct uid).

I suspect that is has something to do with idmap or nss/ldap however
i've no idea how to debug this further as I do not get any error or
warning messages in the console or syslog
I already increased the  verbosity to 5 idmap.conf. This however does
not point out anything useful to me - you can see it in the following
excerpt of my syslog. 

Setting the Domain = ... in idmap does not help, also explicitly
enabling NEED_IDMAPD=yes in /etc/default/nfs-common. The server is
running Debian 7.x the client v. 8.x 

Do you have suggestions how to solve this problem or at least how to
debug it further? 

Cheers Sigmund
-- 
root@vmlin0:/media# ls -lah 
total 16K
drwxr-xr-x  4 root       root       4.0K Jul 22 20:50 .
drwxr-xr-x 22 root       root       4.0K Jul 22 21:06 ..
lrwxrwxrwx  1 root       root          6 Oct 25  2013 cdrom -> cdrom0
drwxr-xr-x  2 root       root       4.0K Oct 25  2013 cdrom0
drwxr-xr-x  2 4294967294 4294967294 4.0K Apr  9  2013 house_dir

root@vmlin0:/media# mount | grep house
nfs://house_dir on /media/house_dir type nfs4
(rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.6,local_lock=none,addr=192.168.0.2)
root@vmlin0:/media# umount /media/house_dir root@vmlin0:/media# echo $?
0
root@vmlin0:/media# mount /media/house_dir
root@vmlin0:/media# ls -lah 
total 16K
drwxr-xr-x  4 root       root       4.0K Jul 22 20:50 .
drwxr-xr-x 22 root       root       4.0K Jul 22 21:06 ..
lrwxrwxrwx  1 root       root          6 Oct 25  2013 cdrom -> cdrom0
drwxr-xr-x  2 root       root       4.0K Oct 25  2013 cdrom0
drwxr-xr-x  2 4294967294 4294967294 4.0K Apr  9  2013 house_dir


### Syslog ###
Aug 12 11:39:55 vmlin0 rpc.idmapd[1599]: New client: 9
Aug 12 11:39:55 vmlin0 rpc.idmapd[1599]: Stale client: 9
Aug 12 11:39:55 vmlin0 rpc.idmapd[1599]: #011->
closed /run/rpc_pipefs/nfs/clnt9/idmap


Reply to: