Article 557NX Error when getting information for file. Stale file handle. Ubuntu 18.04

Error when getting information for file. Stale file handle. Ubuntu 18.04

by
no_underscore
from LinuxQuestions.org on (#557NX)
Hey guys (and gals),

After having switched to Linux a few months ago I have recently been having some issues with my mounted drives from my server where in I will get this error from time to time:

Code:Error when getting information for file "/mnt/atlantis": Stale file handle.Not entirely sure about what specific conditions make this happen but mostly seems to be tied to when I write files to the server, though it does not seem to happen all the time. Whenever this does occur however I am still able to Cd into the mounted directory, but if I try to use Nautilus or some of my programs try to access the files on the mounted share they error out. Nautilus specifically is the one giving me the warning above about stale file handles.
Here is a quick example from the ll command in the /mnt directory showing one share that is still working normally and one that gives me the stale file handle issue:

Code:d????????? ? ? ? ? ? atlantis/
drwxrwxrwx 2 root root 0 Apr 15 17:51 command-center/This seems to have started mainly after I changed my mount commands in my fstab file from:

Code://192.168.xx.xx/atlantis /mnt/atlantis cifs credentials=/home/username/.smbcredentials,iocharset=utf8,sec=ntlm,vers=1.0,file_mode=0777,dir_mode=0777,uid=username,gid=username 0 0To:

Code://192.168.xx.xx/atlantis /mnt/atlantis cifs credentials=/home/username/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0I'll have to admit that while I have looked at the man page for all of the variables used in my original command I am not entirely confident I know how they affect the mount/how the work, which was one of the reasons I tried to simplify the command as well as not forcing my machine to communicate with the server over a SMB 1.0 protocol.

Hopefully this is still within the scope of this sub-forum.
Any advice, tips or pointers are greatly appreciated.

Thanks for the read!
Stay safe out there!latest?d=yIl2AUoC8zA latest?i=mcHECuL8ZV0:Vak-s79i_Vs:F7zBnMy latest?i=mcHECuL8ZV0:Vak-s79i_Vs:V_sGLiP latest?d=qj6IDK7rITs latest?i=mcHECuL8ZV0:Vak-s79i_Vs:gIN9vFwmcHECuL8ZV0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments