Unable to activate storage - cifs mount dies randomly

autumnwalker

New Member
Sep 30, 2019
10
0
1
34
Hello,

I've been running into this issue recently where my cifs mount for "backup" randomly goes offline. The icon in the GUI has a question mark and I start seeing entries like this in the log:

Oct 11 11:41:05 vmh01 pvestatd[1371]: unable to activate storage 'backup' - directory '/mnt/pve/backup' does not exist or is unreachable

I have other cifs mounts which are working fine attached to the same NAS device - so Proxmox is able to reach the device fine. Uses the same user account / credentials as well. It's just this one mount named 'backup'.

In order to recover I have to deactivate the storage and from the console, umount /mnt/pve/backup, and then reactivate the storage in the GUI.

Any thoughts on why this happens?
 

autumnwalker

New Member
Sep 30, 2019
10
0
1
34
Further - when I navigate in the console to /mnt/pve and run ls I get: "ls: cannot access 'backup': Stale file handle".
 

nojah

New Member
Jan 30, 2019
8
0
1
44
I have observed this too, but only for shares on my Unraid NAS.
It seems to occur when I add new files to a share that uses the cache disk, and when the files gets moved from the cache disk to the array.
If I disable the of the use chache disk for the same share, the issue seems to go away.
 

autumnwalker

New Member
Sep 30, 2019
10
0
1
34
I have observed this too, but only for shares on my Unraid NAS.
It seems to occur when I add new files to a share that uses the cache disk, and when the files gets moved from the cache disk to the array.
If I disable the of the use chache disk for the same share, the issue seems to go away.
Yeah, I have been playing around with this and notice the same behavior. NFS seems to be more tolerant, but still had the disconnect issue. Switching off cache on the share seems to resolve the problem. I've also opened a thread on the Unraid forum (https://forums.unraid.net/topic/86707-cifs-smb-stale-file-handle/), with no definitive solution.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!