>>The way you tried is correct, but I've never seen such results... Just to be sure, I can make snapshot when the vm is online ? >>What are the revisions of your qemu and sheepdog? qemu-kvm 1.2 rc1 and sheepdog 0.4. I'll retry today with qemu-kvm 1.1 stable, and also sheepdog 0.4 and sheepdog git. ----- 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é: Dimanche 26 Août 2012 12:56:43 Objet: Re: [sheepdog] snapshot rollback ? At Sun, 26 Aug 2012 11:17:05 +0200 (CEST), Alexandre DERUMIER wrote: > > Hi, > Sorry to disturb you again, > But I really don't understand how it's works. > > #collie vdi create image1 1G > start qemu with file=sheepdog:image1 > #collie vdi tree > image---(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 > vm-115-disk-1---[2012-08-26 10:38]---(you are here) > > content of image1: > #touch aftersnap1 > #ls -l > /beforesnap1 > /aftersnap1 > > Now, I stop the qemu guest. > and start it with file=sheepdog:image1:snap1 > #collie vdi tree > image1---[2012-08-26 10:38]---(you are here) > #ls -l > /aftersnap1 > > ????????? > > I expected to have > > ls -l > /beforesnap1 > > I's like I see only datas writen after snap1 > > So how can I rollback to time when snap1 was taken ? The way you tried is correct, but I've never seen such results... What are the revisions of your qemu and sheepdog? 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 |