Vzdump sometimes fails with error code 2

N

nick2585

Guest
I am trying to backup my servers so I can update from Proxmox 1.9 to 2.x but I cannot get 2 of them to properly backup (there are 2 more that work fine). I am running Lenny (up to date) with kernel 2.36.18. If anyone could help me with this it would be much appreciated!

Here is what I get:

101: Oct 24 22:00:02 INFO: Starting Backup of VM 101 (openvz)101: Oct 24 22:00:02 INFO: CTID 101 exist mounted running101: Oct 24 22:00:02 INFO: status = CTID 101 exist mounted running101: Oct 24 22:00:02 INFO: backup mode: snapshot101: Oct 24 22:00:02 INFO: ionice priority: 7101: Oct 24 22:00:02 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap-proxmox-0')101: Oct 24 22:00:03 INFO: Logical volume "vzsnap-proxmox-0" created101: Oct 24 22:00:03 INFO: creating archive '/harddrive2/vzdump-openvz-101-2012_10_24-22_00_02.tar'101: Oct 25 07:03:23 INFO: Total bytes written: 221085450240 (206GiB, ?/s)101: Oct 25 07:03:23 INFO: tar: -: Wrote only 4096 of 10240 bytes101: Oct 25 07:03:23 INFO: tar: Error is not recoverable: exiting now101: Oct 25 07:03:27 INFO: Logical volume "vzsnap-proxmox-0" successfully removed101: Oct 25 07:08:55 ERROR: Backup of VM 101 failed - command '(cd /mnt/vzsnap0/private/101;find . '(' -regex '^\.$' ')' -o '(' -type 's' -prune ')' -o -print0|sed 's/\\/\\\\/g'|tar cpf - --totals --sparse --numeric-owner --no-recursion --ignore-failed-read --one-file-system --null -T -) >/harddrive2/vzdump-openvz-101-2012_10_24-22_00_02.dat' failed with exit code 2

104: Oct 25 07:08:55 INFO: Starting Backup of VM 104 (openvz)104: Oct 25 07:08:55 INFO: CTID 104 exist mounted running104: Oct 25 07:08:55 INFO: status = CTID 104 exist mounted running104: Oct 25 07:08:58 INFO: backup mode: snapshot104: Oct 25 07:08:58 INFO: ionice priority: 7104: Oct 25 07:08:58 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap-proxmox-0')104: Oct 25 07:08:59 INFO: Logical volume "vzsnap-proxmox-0" created104: Oct 25 07:08:59 INFO: creating archive '/harddrive2/vzdump-openvz-104-2012_10_25-07_08_55.tar'104: Oct 25 13:54:03 INFO: Total bytes written: 221085470720 (206GiB, ?/s)104: Oct 25 13:54:03 INFO: tar: -: Wrote only 8192 of 10240 bytes104: Oct 25 13:54:03 INFO: tar: Error is not recoverable: exiting now104: Oct 25 13:54:05 INFO: Logical volume "vzsnap-proxmox-0" successfully removed104: Oct 25 13:59:35 ERROR: Backup of VM 104 failed - command '(cd /mnt/vzsnap0/private/104;find . '(' -regex '^\.$' ')' -o '(' -type 's' -prune ')' -o -print0|sed 's/\\/\\\\/g'|tar cpf - --totals --sparse --numeric-owner --no-recursion --ignore-failed-read --one-file-system --null -T -) >/harddrive2/vzdump-openvz-104-2012_10_25-07_08_55.dat' failed with exit code 2
 
Last edited by a moderator:
Yes that was it. I didn't realize some failed backup jobs left behind huge .dat files that I needed to erase. Thank you.
 

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!