LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-03-2013, 04:09 AM   #1
kevinod
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 10-04-2013, 06:48 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
See the rpcinfo cmd http://www.linuxtopia.org/online_boo...ortmap-rpcinfo and indeed the whole chapter.
 
Old 10-08-2013, 02:32 AM   #3
kevinod
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks, but it basically just says to run rpcinfo -p. rpcinfo -p does not show rpc.idmapd in there at all, I'm not sure if that's normal or not as I haven't actually looked for it before.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Map known UID on NFSv4 server without client using idmapd? charlweed Linux - Server 0 06-25-2013 10:45 PM
Mounting a Linux NFSv4 Share with Windows 2008 R2 Kerberos Server gmjs Linux - Enterprise 0 03-08-2012 04:05 PM
Does NFSv4 serve only files which are at least readable? (was: NFSv4 and SUID mount) Reuti Linux - Server 1 08-05-2011 04:13 PM
Network device Memory mapped or Port mapped ?? Bignon Linux - Hardware 0 10-20-2009 08:36 AM
Problem mounting with different uid Robeasts Linux - Newbie 5 09-21-2006 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration