ls: cannot access 'smb': Stale file handle


Apr 21, 2023
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?
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.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!