Ceph Restore Failure

Cayuga

Renowned Member
May 3, 2011
86
0
71
I've done a lot of restores to both Ceph and local storage with 2.3. But, this morning I went to do a restore and got this error. Does anyone know how to get around it (I tried with both the most recent and the previous backups of this VM and got the same error):

restore vma archive: lzop -d -c /mnt/pve/proxsnaps6/dump/vzdump-qemu-115-2013_03_21-00_49_42.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp225802.fifo - /var/tmp/vzdumptmp225802
CFG: size: 316 name: qemu-server.conf
DEV: dev_id=1 size: 42064081920 devname: drive-virtio0
CTIME: Thu Mar 21 00:49:47 2013
TASK ERROR: command 'lzop -d -c /mnt/pve/proxsnaps6/dump/vzdump-qemu-115-2013_03_21-00_49_42.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp225802.fifo - /var/tmp/vzdumptmp225802' failed: rbd create vm-115-disk-1' error: rbd: strict_strtoll: garbage

at end of string. got: '40115.4345703125'
 
Different error (I tried with the two most recent backups for this VM):

restore vma archive: lzop -d -c /mnt/pve/proxsnaps6/dump/vzdump-qemu-115-2013_03_21-00_49_42.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp951331.fifo - /var/tmp/vzdumptmp951331
CFG: size: 316 name: qemu-server.conf
DEV: dev_id=1 size: 42064081920 devname: drive-virtio0
CTIME: Thu Mar 21 00:49:47 2013
new volume ID is 'cephcluster:vm-115-disk-1'
map 'drive-virtio0' to 'rbd:rbd/vm-115-disk-1:mon_host=172.16.170.1\:6789\;172.16.170.2\:6789\;172.16.170.3\:6789:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/cephcluster.keyring' (write zeros = 1)

** ERROR **: vma_reader_register_bs for stream drive-virtio0 failed - unexpected size 42064674816 != 42064081920
aborting...
/bin/bash: line 1: 951333 Broken pipe lzop -d -c /mnt/pve/proxsnaps6/dump/vzdump-qemu-115-2013_03_21-00_49_42.vma.lzo
951334 Aborted | vma extract -v -r /var/tmp/vzdumptmp951331.fifo - /var/tmp/vzdumptmp951331
temporary volume 'cephcluster:vm-115-disk-1' sucessfuly removed
TASK ERROR: command 'lzop -d -c /mnt/pve/proxsnaps6/dump/vzdump-qemu-115-2013_03_21-00_49_42.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp951331.fifo - /var/tmp/vzdumptmp951331'

failed: exit code 134
 
Looks like the original problem:

restore vma archive: lzop -d -c /mnt/pve/proxsnaps6/dump/vzdump-qemu-115-2013_03_21-00_49_42.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp61863.fifo - /var/tmp/vzdumptmp61863CFG: size: 316 name: qemu-server.conf
DEV: dev_id=1 size: 42064081920 devname: drive-virtio0
CTIME: Thu Mar 21 00:49:47 2013
TASK ERROR: command 'lzop -d -c /mnt/pve/proxsnaps6/dump/vzdump-qemu-115-2013_03_21-00_49_42.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp61863.fifo - /var/tmp/vzdumptmp61863' failed: rbd create vm-115-disk-1' error: rbd: strict_strtoll: garbage at end of string. got: '40115.4345703125'
 
Dietmar,

You are absolutely correct. When I installed both new packages the restore worked perfectly and the restored VM just booted successfully.

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!