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

[Xen-users] snapshots with vhd-util/blktap2


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Carsten from Virtastic <carsten@xxxxxxxxxxxxx>
  • Date: Wed, 27 Jul 2011 17:51:56 +0100
  • Delivery-date: Wed, 27 Jul 2011 09:53:12 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=virtastic.com; h=from :content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; q=dns; s=selector1; b=WpEOykg3DXBRJjnq0RQcivcD AinLto+MTkZLnyalASnSoHg3ri7qfzg8ggYNjrD7TcLSnn4Za3QZlOkCVqWOG+Vr 9MMDonk534kaepD7VLKdOZgQ0GBNk8ZJk5qYCOz55ze0qCIvu4kVttA/h0bhs9Ey xKzesDfXsi6Tme5Xt3k=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi guys,

According to vhd-util's help, you can create snapshots from VHD files:

# vhd-util snapshot
options: <-n name> <-p parent name> [-l snapshot depth limit] [-m 
parent_is_raw] [-h help]

But the question is, how do I use them to revert? 

# vhd-util revert
options: <-n name> <-j journal> [-h help]

Where does the journal come from? I've noticed that the snapshots themselves 
never grow (they remain just a few kb in size).


I can use the scan and check operations and all that, and it's referring to the 
parent correctly. So the only bit which I seem to be missing is the journal.

The README, which is linked to from the Xen wiki [1] is not too helpful either, 
because it basically only covers creating and using VHD, but everything else 
seems to be left as an exercise to the reader. Manpages don't seem to exist. 
Anyone here able to shed some light on that subject please? :-)

Thanks!


Cheers
Carsten

[1] http://lxr.xensource.com/lxr/source/tools/blktap2/README



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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