[sheepdog] snapshot rollback ?

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Sun Aug 26 12:56:43 CEST 2012


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



More information about the sheepdog mailing list