Mounting NFSv4 export - getting 'All uids will be mapped to the nobody uid.'
Hi guys,
I'm having problems getting a RH 5.8 linux host mounting a NFSv4 export to work right. The filesystem is getting mounted, but it is just setting all the UIDs to 'nobody', complaining that rpc.idmapd is not running, but it is running.
[root@rhel58 /]# mount -v -t nfs4 10.64.25.42:/kevfs /tmpmnt
Warning: rpc.idmapd appears not to be running.
All uids will be mapped to the nobody uid.
mount: pinging: prog 100003 vers 4 prot tcp port 2049
[root@rhel58 /]#
It is running though:
root 3896 1 0 Oct02 ? 00:00:00 rpc.idmapd
I have the NFSv4 domain set in the /etc/idmapd.conf file, and hostname is resolving both name & ip, have the NFSv4 domain set on the server too. NFSv4 domain matches the DNS domain.
Filesystem is mounting, and as promised, all ownership is 'nobody:nobody':
[root@rhel58 tmpmnt]# ls -al
total 8520
drwxr-xr-x 8 nobody nobody 1024 May 10 19:12 .
drwxr-xr-x 25 root root 4096 Oct 2 14:37 ..
drwxr-xr-x 2 nobody nobody 1024 Jan 7 2013 dir1
drwxr-xr-x 2 nobody nobody 1024 Oct 2 14:16 dir2
drwxr-xr-x 2 nobody nobody 80 Jan 7 2013 dir3
dr-xr-xr-x 2 nobody nobody 1024 Oct 3 06:53 .etc
drwxr-xr-x 2 nobody nobody 8192 Oct 9 2012 lost+found
I've been doing some searching about to see what I can find on the rpc.idmapd not running error, and did not find anything I haven't already done (adding domain to idmapd.conf, ensuring mountd is running, dns available & resolving etc etc).
/var/log/messages isn't very helpful, just complaining about 0 not mapping into the domain:
Oct 3 09:08:58 rhel58 rpc.idmapd[3896]: nss_getpwnam: name '0' does not map into domain 'nas2008.com'
Oct 3 09:23:12 rhel58 rpc.idmapd[3896]: nss_getpwnam: name '0' does not map into domain 'nas2008.com'
Oct 3 09:50:55 rhel58 rpc.idmapd[3896]: nss_getpwnam: name '0' does not map into domain 'nas2008.com'
Oct 3 10:01:48 rhel58 rpc.idmapd[3896]: nss_getpwnam: name '0' does not map into domain 'nas2008.com'
Oct 3 10:01:49 rhel58 rpc.idmapd[3896]: nss_getpwnam: name '32768' does not map into domain 'nas2008.com'
nfs-utils-lib-1.0.8-7.9.el5
nfs-utils-1.0.9-60.el5
anyone come across this, or have any suggestions?
Kev.
|