ls: cannot access 'smb': Stale file handle

promoxer

Member
Apr 21, 2023
210
20
18
1. I create a SMB/CIFS entry to my NAS under Datacenter/Storage mounted at /mnt/pve/smb
2. It was unreachable for a while and is now back
3. However, on the PVE CLI, trying to access it throws the error ls: cannot access 'smb': Stale file handle
4. How do I get it to "refresh" and make become accessible again without having to reboot PVE?
 
Hi,
you can try umount -f -l /mnt/pve/smb to force an unmount. And then use pvesm status or wait a bit for it to be re-mounted.