I have some backups routines from LXC containers. They ran fine for days, but since yesterday they are failing.
Based on what I've found in some related topics about rsync exit code 23, I added "-v --progress" to rsync command line and ran it manually.
Command line / log error:
rsync -v --progress --stats -h -X -A --numeric-ids -aH --no-whole-file --sparse --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' '--exclude=/mnt/servidor1' /proc/3398/root//./ /mnt/GFS-2tb_RAID5/images/pm3
These LXC are as resources in a HA task. If I change their backup routine mode to stop, it doesn't work. HA prevent the change of status:
If I run the backups with LXC containers stopped, they execute. In snapshot mode, not anymore. Nothing was changed.
Any help would be appreciated
Code:
INFO: starting new backup job: vzdump 105 --storage gluster-2tbraid5 --mode snapshot --compress zstd --remove 0 --notes-template '{{guestname}}' --node servidor2
INFO: filesystem type on dumpdir is 'fuse.glusterfs' -using /var/tmp/vzdumptmp7217_105 for temporary files
INFO: Starting Backup of VM 105 (lxc)
INFO: Backup started at 2023-04-20 08:19:02
INFO: status = running
INFO: CT Name: pm3
INFO: including mount point rootfs ('/') in backup
INFO: excluding bind mount point mp0 ('/mnt/servidor1') from backup (not a volume)
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: pm3
INFO: including mount point rootfs ('/') in backup
INFO: excluding bind mount point mp0 ('/mnt/servidor1') from backup (not a volume)
INFO: starting first sync /proc/3398/root/ to /var/tmp/vzdumptmp7217_105
ERROR: Backup of VM 105 failed - command 'rsync -v --progress --stats -h -X -A --numeric-ids -aH --delete --no-whole-file --sparse --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' '--exclude=/mnt/servidor1' /proc/3398/root//./ /var/tmp/vzdumptmp7217_105' failed: exit code 23
INFO: Failed at 2023-04-20 08:22:53
INFO: Backup job finished with errors
TASK ERROR: job errors
Based on what I've found in some related topics about rsync exit code 23, I added "-v --progress" to rsync command line and ran it manually.
Command line / log error:
rsync -v --progress --stats -h -X -A --numeric-ids -aH --no-whole-file --sparse --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' '--exclude=/mnt/servidor1' /proc/3398/root//./ /mnt/GFS-2tb_RAID5/images/pm3
Code:
rsync: [sender] get_xattr_data: lgetxattr("/proc/3398/root/var/lib/docker/overlay2/e2da0a0363bf2876d2a127759abeee205e4f59ffdb7cfcb0ce52517682e5d8fd/diff/etc/_localtime","user.overlay.origin",0) failed: No data available (61)
rsync: [sender] get_xattr_data: lgetxattr("/proc/3398/root/var/lib/docker/overlay2/f216019cb902d0d80dd1f5d78b1bb1b487326667281c973b978b63afb05bf084/diff/etc/_localtime","user.overlay.origin",0) failed: No data available (61)
rsync: [generator] set_acl: sys_acl_set_file(var/log/journal, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [generator] set_acl: sys_acl_set_file(var/log/journal/0a6dce15bc014770acac5c45e21973e5, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [generator] set_acl: sys_acl_set_file(var/log/journal/fff51684a5d343d08b117628c12cdfe6, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/0a6dce15bc014770acac5c45e21973e5/.system.journal.aj67xZ, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/0a6dce15bc014770acac5c45e21973e5/.system@0005f9740b0ea0b9-f00650da29f72ab2.journal~.1l2Ni0, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/0a6dce15bc014770acac5c45e21973e5/.system@03ea82ca24e7449a901321e2e7b5d085-0000000000000001-0005f956bdbb169e.journal.WNQA63, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/fff51684a5d343d08b117628c12cdfe6/.system.journal.MCuUS0, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/fff51684a5d343d08b117628c12cdfe6/.system@0005f9066d2f2e89-7026df5c0045da22.journal~.EDeAl3, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/fff51684a5d343d08b117628c12cdfe6/.system@0005f907abc27967-5e5c245ad0915580.journal~.fVN5j0, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/fff51684a5d343d08b117628c12cdfe6/.system@0005f908490d401d-00373b4bd794fe08.journal~.QWcs3Z, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/fff51684a5d343d08b117628c12cdfe6/.system@0005f90a72d0fab1-e4e61d51537d5403.journal~.KSsiEZ, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/fff51684a5d343d08b117628c12cdfe6/.system@0005f90ca2591671-9285aba4de92d8e0.journal~.pqWMT0, ACL_TYPE_ACCESS): Operation not supported (95)
rsync: [receiver] set_acl: sys_acl_set_file(var/log/journal/fff51684a5d343d08b117628c12cdfe6/.system@0005f90cf29b4a20-fdc2553221ddd663.journal~.cjV7D2, ACL_TYPE_ACCESS): Operation not supported (95)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3]
These LXC are as resources in a HA task. If I change their backup routine mode to stop, it doesn't work. HA prevent the change of status:
Code:
INFO: starting new backup job: vzdump 105 104 --mode stop --quiet 1 --notes-template '{{guestname}}' --compress zstd --mailnotification always --storage gluster-2tbraid5 --prune-backups 'keep-daily=3,keep-monthly=1,keep-weekly=1'
ERROR: Backup of VM 104 failed - Cannot execute a backup with stop mode on a HA managed and enabled Service. Use snapshot mode or disable the Service.
INFO: Failed at 2023-04-20 02:00:05
ERROR: Backup of VM 105 failed - Cannot execute a backup with stop mode on a HA managed and enabled Service. Use snapshot mode or disable the Service.
INFO: Failed at 2023-04-20 02:00:05
INFO: Backup job finished with errors
TASK ERROR: job errors
If I run the backups with LXC containers stopped, they execute. In snapshot mode, not anymore. Nothing was changed.
Any help would be appreciated
Last edited: