Hi all,
I've getting an error with the backup of an LXC container to my NFS shared storage for a while now. I was hoping someone could make some sense of the error message and point me in the right direction to get it backing up again. I have other CT's and VM's backing up to this shared storage without issue.![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
If I try shutting down the CT and backing up to local storage, I get this error:
Thank you to anyone that can help me out!
I've getting an error with the backup of an LXC container to my NFS shared storage for a while now. I was hoping someone could make some sense of the error message and point me in the right direction to get it backing up again. I have other CT's and VM's backing up to this shared storage without issue.
Code:
INFO: starting new backup job: vzdump 100 --mode snapshot --remove 0 --compress lzo --storage shared-nfs --node Wash
INFO: Starting Backup of VM 100 (lxc)
INFO: status = running
INFO: CT Name: Teamspeak
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: Teamspeak
INFO: starting first sync /proc/30490/root// to /tmp/backup_tmp/vzdumptmp32759
INFO: rsync: readlink_stat("/proc/30490/root/usr/lib/X11/xedit/lisp/xedit.lsp") failed: Bad message (74)
INFO: IO error encountered -- skipping file deletion
INFO: Number of files: 23,942 (reg: 18,583, dir: 2,306, link: 3,021, dev: 2, special: 30)
INFO: Number of created files: 23,941 (reg: 18,583, dir: 2,305, link: 3,021, dev: 2, special: 30)
INFO: Number of deleted files: 0
INFO: Number of regular files transferred: 18,565
INFO: Total file size: 1,253,051,716 bytes
INFO: Total transferred file size: 1,133,995,011 bytes
INFO: Literal data: 1,133,995,011 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 458,729
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 1,135,756,180
INFO: Total bytes received: 375,978
INFO: sent 1,135,756,180 bytes received 375,978 bytes 50,494,762.58 bytes/sec
INFO: total size is 1,253,051,716 speedup is 1.10
INFO: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
ERROR: Backup of VM 100 failed - command 'rsync --stats -X -A --numeric-ids -aH --delete --no-whole-file --sparse --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' /proc/30490/root///./ /tmp/backup_tmp/vzdumptmp32759' failed: exit code 23
INFO: Backup job finished with errors
TASK ERROR: job errors
If I try shutting down the CT and backing up to local storage, I get this error:
Code:
()
INFO: starting new backup job: vzdump 100 --compress lzo --remove 0 --node Wash --storage local --mode snapshot
INFO: Starting Backup of VM 100 (lxc)
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: Teamspeak
INFO: creating archive '/var/lib/vz/dump/vzdump-lxc-100-2018_04_17-10_45_43.tar.lzo'
INFO: tar: ./usr/lib/X11/xedit/lisp/xedit.lsp: Cannot stat: Bad message
INFO: Total bytes written: 1174835200 (1.1GiB, 65MiB/s)
INFO: tar: Exiting with failure status due to previous errors
ERROR: Backup of VM 100 failed - command 'set -o pipefail && tar cpf - --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' --one-file-system '--warning=no-file-ignored' '--directory=/tmp/backup_tmp/vzdumptmp16230' ./etc/vzdump/pct.conf '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | lzop >/var/lib/vz/dump/vzdump-lxc-100-2018_04_17-10_45_43.tar.dat' failed: exit code 2
INFO: Backup job finished with errors
TASK ERROR: job errors
Thank you to anyone that can help me out!
Last edited: