On 06/16/2012 11:33 AM, Ed Greshko wrote:
On 06/16/2012 05:43 PM, Pittigher, Raymond - ES wrote:
Yes, I configured the /etc/idmapd... file and set the Domain variable. Started 
the systemctl restart nfs-idmap.service. If I go back to NFSv3 it all looks OK. 
It also seems to be only a problem with Fedora 17 at the moment. I did a clean 
install with Fedora 16 and had it working properly then did the upgrade to 17 
and NFSv4 is missing some, not all, of the mappings. That list above is a small 
paste of about 300 users. I then did a clean install of Fedora 17 and it also 
has the same problem. About 20% did the UID/GID mapping and showed the username 
while the rest showed the nfsnobody mapping. Re-mounting to NFSv3 fixes the 
listing.

I wonder what email client you are using....since it quotes previous poorly 
making it
hard to determine who wrote what.....

Your NFS4 server system....what is that?

You said you're only having trouble with F17 as the NFS4 client.  You've also 
said
that some uid/gid are mapping correctly while others are not.

Would it be possible to give a larger sample size than the 2?  And could you do 
an ls
-ln with the file system unmounted just to verify the mount points were created
correctly?

I only have a few exported file systems and a few users and not seeing any 
problems.

Maybe you can describe your exports and mount points a bit more?


The server is RHEL6.2 and the clients are either Centos or Fedora and the problem seems to be with release 17. On all clients the mount uses defaults. So on the F17 box we have:

172.30.5.244:/users/ on /users type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=172.30.5.169,local_lock=none,addr=172.30.5.244)

A longer listing shows:
drwxr-x---. 134          4294967294          4294967294  90112 Jun 15 11:14 
vcasio
drwx--x---.   2          4294967294          4294967294   4096 Jun 26  2007 
vchou
drwx------.   4          4294967294          4294967294   4096 Oct 18  2007 
vehrlich
drwx------.   4          4294967294          4294967294   4096 Jun 12 07:40 
vixxx.jxxx
drwx------.   4 vikram.paxxxn       vikram.paxxxn         4096 Apr 26 16:21 
vikxxx.paxxxn
drwx------.   4 vincent.boxxxxxura vincent.bxxxxxxtura   4096 May 31 07:54 
vincent.bxxxxxxtura
drwx------.   4          4294967294          4294967294   4096 Dec 27 20:16 
vladimir.swxxxxxxxj
drwx--x--x.  23          4294967294          4294967294  12288 Jun 14 15:43 
vpatel
drwx--x--x.  80          4294967294          4294967294   4096 Jun 13 15:05 
vsawant
drwx--x---.  78          4294967294          4294967294   4096 Oct 26  2010 
vskiendz
drwx------.   4          4294967294          4294967294   4096 Feb  3  2010 
wbartus
drwxrwx---.  30 root                wem                   4096 Apr  6  2010 WEM
drwxrwx---.   4 nfsnobody           xxxusers2             4096 Aug 19  2006 
Wireless_Lifeline
drwx------.  12          4294967294          4294967294   4096 Jul  1  2008 
wjohnsto
drwx--x---.  72          4294967294          4294967294  20480 Oct 17  2011 
wjones
drwx--x---.  54          4294967294          4294967294   4096 Jul 29  2011 
wlanniga
drwx--x---.  42          4294967294          4294967294   4096 Apr 26  2011 
wwong
drwxrwxr-x.   2 jwilliam            xx31337              4096 Feb 14 10:18 
xdevenv
drwx------.  24          4294967294          4294967294   4096 Jun  7 09:13 
xiaoying.xx
drwxr-xr-x. 199          4294967294          4294967294  12288 Jun 15 16:20 
yfarrah
drwx--x---.   4          4294967294          4294967294   4096 Jun 12 15:38 yliu
drwx--x---.  12          4294967294          4294967294   4096 Jun 27  2008 
zaeria
drwx------.   4          4294967294          4294967294   4096 Feb 23  2010 
zbarak

On a RHEL system with defaults we have:
172.30.5.244:/users on /users type nfs4 (rw,noatime,nodiratime,hard,intr,addr=172.30.5.244,clientaddr=172.30.5.240)

And a listing of:

drwxr-x---. 134 vcascio                vcascio                  90112 Jun 15 
11:14 vcasio
drwx--x---.   2 vchou                  vchou                     4096 Jun 26  
2007 vchou
drwx------.   4 vehrlich               vehrlich                  4096 Oct 18  
2007 vehrlich
drwx------.   4 vixxx.jxxx             vixxx.jxxx               4096 Jun 12 
07:40 vixxx.jxxx
drwx------.   4 vikxxx.paxxxn          vikxxx.paxxxn             4096 Apr 26 
16:21 vikxxx.paxxxn
drwx------.   4 vincent.bxxxxxxtura    vincent.bxxxxxxtura       4096 May 31 
07:54 vincent.bxxxxxxtura
drwx------.   4 vladimir.swxxxxxxxj vladimir.swxxxxxxxj   4096 Dec 27 20:16 
vladimir.swxxxxxxxj
drwx--x--x.  23 vpatel                 vpatel                   12288 Jun 14 
15:43 vpatel
drwx--x--x.  80 vsawant                vsawant                   4096 Jun 13 
15:05 vsawant
drwx--x---.  78 vskiendz               vskiendz                  4096 Oct 26  
2010 vskiendz
drwx------.   4 wbartus                wbartus                   4096 Feb  3  
2010 wbartus
drwxrwx---.  30 root                   wem                       4096 Apr  6  
2010 WEM
drwxrwx---.   4 nfsnobody              xxxusers2                 4096 Aug 19  
2006 Wireless_Lifeline
drwx------.  12 wjohnsto               wjohnsto                  4096 Jul  1  
2008 wjohnsto
drwx--x---.  72 wjones                 wjones                   20480 Oct 17  
2011 wjones
drwx--x---.  54 wlanniga               wlanniga                  4096 Jul 29  
2011 wlanniga
drwx--x---.  42 wwong                  wwong                     4096 Apr 26  
2011 wwong
drwxrwxr-x.   2 jwilliam               xx31337                  4096 Feb 14 
10:18 xdevenv
drwx------.  24 xiaoying.wu            xiaoying.wu               4096 Jun  7 
09:13 xiaoying.xx
drwxr-xr-x. 199 yfarrah                yfarrah                  12288 Jun 15 
16:20 yfarrah
drwx--x---.   4 yliu                   yliu                      4096 Jun 12 
15:38 yliu
drwx--x---.  12 zaeria                 zaeria                    4096 Jun 27  
2008 zaeria
drwx------.   4 zbarak                 zbarak                    4096 Feb 23  
2010 zbarak


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to