vzdump warnings/errors.

Re: failed: exit code 5

regarding 'lvcreate --size 3000M ' I think this shows that I have at least 3000M for snapshot:
Code:
root@homenet-fbc10 /etc # vgs
  clvmd not running on node fbc158
  clvmd not running on node fbc158
  clvmd not running on node fbc158
  VG     #PV #LV #SN Attr   VSize   VFree  
  drbdvg   1   2   0 wz--nc 186.26g 177.26g
  fbc10    1   2   0 wz--n-  99.76g  86.79g
  pve      1   1   0 wz--n- 186.26g   9.32g
 
Re: failed: exit code 5

Code:
INFO: vm 3241 - unable to parse value of 'vlan0' - unknown setting 'vlan0'

This VM is copied from an 1.X system? Please convert the 'vlan0' setting to the new syntax ('net0')
 
Re: failed: exit code 5

OK I'll change that.

the vz was I think restored from a 1.9 system a few weeks ago using manual vzrestore.
 
suspend mode backup does not end

fbc8 is the server which had snapshot backup issues.

so I tried suspend mode . after 30+- hours the backup is still in progress. here is some info. I do not know if there is a bug somewhere , bad hardware , or bad config setup on my part.

pve 'Task Viewer: Backup' :
Code:
INFO: starting new backup job: vzdump 8003 --mode suspend --compress 1 --storage bkup8 --node fbc8
INFO: Starting Backup of VM 8003 (openvz)
INFO: CTID 8003 exist mounted running
INFO: status = running
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /var/lib/vz/private/8003/ to /bkup/pvebkp-fbc8//dump/vzdump-openvz-8003-2011_11_23-15_42_20.tmp
ps info
Code:
root@fbc8 /bkup/pvebkp-fbc8/dump # psgrep vzdump
root       72042       1  0 Nov23 ?        00:00:04 task UPID:fbc8:0001196A:00292FE3:4ECD5AAC:vzdump::root@pam:
root       72057   72042  0 Nov23 ?        00:00:00 sh -c rsync --stats -x --numeric-ids -aH --delete --no-whole-file --inplace '/var/lib/vz/private/8003/' '/bkup/pvebkp-fbc8//dump/vzdump-openvz-8003-2011_11_23-15_42_20.tmp'
root       72058   72057  0 Nov23 ?        00:01:57 rsync --stats -x --numeric-ids -aH --delete --no-whole-file --inplace /var/lib/vz/private/8003/ /bkup/pvebkp-fbc8//dump/vzdump-openvz-8003-2011_11_23-15_42_20.tmp
root       72059   72058  0 Nov23 ?        00:00:06 rsync --stats -x --numeric-ids -aH --delete --no-whole-file --inplace /var/lib/vz/private/8003/ /bkup/pvebkp-fbc8//dump/vzdump-openvz-8003-2011_11_23-15_42_20.tmp
root       72060   72059  0 Nov23 ?        00:02:18 rsync --stats -x --numeric-ids -aH --delete --no-whole-file --inplace /var/lib/vz/private/8003/ /bkup/pvebkp-fbc8//dump/vzdump-openvz-8003-2011_11_23-15_42_20.tmp
root@fbc8 /bkup/pvebkp-fbc8/dump # date
Thu Nov 24 21:38:22 EST 2011

the ct is running:
Code:
root@fbc8 /bkup/pvebkp-fbc8/dump # vzlist -a
      CTID      NPROC STATUS    IP_ADDR         HOSTNAME
      8001         44 running   -               cam1.fantinibakery.com
      8002        109 running   -               cam2.fantinibakery.com
      8003         98 running   -               cam3.fantinibakery.com
      8004        119 running   -               cam4.fantinibakery.com
during a suspend backup, is the container supposed to show as running?

there is nothing I can find in dmesg or syslog to indocate bad hardware, but I'll try to add another Directory for backups, and check if the target disk is bad.
 
suspend works, stop and snap do not

on this system, suspend works, snapshot and stop mode do not

Code:
INFO: starting new backup job: vzdump 106 --mode snapshot --compress 1 --storage pve-fbc10-bkp --node fbc10
INFO: Starting Backup of VM 106 (qemu)
INFO: status = running
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: vm-106-disk-1 must be active exclusively to create snapshot
ERROR: Backup of VM 106 failed - command 'lvcreate --size 1024M --snapshot --name 'vzsnap-fbc10-0' '/dev/drbdvg/vm-106-disk-1'' failed: exit code 5
INFO: Backup job finished with errors
TASK ERROR: job errors

Code:
INFO: starting new backup job: vzdump 106 --mode stop --compress 1 --storage pve-fbc10-bkp --node fbc10
INFO: Starting Backup of VM 106 (qemu)
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: stopping vm
INFO: 400 too many arguments
INFO: qm wait <vmid> [OPTIONS]
ERROR: Backup of VM 106 failed - command 'qm shutdown 106 --skiplock && qm wait 106 600' failed: exit code 9
INFO: Backup job finished with errors
TASK ERROR: job errors

Code:
INFO: starting new backup job: vzdump 106 --mode suspend --compress 1 --storage pve-fbc10-bkp --node fbc10
INFO: Starting Backup of VM 106 (qemu)
INFO: status = running
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: suspend vm
INFO: creating archive '/data/bkup/pve-fbc10-bkp/dump/vzdump-qemu-106-2011_11_25-09_08_11.tgz'
INFO: adding '/data/bkup/pve-fbc10-bkp/dump/vzdump-qemu-106-2011_11_25-09_08_11.tmp/qemu-server.conf' to archive ('qemu-server.conf')
INFO: adding '/dev/drbdvg/vm-106-disk-1' to archive ('vm-disk-ide0.raw')
INFO: Total bytes written: 2109842432 (12.82 MiB/s)
INFO: archive file size: 1.05GB
INFO: resume vm
INFO: vm is online again after 159 seconds
INFO: Finished Backup of VM 106 (00:02:39)
INFO: Backup job finished successfully
TASK OK



the storage is drbd become-primary-on both lvm
 
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!