[pve-devel] [PATCH] Use block storage migration for migration of KVM machines with local based storages

Alexandre DERUMIER aderumier at odiso.com
Mon Nov 3 14:18:02 CET 2014


>>Maybe we should disallow to migrate when either snapshot exist 
yes  
>>or unused disks are used?

I'm not sure but maybe it could be possible to use blockdev-add to add the unused disk inside qemu
(without exposing it inside the guest with device_add).
Like this, maybe it could be possibly work.



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

De: "Kamil Trzciński" <ayufan at ayufan.eu> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 3 Novembre 2014 14:11:43 
Objet: Re: [pve-devel] [PATCH] Use block storage migration for migration of KVM machines with local based storages 


Maybe we should disallow to migrate when either snapshot exist or unused disks are used? 




On Mon, Nov 3, 2014 at 2:07 PM, Alexandre DERUMIER < aderumier at odiso.com > wrote: 


Also some notes I have I mind : 

- We should avoid migration if snapshot exist. 
(because disk sync will delete snasphots) 

- We need to sync unused disks 

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

De: "Kamil Trzciński" < ayufan at ayufan.eu > 
À: "Alexandre DERUMIER" < aderumier at odiso.com > 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 3 Novembre 2014 13:30:26 
Objet: Re: [pve-devel] [PATCH] Use block storage migration for migration of KVM machines with local based storages 








I didn't known about the blk=> option in qmp migrate. 





It's already for some time. I were doing migrations with blk a two years ago :) 






-- 

Kamil Trzciński 

ayufan at ayufan.eu 
www.ayufan.eu 



More information about the pve-devel mailing list