Show Posts. Stale NFS file handle. Registered User. Join Date: May Please suggest. Join Date: Jul Find all posts by DukeNuke2. Which is the nfs server.. Is it rtpdsntva. Please help as I know very little about nfs server. Join Date: Nov If it is up restart the nfs server processes on rtpdsntva. Oct 13 xyz nfs: file handle: 1bce c5e 1cec a bdfb Oct 13 xyz nfs: NFS write error on host zyz: Stale NFS file handle.
Oct 13 xyz nfs What is a file handle? Experts, Can any one please explain about a "File Handle" , what it is. Can we see it, like an inode number.
Thanks, 3 Replies. How to decode nfs file handle in HP-UX? It was working perfectly so far. Try and do a force unmount first you can use showmount -e to see what is shared at the other end. That looks good is the directory exported the same as on client? For example rw or ro? Hi, Check if the NFS service and portmap are running on the server.
Check if firewall is disabled or NFS is allowed in both server and client. If you see such an entry, edit the file, remove the entry and save the file, and try to remount the NFS resource on the client. First let us try to understand the concept of Stale File Handle. Managing NFS and NIS, 2nd Edition book defines filehandles as follows a good book if you would like to master NFS and NIS : A filehandle becomes stale whenever the file or directory referenced by the handle is removed by another host, while your client still holds an active reference to the object.
A typical example occurs when the current directory of a process, running on your client, is removed on the server either by a process running on the server or on another client. So this can occur if the directory is modified on the NFS server, but the directories modification time is not updated. Sorry if this is duplicative. You have to unshare the NFS exports before you unmount and re-mount the drive.
Then re-share the NFS exports after the drive is successfully mounted. No Account? Sign up. By signing in, you agree to our Terms of Use and Privacy Policy. Already have an account? Create a free Team What is Teams? Learn more. Asked 7 years, 5 months ago. Active 1 year ago. Viewed 94k times. Any way to fix that? Improve this question. Add a comment. Active Oldest Votes. Improve this answer. BillThor BillThor 27k 3 3 gold badges 34 34 silver badges 69 69 bronze badges.
Using hard, intr is good advice. However, note that NFS doubles the timeouts with each try. Try to not restart your NFS service so often ; — bjanssen. Your answer is correct. I also found another simple solution. On the node that says stale NFS handler, just umount and remount the folder again. The root cause for problems of this type is usually that the rpc.
Yes, even if you mount by IP address, the names must be resolvable, because the NFS lock protocol uses names internally. Please see this answer of mine in another NFS question. Try this script I wrote:! Here is an update:!
0コメント