SUMMARY: NFS vers4 uid problem

From: David L. Markowitz <>
Date: Tue Apr 18 2006 - 17:53:00 EDT
Thanks to:

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

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:


     David L. Markowitz
     Rttrek Consulting
sunmanagers mailing list
Received on Tue Apr 18 17:55:19 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:57 EST