[PVE-User] image import to a lvm based vm

Alexandre DERUMIER aderumier at odiso.com
Mon Mar 4 10:42:21 CET 2013


>>1. i want to import older qcow2 based vms to my pve with lvm based 
>>storage. are there tools/workarounds available which makes that easier? 

You can use qemu-img convert.

First, create the lvm target volume
then

#qemu-img convert -p -C -f qcow2 -O host_device sourcefile.qcow2 /dev/lvmtargetdevice


----- Mail original ----- 

De: "Ingo Schmitt" <ingo.schmitt at binarysignals.net> 
À: pve-user at pve.proxmox.com 
Envoyé: Dimanche 3 Mars 2013 10:49:36 
Objet: [PVE-User] image import to a lvm based vm 

hello, 

i'm new to pve and have a few questions: 

1. i want to import older qcow2 based vms to my pve with lvm based 
storage. are there tools/workarounds available which makes that easier? 

2. can i use the vg i have allocated to pve for other things too 
or should i better create a separate one to avoid conflicts? 

3. not really related to pve, however: 
are any dancers when using lvm mirrors instead of mdadm disk mirrors? 

thx, 
ingo 
_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 



More information about the pve-user mailing list