For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > getfh failed

getfh failed

Created by dave. Last edited by dave, 18 years and 43 days ago. Viewed 4,478 times. #1
[edit] [rdf]


I had a broken dhcp server. While testing this dhcp server I would repeatedly change the IP reservation for my workstation (which runs RHEL 3ES). Upon concluding this testing, I changed my IP reservation back to the original IP address and rebooted my system. However upon this reboot, my system could no longer mount nfs directories from our two primary fileservers (all running Linux RHEL 3ES).

Note that my workstation had no problem mounting these filesystems when it had a brand-new lease with a different IP address; the failure only occured when the workstation was reverted back to its original IP address.

The error on the server was:

Apr 11 14:06:11 fs0 rpc.mountd: getfh failed: Operation not permitted


On the server, clear up stale client mount information with the command

fs0# exportfs -av


When the workstation was originally shut down, it left some stale information on the server's /var/lib/nfs tree, which cannot be trivially edited. This stale information conflicted with the workstation's new request for a mount. To clear this information you must either cycle nfs on the server (BAD, because that makes the server forgets about all client mounts) or run the exportfs command, above.

(All gleaned from a Debian discussion list somewhere)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt