Hi Guys,
I am having issues with the backup and restore functionality in Proxmox when working with VMs.
I have a qcow2 single disk VM which is about 12 GB in use (actual space consumed on the host) of a possible 64GB. The guest is Windows Server 2008 R2 with some extra 3rd party software installed.
I hit the backup button in the Proxmox GUI and use 'Snapshot' and 'LZO'. The backup completes without a hiccup. I then try and restore the backup to a new VMID and I get the below error.
I have repeated the backup a few times, and even tried it on 2 different VMs. One one, small VM (about 3GB of host disk used) the backup works fine but on another similar size (13GB) it fails every time.
Does anyone have any idea what is doing on?
I am having issues with the backup and restore functionality in Proxmox when working with VMs.
I have a qcow2 single disk VM which is about 12 GB in use (actual space consumed on the host) of a possible 64GB. The guest is Windows Server 2008 R2 with some extra 3rd party software installed.
I hit the backup button in the Proxmox GUI and use 'Snapshot' and 'LZO'. The backup completes without a hiccup. I then try and restore the backup to a new VMID and I get the below error.
Code:
restore vma archive: lzop -d -c /var/lib/vz/dump/vzdump-qemu-100-2013_03_11-11_11_29.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp898202.fifo - /var/tmp/vzdumptmp898202CFG: size: 277 name: qemu-server.conf
DEV: dev_id=1 size: 68719476736 devname: drive-virtio0
CTIME: Mon Mar 11 11:11:31 2013
Formatting '/mnt/vm/images/998/vm-998-disk-1.qcow2', fmt=qcow2 size=68719476736 encryption=off cluster_size=65536 preallocation='metadata' lazy_refcounts=off
new volume ID is 'VM:998/vm-998-disk-1.qcow2'
map 'drive-virtio0' to '/mnt/vm/images/998/vm-998-disk-1.qcow2' (write zeros = 0)
progress 1% (read 687210496 bytes, duration 1 sec)
progress 2% (read 1374420992 bytes, duration 4 sec)
progress 3% (read 2061631488 bytes, duration 6 sec)
progress 4% (read 2748841984 bytes, duration 8 sec)
progress 5% (read 3435986944 bytes, duration 10 sec)
progress 6% (read 4123197440 bytes, duration 13 sec)
progress 7% (read 4810407936 bytes, duration 15 sec)
progress 8% (read 5497618432 bytes, duration 18 sec)
progress 9% (read 6184763392 bytes, duration 20 sec)
progress 10% (read 6871973888 bytes, duration 22 sec)
progress 11% (read 7559184384 bytes, duration 25 sec)
progress 12% (read 8246394880 bytes, duration 25 sec)
progress 13% (read 8933539840 bytes, duration 25 sec)
progress 14% (read 9620750336 bytes, duration 26 sec)
progress 15% (read 10307960832 bytes, duration 26 sec)
progress 16% (read 10995171328 bytes, duration 26 sec)
progress 17% (read 11682316288 bytes, duration 26 sec)
progress 18% (read 12369526784 bytes, duration 26 sec)
progress 19% (read 13056737280 bytes, duration 26 sec)
progress 20% (read 13743947776 bytes, duration 26 sec)
progress 21% (read 14431092736 bytes, duration 27 sec)
progress 22% (read 15118303232 bytes, duration 29 sec)
progress 23% (read 15805513728 bytes, duration 31 sec)
progress 24% (read 16492724224 bytes, duration 32 sec)
progress 25% (read 17179869184 bytes, duration 35 sec)
progress 26% (read 17867079680 bytes, duration 38 sec)
progress 27% (read 18554290176 bytes, duration 40 sec)
lzop: /var/lib/vz/dump/vzdump-qemu-100-2013_03_11-11_11_29.vma.lzo: Compressed data violation
** ERROR **: restore failed - short vma extent (2939392 < 3801600)
aborting...
/bin/bash: line 1: 898204 Exit 1 lzop -d -c /var/lib/vz/dump/vzdump-qemu-100-2013_03_11-11_11_29.vma.lzo
898205 Aborted | vma extract -v -r /var/tmp/vzdumptmp898202.fifo - /var/tmp/vzdumptmp898202
temporary volume 'VM:998/vm-998-disk-1.qcow2' sucessfuly removed
TASK ERROR: command 'lzop -d -c /var/lib/vz/dump/vzdump-qemu-100-2013_03_11-11_11_29.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp898202.fifo - /var/tmp/vzdumptmp898202' failed: exit code 134
I have repeated the backup a few times, and even tried it on 2 different VMs. One one, small VM (about 3GB of host disk used) the backup works fine but on another similar size (13GB) it fails every time.
Does anyone have any idea what is doing on?