This applies to any Redhat derived Linux, Fedora, CentOS, Scientific Linux, and possibly other operating systems using NFSv4.
Recently after an update, around November 20th, 2013, to our servers running CentOS 6.4, we ran into problems with NFS mounted files showing up with an ownership of nobody.
We've been using NFSv4 to mount files off a file server for over a year with no problem. I had never configured idmapd or made sure that it was running, yet, until this recent update everything worked.
In order to get things working again, it was necessary to set the domain in idmapd and make sure idmapd was running.
To do this, edit /etc/idmapd.conf, the beginning of the file you'll see something like this:
Domain = somedomain.com
If this is commented out, or if the domain isn't correct, idmapd will not function properly and NFSv4 ownership mapping will be broken.
Usually, the domain is the same as your NIS domain but it may be different. The important thing is that it be the same on the server and client machines.
Then in System->Administration->Services, make sure rpcidmapd
From a shell prompt type:
ps aux | grep idmapd
To make sure it is running and you may want to reboot and do that again to make sure it gets properly started after a reboot.
Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Technical discussions, how to do geeky things more efficiently.
1 post • Page 1 of 1
Users browsing this forum: No registered users and 18 guests