SMB/CIFS - backup job failed - unable to open ... - Stale file handle

getQueryString

New Member
Sep 26, 2024
1
0
1
I've already read through several threads, but unfortunately I can't see through them. That's why I'd like to go through it properly here.

Problem:
INFO: starting new backup job: vzdump --notes-template '{{guestname}}' --prune-backups 'keep-monthly=3' --all 1 --fleecing 0 --storage MyCloudEX2Ultra --node pve-srv-01 --mode snapshot --compress zstd
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2024-09-26 12:40:30
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: Debian-LXQt
INFO: include disk 'virtio0' 'local-lvm:vm-100-disk-1' 32G
INFO: include disk 'efidisk0' 'local-lvm:vm-100-disk-0' 4M
ERROR: Backup of VM 100 failed - unable to open '/mnt/pve/MyCloudEX2Ultra/dump/vzdump-qemu-100-2024_09_26-12_40_30.tmp/qemu-server.conf' - Stale file handle
INFO: Failed at 2024-09-26 12:40:30
INFO: Backup job finished with errors
TASK ERROR: job errors

What I did:
I added my NAS via SMB/CIFS via Data Center > Storage:

ID: MyCloudEX2Ultra | Server: 192.168.2.134 | Username: srv-01 | Share: srv-01 | Nodes: All | Enable: Yes | Content: VZDump backup file

I have added a job via Datacenter > Backup:

Node: All | Storage: MyCloudEX2Ultra | Schedule: 9 pm everyday | Selection Mode: All | Compression: ZSTD | Mode: Snapshot | Enable: Yes | Retain for 3 months

The storage MyCloudEX2Ultra (pve-srv-01) also appears on the left in the pve-srv-01 node. I am logged in to Webaccess as root all the time for security reasons. I am aware of the security risks, but the server is on a test basis.

In the pve-srv-01 node in the shell:
mount | grep MyCloudEX2Ultra:
//192.168.2.134/srv-01 on /mnt/pve/MyCloudEX2Ultra type cifs (rw,relatime,vers=3.1.1,cache=strict,username=srv-01,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.2.134,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)

df -h:
Filesystem Size Used Avail Use% Mounted on
udev 12G 0 12G 0% /dev
tmpfs 2.4G 1.4M 2.4G 1% /run
/dev/mapper/pve-root 94G 4.1G 86G 5% /
tmpfs 12G 46M 12G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
efivarfs 128K 121K 2.7K 98% /sys/firmware/efi/efivars
/dev/nvme0n1p2 1022M 12M 1011M 2% /boot/efi
/dev/fuse 128M 16K 128M 1% /etc/pve
//192.168.2.134/srv-01 64G 26G 39G 40% /mnt/pve/MyCloudEX2Ultra
tmpfs 2.4G 0 2.4G 0% /run/user/0

ls -ld /mnt/pve/MyCloudEX2Ultra/:
drwxr-xr-x 2 root root 0 Sep 26 12:40 /mnt/pve/MyCloudEX2Ultra/

If it is relevant:
  • I have a Fritz!Box 7530
  • The user srv-01 is actually present on the MyCloudEX2Ultra. The NAS is actively used.
  • I can reach the NAS with the ping command
Screenshot 2024-09-26 130428.png


I will be happy to answer any questions. Thank you all in advance.
 
Can you touch some file on this share with root?

Code:
touch /mnt/pve/MyCloudEX2Ultra/mytestfile

What happens when you unmount the SMB share over the CMD?

Code:
umount /mnt/pve/MyCloudEX2Ultra

After that it will be automatically mounted again form the system, are you able to put a backup on it now?
 

About

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!