Error backup container lxc code error 23

TAC.Poub

Member
Jan 5, 2016
1
0
21
45
Hello

Environment: Debian 11 & Proxmox 7.0-11

I come to you because I encounter a backup problem in snapshot mode on my proxmox server and that for two LXC containers, the others no worries
All of my containers are saved every week without any worries.
Except this Saturday, two of my vm give me the same error message

Code:
vzdump 101 --mode snapshot --storage raid --remove 0 --compress zstd --node pve1
 
101: 2021-08-21 19:52:57 INFO: Starting Backup of VM 101 (lxc)
101: 2021-08-21 19:52:57 INFO: status = running
101: 2021-08-21 19:52:57 INFO: CT Name: Centreon
101: 2021-08-21 19:52:57 INFO: including mount point rootfs ('/') in backup
101: 2021-08-21 19:52:57 INFO: mode failure - some volumes do not support snapshots
101: 2021-08-21 19:52:57 INFO: trying 'suspend' mode instead
101: 2021-08-21 19:52:57 INFO: backup mode: suspend
101: 2021-08-21 19:52:57 INFO: ionice priority: 7
101: 2021-08-21 19:52:57 INFO: CT Name: Centreon
101: 2021-08-21 19:52:57 INFO: including mount point rootfs ('/') in backup
101: 2021-08-21 19:52:57 INFO: starting first sync /proc/1088/root/ to /var/lib/vz-raid//dump/vzdump-lxc-101-2021_08_21-19_52_57.tmp
101: 2021-08-21 19:55:30 INFO: first sync finished - transferred 18.05G bytes in 153s
101: 2021-08-21 19:55:30 INFO: suspending guest
101: 2021-08-21 19:55:32 INFO: starting final sync /proc/1088/root/ to /var/lib/vz-raid//dump/vzdump-lxc-101-2021_08_21-19_52_57.tmp
101: 2021-08-21 19:55:39 INFO: resume vm
101: 2021-08-21 19:55:39 INFO: guest is online again after 9 seconds
101: 2021-08-21 19:55:51 ERROR: Backup of VM 101 failed - command 'rsync --stats -h -X -A --numeric-ids -aH --delete --no-whole-file --inplace --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' /proc/1088/root//./ /var/lib/vz-raid//dump/vzdump-lxc-101-2021_08_21-19_52_57.tmp' failed: exit code 23

The error line : 101: 2021-08-21 19:55:51 ERROR: Backup of VM 101 failed - command 'rsync --stats -h -X -A --numeric-ids -aH --delete --no-whole-file --inplace --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' /proc/1088/root//./ /var/lib/vz-raid//dump/vzdump-lxc-101-2021_08_21-19_52_57.tmp' failed: exit code 23

The storage is local and there is more than 1 TB of space for info
I tested the other backup modes:
- snapshot (the one I use by default and which worked until this week)
- suspend (same result on these two vms -> KO)
- stop (backup OK on these two vms but stop unwanted for vm in production)

Actions tested but unsuccessful
- I stopped the vms
- I rebooted the proxmox server
- I tested to another storage (nas on nfs)

The only thing I see is the upgrade from debian 10 to debian 11 and from proxmox 6 to promox 7 which could be the cause of problems... but why only on these two containers and the other 20 are OK

If anyone has an idea or a test that I could still do, or who has already encountered the problem, I am interested in your ideas and your feedback

Thanks
 
Hello,

same problem here also on an upgrade to PVE 7.

Code:
()
INFO: starting new backup job: vzdump 199 --mode snapshot --remove 0 --storage pvebackup --node host03
INFO: Starting Backup of VM 199 (lxc)
INFO: Backup started at 2021-08-31 07:38:44
INFO: status = running
INFO: CT Name: M*********
INFO: including mount point rootfs ('/') in backup
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: CT Name: M*********
INFO: including mount point rootfs ('/') in backup
INFO: starting first sync /proc/3799619/root/ to /var/tmp/vzdumptmp3801240_199
INFO: first sync finished - transferred 40.88G bytes in 333s
INFO: suspending guest
INFO: starting final sync /proc/3799619/root/ to /var/tmp/vzdumptmp3801240_199
INFO: resume vm
INFO: guest is online again after 5 seconds
ERROR: Backup of VM 199 failed - command 'rsync --stats -h -X -A --numeric-ids -aH --delete --no-whole-file --inplace --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' /proc/3799619/root//./ /var/tmp/vzdumptmp3801240_199' failed: exit code 23
INFO: Failed at 2021-08-31 07:44:37
INFO: Backup job finished with errors
TASK ERROR: job errors

Edit:

I tried to debug it with rysnc parameters -vv --progress
You can found it in a other thread: https://forum.proxmox.com/threads/lxc-suspend-mode-backup-rsync-error-23.94676/post-413978
 
Last edited:

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!