Errors while mounting NFS shares
Today we have upgraded our backbone to a faster network, which made it necessary to switch our Linux Cluster offline
Right now we have some storage systems, which are mounted as NFS (network file system) servers to the webservers to serve the amount of file space you need and want from us. After we restarted the server boxes (in the right order), one webserver box was refusing to mount a share of one NFS server, while the other webservers allowed that mount and were already back running and serving the files from that share…
“Can not mount XY: permission denied” was the command line error and the log on the NFS server side was not very helpful either!
“rpc.mountd: getfh failed: Operation not permitted”
First we did a ” exportfs -av” - which was supposed to help regarding to a forum we found, but it did not! Then we found the solution:
You need to restart both portmap AND the nfs service:
# service portmap restart
# service nfs restart
like that and then REBOOT the client! Puhhhh - after that exciting maintenance session I decided to put it in my blog, in case you ever need it! Cheers…


