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

mabor

New Member
Mar 8, 2016
1
0
1
43
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.
 

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!