Error while lzop vma extract via bash "no device mapping..."

mabor

New Member
Mar 8, 2016
1
0
1
44
We want to extract the qcow2 images from a vma.lzo dump.
Therefor we have to create an empty xxx.fifo file to pipe the lzop -d -c data.
The bash command looks like:
lzop -d -c vzdump-qemu-101-2016_03_08-02_10_02.vma.lzo|vma extract -v -r xxx.fifo - /var/lib/vz/test5

The output:
CFG: size: 467 name: qemu-server.conf
DEV: dev_id=1 size: 171798691840 devname: drive-virtio0
DEV: dev_id=2 size: 2147483648 devname: drive-virtio1
CTIME: Tue Mar 8 02:10:03 2016

** (process:27886): ERROR **: no device name mapping for drive-virtio0
Trace/breakpoint trap

Is there something we have to prepare befor extracting the vma dump?

Proxmox 4.1
 
Hi,

this is not that easy.
If you what to dump your data easily.
Restore the vm on a not used VMnumber like 9999999.
Then loop mount the disk image.