[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Auto revertable disk


> How do I create a Virtual Machine disk that when started the user can
> do whatever they like however,
> when the domain ends (for any reason) the state of the disk is
> automatically reverted to it's original state.
> I think this could be as easy as creating a copy on write VHD of the
> disk I want to use as the "clean state".
> Then before starting the domain, delete the VHD and re-create it, then
> create the domain.
> It's trivial to script this, but if the user was to "restart" then I
> want it reverted to.  So how do I detect a reboot etc?

I haven't a real clue, but I wonder whether you can do something with
btrfs and snapshots.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.