[pve-devel] PVE::Storage::volume_has_feature

Alexandre DERUMIER aderumier at odiso.com
Mon May 6 09:03:29 CEST 2013


also some infos here:

http://www.linux-kvm.com/content/be-more-productive-base-images-part-3

"qemu-img convert -O qcow2 -B master-windows2003-base.qcow2 master-windows2003.qcow2 final.qcow2"


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

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 6 Mai 2013 09:01:13 
Objet: Re: [pve-devel] PVE::Storage::volume_has_feature 

>>Sorry, I did not get that. Please can you explain more elaborate? 

We have a vmid 200, linked clone of vmid 100 with: 

base-100-disk-1.raw ---> vm-200-disk-1.qcow2 

then we want to full clone the vm 200. 

I don't known if 

"qemu-img convert vm-200-disk-1.qcow2", will work out of the box or if we need to specify the base-xxx somewhere. 

I never test it, maybe it work, maybe not... 

man say: 
"convert [-c] [-p] [-f fmt] [-t cache] [-O output_fmt] [-o options] [-s snapshot_name] [-S sparse_size] filename [filename2 [...]] output_filename" 

seem that we can pass multiple filenames 



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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 6 Mai 2013 08:16:18 
Objet: RE: [pve-devel] PVE::Storage::volume_has_feature 

> Another thing we need to handle, it's full clone of a vm which is a qcow2 linked 
> clone. 
> I think we need to add backing files chain in qemu-img convert parameters. 

Sorry, I did not get that. Please can you explain more elaborate? 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list