Unix stale nfs file handle




















I cannot mount it in another mountpoint on the affected machine. Improve this question. Jaken Yes, it is accessible by someone else. In fact I can mount it in another machine. Try to add -v to mount -t command. Maybe addition info will be issued. Are you trying reboot your machine?

Add a comment. Active Oldest Votes. When the server is back and the client then umounts and tries to mount the nfs volume the server might respond with: mount. Improve this answer. Just want to add that this worked for me when the server is running Manjaro Linux and the client is running Ubuntu. Furthermore, the conditions that led to this are that I moved a drive from one server to another, unmounting the device from the clients before the move, but one client ended up giving me the "stale file handle" error when I tried to mount the nfs share from the new server.

Executing the commands in this answer fixed it. Maybe some old pagecache, inode, dentry cache entries are exists on NFS server. Yurij Goncharuk Yurij Goncharuk 3, 2 2 gold badges 18 18 silver badges 35 35 bronze badges.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. Improve this answer. But one thing I fail to understand. How can it be that for 2 days, there was no NFS server response and I can just work peacefully? If NFS server is down you can't do anything with nfs share exported from that nfs server. In this case processes freeze on any disk access. Then if the home directory is moved to another server, and I have a stale file handle as they claim, this means my home directory was not remounted from the new location.

How can all other processes vnc server and sophisticated cad tools could access my files without any errors for two days? I am not convinced with their claim The automountd is a root process, so you could not have killed it.

Rui F Ribeiro Nils Nils Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Ask Question. Asked 8 years, 1 month ago. Active 8 months ago. Viewed k times. Improve this question. If you NFS mount a directory name it adir from host A to host B, then do the delete-and-restore thing for adir on host A, you can also get the error "Stale file handle" when you access adir on host B.

Use the command touch on host A can make it normal. Add a comment. Active Oldest Votes. Improve this answer. I don't know enough about the details to know what would happen if, for example, you tried to reference an inode that had already been recycled to point at something else.

Would you still get a stale file handle? Or would you get unexpected data? I don't think the system would reuse it since someone is actually using that I-node by having it as the current directory. Sign up or log in Sign up using Google. Sign up using Facebook.



0コメント

  • 1000 / 1000