[sheepdog] snapshot rollback ?

Alexandre DERUMIER aderumier at odiso.com
Tue Aug 28 09:36:11 CEST 2012


Yes indeed, this was with live vm.

This make sense why my results are strange.

I'll try with savevm

Thanks !



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

De: "MORITA Kazutaka" <morita.kazutaka at lab.ntt.co.jp> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: "MORITA Kazutaka" <morita.kazutaka at lab.ntt.co.jp>, sheepdog at lists.wpkg.org 
Envoyé: Mardi 28 Août 2012 05:25:02 
Objet: Re: [sheepdog] snapshot rollback ? 

At Mon, 27 Aug 2012 09:24:57 +0200 (CEST), 
Alexandre DERUMIER wrote: 
> 
> Ok, I have upgrade to last sheepdog git,seem to work better but 
> 
> now: 
> 
> #collie vdi create image1 1G 
> start qemu with file=sheepdog:image1 
> #collie vdi tree 
> image1---(you are here) 
> 
> content of image1: 
> #touch beforesnap1 / 
> #ls -l 
> /beforesnap1 
> 
> now I take a snapshot snap1: 
> #collie vdi snapshot -s snap1 image 
> #collie vdi tree 
> image1---[2012-08-27 09:07]---(you are here) 

Are you trying to take a snapshot of a running VM? Unfortunately, the 
only way to take live snapshots is a 'savevm' command from qemu 
monitor now. 

To support live snapshots from collie or qemu-img commands, we need to 
modify sheepdog block driver code so that it reloads a vdi object 
after a snapshot is taken. 

Thanks, 

Kazutaka 



-- 

-- 



	

Alexandre D e rumier 

Ingénieur Systèmes et Réseaux 


Fixe : 03 20 68 88 85 

Fax : 03 20 68 90 88 


45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 




More information about the sheepdog mailing list