[sheepdog] snapshot rollback ?
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Tue Aug 28 05:25:02 CEST 2012
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
More information about the sheepdog
mailing list