I was having a problem with ids on an NFSv4 client:
$ ls -l /r1/bob/ drwxr-xr-x 2 4294967294 4294967294 4096 2011-05-14 19:29 junk drwxr-xr-x 2 4294967294 4294967294 4096 2011-01-30 02:14 junk2 drwxr-xr-x 14 4294967294 4294967294 4096 2011-05-14 16:31 unsorted_junk
After fumbling around for a bit, here is the solution I'm running with now.
On both the server and the client, add this to /etc/idmapd.conf:
[Translation] Method = nsswitch
On the client, add this /etc/rc.local:
service idmapd start umount /r1 mount /r1
Now we're all good:
$ ls -l /r1/bob/ drwxr-xr-x 2 bob bob 4096 2011-05-14 19:29 junk drwxr-xr-x 2 bob bob 4096 2011-01-30 02:14 junk2 drwxr-xr-x 14 bob bob 4096 2011-05-14 16:31 unsorted_junk
No comments:
Post a Comment