On 08/05/2011 12:10 AM, Joost Roeleveld wrote: > On Thursday, August 04, 2011 02:53:28 PM walt wrote:
>> For reasons I don't know, the 64-bit client machines mount the 32-bit >> NFSv4 share with UID/GID 0xffffffe, which won't let even root write to >> the rw share. >> >> I googled an old thread mentioning that 0xffff is decimal 65534, a UID >> traditionally assigned to the user 'nobody'. > > This is how I do this: > ** (On server) > ~ $ cat /etc/exports > /usr/portage > *(rw,sync,all_squash,anonuid=250,anongid=250,no_subtree_check) (Thanks also to Todd and Victor for their replies. I hope this will address your points too.) Joost, here's what I'm using at the moment: #grep portage /etc/exports /usr/portage 192.168.0.100/29(rw,sync,all_squash,anonuid=250,anongid=250,no_subtree_check) This is what my 32-bit server thinks: #exportfs -v | grep portage /usr/portage 192.168.0.100/29(rw,wdelay,root_squash,all_squash,no_subtree_check,anonuid=250,anongid=250) Unfortunately, this is what the 64-bit client thinks: #mount | grep portage k2:/usr/portage on /mnt/nfs type nfs (rw,vers=4,addr=192.168.0.100,clientaddr=192.168.0.102) #ls -la /mnt/nfs | head total 2120 drwxr-xr-x 164 4294967294 4294967294 4096 Aug 5 04:32 . drwxr-xr-x 5 root root 4096 Jun 17 2008 .. -rw-r--r-- 1 4294967294 4294967294 1258556 Aug 5 04:33 .ebuild.x drwxr-xr-x 44 4294967294 4294967294 4096 Aug 5 03:31 app-accessibility drwxr-xr-x 198 4294967294 4294967294 4096 Aug 5 03:31 app-admin drwxr-xr-x 3 4294967294 4294967294 4096 Aug 5 03:31 app-antivirus drwxr-xr-x 92 4294967294 4294967294 4096 Aug 5 03:31 app-arch drwxr-xr-x 36 4294967294 4294967294 4096 Aug 5 03:31 app-backup drwxr-xr-x 30 4294967294 4294967294 4096 Aug 5 03:31 app-benchmarks When I look at the uid/gid of that mount, my gut tells me there's a bug in there somewhere. Do you disagree? I have only one 32-bit machine, so I'm thinking I can install a 32-bit gentoo virtualbox guest to test my 32-bit versus 64-bit theory. That's going to wait for tomorrow, though. Meanwhile, anyone know of a live CD that would let me mount an NFS4 share? My ubuntu vbox guest supports NFS3 but not NFS4 :(

