Am 02.05.2013 13:09, schrieb Alexandre DERUMIER:
>>> Should be possible to fix qemu-img? 
> Yes, I think it should be possible. Code is not so huge.
> 
> But Maybe do you have a better understanding of the code. (As you have played 
> with backup ;)
> 
> What I don't understand if the format change from v2 to v1.
> 
> qemu-img convert should only copy block sector from source to target, and I 
> think that rbd format infos are outside the volume.

Yes they're outside of the volume. So i think qemu-img does not have
access to them. The only i idea i have is:
1.) disk must be created before
2.) qemu-img must skip blocks with 0 for rbd

Stefan

> ----- Mail original ----- 
> 
> De: "Dietmar Maurer" <diet...@proxmox.com> 
> À: "Stefan Priebe - Profihost AG" <s.pri...@profihost.ag>, "Alexandre 
> DERUMIER" <aderum...@odiso.com> 
> Cc: pve-devel@pve.proxmox.com 
> Envoyé: Jeudi 2 Mai 2013 13:03:13 
> Objet: RE: [pve-devel] copy_vm: new option -target 
> 
>> I also read that we'll loose sparseness with qemu-img as it does raw export 
>> and 
>> import. 
>>
>> The best way would be to use rbd cp in this case which does all the things. 
> 
> Should be possible to fix qemu-img? 
> 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to