SUMMARY: NFS vers4 uid problem

From: David L. Markowitz (dav@rttrek.com)
Date: Tue Apr 18 2006 - 17:53:00 EDT


Thanks to:

        Casper.Dik <Casper.Dik@Sun.COM> (as always)
        Darren Dunham <ddunham@taos.com>

Original question:
>>I have two hosts, hostS (a Sun Blade 1000 [SPARC] running Sol10)
>>and hostO (a Sun Ultra 20 [Opteron] running Sol10 x86 01/06). I
>>am trying to share the filesystem /export/home from hostS and
>>mount it on hostO. I am having a problem with NFS version 4.
>>
>>When using NFS vers=4 (the default), even a simple mount (no
>>automounting involved) works, but the uid and gid of all files
>>in the mounted fs are mapped to nobody,nobody. The server's
>>values are 119,100.
>>
>>hostS's dfstab:
>>
>> share -F nfs -o rw=hostO,root=hostO -d "home dirs" /export/home
>>
>>hostO's vfstab:
>>
>> hostS:/export/home - /home/hostS nfs - yes -
>>
>>Switching to NFS vers=3 makes it work.
>>
>>How do I make this work with vers=4?

Casper said simply:

> Set the domainname in /etc/default/nfs

Darren's answer had a bit more meat:

> http://blogs.sun.com/roller/page/nfsv4?entry=q1_why_do_i_get

-- 
     David L. Markowitz
     Rttrek Consulting
     dav@rttrek.com
     http://www.rttrek.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:37 EDT