June 8, 20251 yr I have created 4 shares in Unraid that I want to be able to always access from the Debian 12 VM.In /etc/fstab, I have these lines://T440.local/linux /mnt/linux cifs rw,credentials=/etc/samba/servershare.conf,uid=1000 0 0//T440.local/D /mnt/D cifs rw,credentials=/etc/samba/servershare.conf,uid=1000 0 0//T440.local/e-i-root /mnt/e-i-root cifs rw,credentials=/etc/samba/servershare.conf,uid=1000 0 0//T440.local/j /mnt/j cifs rw,credentials=/etc/samba/servershare.conf,uid=1000 0 0These worked for a while, but then failed.The result of the failure can be seen from the directories in /mnt:ls: cannot open directory '.': Stale file handletim@sun-debian:/mnt/linux$ cd ..tim@sun-debian:/mnt$ lsls: cannot access 'D': Resource temporarily unavailablels: cannot access 'linux': Stale file handleD e-i-root j linuxI searched and got conflicting information on how to cause the system to re-load fstab and re-establish the shares.mount -aseemed to have no effect.Another post in the article suggested "To refresh systemd’s view of the world, including changes to /etc/fstab, runsystemctl daemon-reloadThis did not fix the problem.I resorted to restarting the VM, and now the shares are operating normally again.I would like to learn what I'm doing wrong and how to keep my mounted shares functional over time. Edited June 9, 20251 yr by timg11
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.