Problem Backups Proxmox 6.1

Cortesano

Member
Feb 13, 2020
5
0
6
33
Hi, I have performed a new installation Proxmox 6.1 and I have problems with container backups. The Storage backups is NAS NFS, The problem also repeat in hdd local and external. only works when the container is off.

Container off = Backups OK
Container on = Backups Error

Task viewer Backup error

Code:
INFO: starting new backup job: vzdump 100 --node *******  --mode stop --storage backups --compress lzo --remove 0
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2020-02-13 11:48:47
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: dataserver
INFO: stopping vm
INFO: creating archive '/mnt/pve/backups/dump/vzdump-lxc-100-2020_02_13-11_48_47.tar.lzo'
mount: /mnt/vzsnap0: special device /dev/VirtDatos/vm-100-disk-0 does not exist.
umount: /mnt/vzsnap0/: not mounted.
command 'umount -l -d /mnt/vzsnap0/' failed: exit code 32
INFO: restarting vm
INFO: guest is online again after 8 seconds
ERROR: Backup of VM 100 failed - command 'mount /dev/VirtDatos/vm-100-disk-0 /mnt/vzsnap0//' failed: exit code 32
INFO: Failed at 2020-02-13 11:48:56
INFO: Backup job finished with errors
TASK ERROR: job errors

Task viewer Backup OK (Container shutdown)
Code:
()
INFO: starting new backup job: vzdump 101 --mode stop --node ******* --compress lzo --remove 0 --storage backups
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2020-02-13 12:14:06
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: netserver
INFO: creating archive '/mnt/pve/backups/dump/vzdump-lxc-101-2020_02_13-12_14_06.tar.lzo'
INFO: Total bytes written: 532234240 (508MiB, 3.8MiB/s)
INFO: archive file size: 246MB
INFO: Finished Backup of VM 101 (00:02:19)
INFO: Backup finished at 2020-02-13 12:16:25
INFO: Backup job finished successfully
TASK OK

pveversion -v
Code:
proxmox-ve: 6.1-2 (running kernel: 5.3.18-1-pve)
pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)
pve-kernel-5.3: 6.1-4
pve-kernel-helper: 6.1-4
pve-kernel-5.3.18-1-pve: 5.3.18-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.14-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-12
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-4
libpve-storage-perl: 6.1-4
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-19
pve-docs: 6.1-4
pve-edk2-firmware: 2.20191127-1
pve-firewall: 4.0-10
pve-firmware: 3.0-5
pve-ha-manager: 3.0-8
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-2
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-5
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1

Any idea?

Thanks
 
Last edited:
hi,

can you post the container configuration as well? (pct config CTID)
 
hi,

can you post the container configuration as well? (pct config CTID)


# pct config 100
arch: amd64
cores: 1
hostname: dataserver
memory: 2048
net0: name=eth0,bridge=vmbr0,gw=192.168.20.1,hwaddr=2A:9C:BE:E9:B2:F9,ip=192.168.20.11/24,type=veth
ostype: debian
rootfs: vms:vm-100-disk-0,size=600G
swap: 512
 
the two outputs in your first post are from different containers, which doesn't tell us too much about what could be going on.

in either case i suspect it could be storage related

could you please post:

* backup output of container 100 when it's on/off
* same for CT 101
* contents of /etc/pve/storage.conf so we can see what kind of storage you use

thanks
 
the two outputs in your first post are from different containers, which doesn't tell us too much about what could be going on.

in either case i suspect it could be storage related

could you please post:

* backup output of container 100 when it's on/off
* same for CT 101
* contents of /etc/pve/storage.conf so we can see what kind of storage you use

thanks


Container 100 on
Code:
INFO: starting new backup job: vzdump 100 --compress lzo --mode stop --remove 0 --node ****** --storage backups
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2020-02-14 17:01:22
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: dataserver
INFO: stopping vm
INFO: creating archive '/mnt/pve/backups/dump/vzdump-lxc-100-2020_02_14-17_01_22.tar.lzo'
mount: /mnt/vzsnap0: special device /dev/VirtDatos/vm-100-disk-0 does not exist.
umount: /mnt/vzsnap0/: not mounted.
command 'umount -l -d /mnt/vzsnap0/' failed: exit code 32
INFO: restarting vm
INFO: guest is online again after 4 seconds
ERROR: Backup of VM 100 failed - command 'mount /dev/VirtDatos/vm-100-disk-0 /mnt/vzsnap0//' failed: exit code 32
INFO: Failed at 2020-02-14 17:01:27
INFO: Backup job finished with errors
TASK ERROR: job errors

Container 100 off
Code:
INFO: starting new backup job: vzdump 100 --storage backups --compress lzo --mode stop --remove 0 --node ******
INFO: Starting Backup of VM 100 (lxc)
INFO: Backup started at 2020-02-14 17:02:25
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: dataserver
INFO: creating archive '/mnt/pve/backups/dump/vzdump-lxc-100-2020_02_14-17_02_25.tar.lzo'
INFO: Total bytes written: 1338193920 (1.3GiB, 44MiB/s)
INFO: archive file size: 676MB
INFO: Finished Backup of VM 100 (00:00:36)
INFO: Backup finished at 2020-02-14 17:03:01
INFO: Backup job finished successfully
TASK OK

Container 101 on
Code:
INFO: starting new backup job: vzdump 101 --mode stop --storage backups --compress lzo --node ******  --remove 0
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2020-02-14 17:03:50
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: netserver
INFO: stopping vm
INFO: creating archive '/mnt/pve/backups/dump/vzdump-lxc-101-2020_02_14-17_03_50.tar.lzo'
mount: /mnt/vzsnap0: special device /dev/VirtDatos/vm-101-disk-0 does not exist.
umount: /mnt/vzsnap0/: not mounted.
command 'umount -l -d /mnt/vzsnap0/' failed: exit code 32
INFO: restarting vm
INFO: guest is online again after 10 seconds
ERROR: Backup of VM 101 failed - command 'mount /dev/VirtDatos/vm-101-disk-0 /mnt/vzsnap0//' failed: exit code 32
INFO: Failed at 2020-02-14 17:04:00
INFO: Backup job finished with errors
TASK ERROR: job errors
Container 101 off
Code:
INFO: starting new backup job: vzdump 101 --remove 0 --node ******   --compress lzo --storage backups --mode stop
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2020-02-14 17:04:41
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: netserver
INFO: creating archive '/mnt/pve/backups/dump/vzdump-lxc-101-2020_02_14-17_04_41.tar.lzo'
INFO: Total bytes written: 676403200 (646MiB, 27MiB/s)
INFO: archive file size: 324MB
INFO: Finished Backup of VM 101 (00:00:29)
INFO: Backup finished at 2020-02-14 17:05:10
INFO: Backup job finished successfully
TASK OK

/etc/pve/storage.conf
Code:
# cat /etc/pve/storage.cfg
lvm: vms
        vgname VirtDatos
        content rootdir,images
        shared 0

dir: local
        path /var/lib/vz
        content snippets,iso,vztmpl,images,rootdir
        maxfiles 0

nfs: backups
        export /volume1/Backups
        path /mnt/pve/backups
        server 192.168.20.9
        content vztmpl,backup,images,rootdir,snippets,iso
        maxfiles 2

dir: Temporal
        disable
        path /mnt/temporal
        content backup
        maxfiles 2
        shared 0

This error ERROR: Backup of VM 100 failed - command 'mount /dev/VirtDatos/vm-100-disk-0 /mnt/vzsnap0//' failed: exit code 32
The command works in bash Ok. (Command.png)

Command.png

Thanks
 
hi,

thanks for the info, i was able to reproduce the issue. i'll take a look and try to come up with a fix
 
  • Like
Reactions: Cortesano
although not fixed yet i've narrowed the issue down to LVM devices and 'stop' mode.

can you try using 'suspend' mode while doing a backup? that could serve as a workaround until this is fixed
 
  • Like
Reactions: Cortesano
although not fixed yet i've narrowed the issue down to LVM devices and 'stop' mode.

can you try using 'suspend' mode while doing a backup? that could serve as a workaround until this is fixed

Hi,

The backup in mode "Suspend" work correctly. I will backups temporarily in this mode until to error fix.

Thanks!
 

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!