backup failed exit code 1

camaran

Active Member
Jul 14, 2013
59
1
28
I have this error when try to do backup in sospended mode and in snapshot
Code:
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2021-04-01 09:56:06
INFO: status = running
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: CT Name: vm1
INFO: including mount point rootfs ('/') in backup
INFO: starting first sync /proc/9427/root/ to /var/lib/tmp/vzdumptmp24361_100/
ERROR: Backup of VM 100 failed - command 'rsync --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' /proc/9427/root//./ /var/lib/tmp/vzdumptmp24361_100/' failed: exit code 11
INFO: Failed at 2021-04-01 09:57:45
INFO: Starting Backup of VM 101 (lxc)
 
so that means writing to the tmpdir somehow fails (no xattr/acl support?). please post the container and storage config and which FS you use for /var/lib/tmp
 
/var/lib/tmp is folder in storage and use ext4 and this is 100 setting

Code:
lxc.cgroup.relative = 0
lxc.cgroup.dir.monitor = lxc.monitor/100
lxc.cgroup.dir.container = lxc/100
lxc.cgroup.dir.container.inner = ns
lxc.arch = amd64
lxc.include = /usr/share/lxc/config/debian.common.conf
lxc.include = /usr/share/lxc/config/debian.userns.conf
lxc.seccomp.profile = /usr/share/lxc/config/pve-userns.seccomp
lxc.apparmor.profile = generated
lxc.apparmor.allow_nesting = 1
lxc.mount.auto = sys:mixed
lxc.monitor.unshare = 1
lxc.idmap = u 0 100000 65536
lxc.idmap = g 0 100000 65536
lxc.tty.max = 2
lxc.environment = TERM=linux
lxc.uts.name = vm1
lxc.cgroup.memory.limit_in_bytes = 4294967296
lxc.cgroup.memory.memsw.limit_in_bytes = 4294967296
lxc.cgroup.cpu.shares = 1024
lxc.rootfs.path = /var/lib/lxc/100/rootfs
lxc.net.0.type = veth
lxc.net.0.veth.pair = veth100i0
lxc.net.0.hwaddr = 02:00:00:09:bc:f4
lxc.net.0.name = eth0
lxc.net.0.script.up = /usr/share/lxc/lxcnetaddbr
lxc.cgroup.cpuset.cpus = 0,2

and storage setting

Code:
cat /etc/fstab
UUID=21b242df-3ebd-4c52-8d2e-eff350b811f4       /       ext4    defaults       01
LABEL=EFI_SYSPART       /boot/efi       vfat    defaults        0       1
UUID=b7d64c69-220f-4a9c-b016-927be3415df2       /var/lib/vz     ext4    defaults0       0
UUID=26ac4177-7cfc-4c77-beb9-090aca97ddb6       swap    swap    defaults       00
UUID=8a4b028b-dc35-41c3-bf47-406aabf1af5d       swap    swap    defaults       00
 
Last edited:
no, I meant the PVE config files:
  • /etc/pve/storage.cfg
  • /etc/pve/lxc/100.conf
maybe add the output of "mount" as well. thanks
 
fixed i add acl option
Code:
cat /etc/fstab
UUID=21b242df-3ebd-4c52-8d2e-eff350b811f4       /       ext4    defaults,acl       01
LABEL=EFI_SYSPART       /boot/efi       vfat    defaults        0       1
UUID=b7d64c69-220f-4a9c-b016-927be3415df2       /var/lib/vz     ext4    defaults,acl 0       0
UUID=26ac4177-7cfc-4c77-beb9-090aca97ddb6       swap    swap    defaults       00
UUID=8a4b028b-dc35-41c3-bf47-406aabf1af5d       swap    swap    defaults       00
 
  • Like
Reactions: fabian

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!