CIFS Resource temporarily unavailable AFTER the backup finished

proxlove

New Member
Mar 18, 2021
2
1
1
54
Howdy,

I have a single server with proxmox installaton VE6.3-6 at Hetzner, connected to a Storagebox via CIFS.

The backup is running fine for several hours, but right after reaching 100% the resource is suddenly reported unavailable.
So I wonder... is the backup (with bwlimit) created locally in /var/tmp/vzdump... and then - without any bwlimit - copied to the storagebox?
Or is the /etc/vzdump.conf bwlimit setting applied to the entire backup process?

Code:
INFO:  96% (379.2 GiB of 395.0 GiB) in 2h 20m 1s, read: 47.6 MiB/s, write: 46.5 MiB/s
INFO:  97% (383.2 GiB of 395.0 GiB) in 2h 21m 25s, read: 48.1 MiB/s, write: 47.0 MiB/s
INFO:  98% (387.1 GiB of 395.0 GiB) in 2h 23m 1s, read: 42.3 MiB/s, write: 37.9 MiB/s
INFO:  99% (391.1 GiB of 395.0 GiB) in 2h 24m 24s, read: 48.4 MiB/s, write: 0 B/s
INFO: 100% (395.0 GiB of 395.0 GiB) in 2h 25m 48s, read: 48.1 MiB/s, write: 0 B/s
INFO: backup is sparse: 16.17 GiB (4%) total zero data
INFO: transferred 395.00 GiB in 8748 seconds (46.2 MiB/s)
INFO: archive file size: 219.73GB
INFO: removing backup 'storagebox:backup/vzdump-qemu-100-2021_03_15-01_30_02.vma.zst'
ERROR: error when removing backup 'storagebox:backup/vzdump-qemu-100-2021_03_15-01_30_02.vma.zst' - removing archive /mnt/pve/storagebox/dump/vzdump-qemu-100-2021_03_15-01_30_02.vma.zst failed: Resource temporarily unavailable
ERROR: Backup of VM 100 failed - error pruning backups - check log
INFO: Failed at 2021-03-18 03:59:36
INFO: filesystem type on dumpdir is 'cifs' -using /var/tmp/vzdumptmp12694_102 for temporary files
INFO: Starting Backup of VM 102 (lxc)
 
Answer to myself: Setting bwlimit from 50000 to 20000 solved the issue.

I guess when the backup is finished, the process itself is not finished writing to the storagebox an still under heavy traffic.
Removing the old VM then failes within a set timeframe, resulting in this error.

Would be interesting to know the actual timeout but... too complex for me.
 
  • Like
Reactions: Ruza
i also get this from time to time when there is heavy load on the cifs share. wondering if there is some timeout value i can set

2022-09-17 03:58:25 INFO: removing backup 'pve-cluster1-backup-cifs:backup/vzdump-qemu-181-2022_08_12-23_31_02.vma.zst' 2022-09-17 04:00:28 INFO: removing backup 'pve-cluster1-backup-cifs:backup/vzdump-qemu-181-2022_08_19-23_41_50.vma.zst' 2022-09-17 04:03:35 ERROR: error when removing backup 'pve-cluster1-backup-cifs:backup/vzdump-qemu-181-2022_08_19-23_41_50.vma.zst' - removing archive /mnt/pve/pve-cluster1-backup-cifs/dump/vzdump-qemu-181-2022_08_19-23_41_50.vma.zst failed: Resource temporarily unavailable 2022-09-17 04:04:24 ERROR: Backup of VM 181 failed - error pruning backups - check log