> I'm trying to be a good gentoo netizen by nfs-sharing /usr/portage between > my three local gentoo machines, and failing :( > > After weeks of fiddling, I discovered today that my problems come from > using a 32-bit machine to serve my two 64-bit NFS clients(!) > > (I'll mention up front that NFSv3 works perfectly -- only NFSv4 is bad.) >
this is due to different authentication methods used in nfs3 and nfs4 and does not rely on installation arch (32/64bit). you have to tune up nfs4 infrastructure. on both client and server make sure you have - nfs4 and inotify support in kernel - net-fs/nfs-utils installed with nfs4 support - grep NFS_NEEDED_SERVICES /etc/conf.d/nfs shows 'NFS_NEEDED_SERVICES="rpc.idmapd"' - grep Domain /etc/idmapd.conf shows 'Domain = <your local domain>' - rpc.idmapd daemon is running (if it does not, restart nfs stack) - surely portage uid/gid are the same on all nfs-ed machines server side: /etc/exports: /usr/portage 192.168.1.0/24(async,no_root_squash,rw,no_subtree_check) client side: grep nfs /etc/fstab: server:/usr/portage /usr/portage nfs4 defaults,rw 0 1 consult rpc.idmapd(8) for details that way i'm sharing portage at home. works pretty good for months i've migrated to nfs4 hth