[pve-devel] vm migration + storage migration with ndb workflow notes

Alexandre DERUMIER aderumier at odiso.com
Mon Jan 21 10:34:53 CET 2013


>>OK, I see. But then template copy/clone only works if the template if offline?

I have also add online vm cloning feature, without template.

But yes, with template flag on current, vm is offline.

My disk copy code, just use qemu-img if offline or drive-mirror if online.


I reuse same copy code for "qm move", 
that's why I think we can keep qemu-img for offline as implementation is already done.



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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: "Michael Rasmussen" <mir at datanom.net>, pve-devel at pve.proxmox.com 
Envoyé: Lundi 21 Janvier 2013 10:26:14 
Objet: RE: [pve-devel] vm migration + storage migration with ndb workflow notes 

> >>Sorry, but why do you want to copy one drive multiple times? 
> 
> This is about vm cloning. (not storage migration, but this is a disk copy in 
> both case). 
> Multiple users can clone a template vm at the same time. 
> 
> Other thing that qemu-img can do is a copy of a disk 
> snapshot.(qcow2,rbd,sheepdog) 

OK, I see. But then template copy/clone only works if the template if offline? 

(yes, I know - I should read your code instead) 



More information about the pve-devel mailing list