This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] snapshots with vhd-util/blktap2
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
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=virtastic.com; h=from :content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; s=selector1; bh=OL6eJsz3hmtur7UIC2BulNhtB6Q=; b= hTsjgpCQZ0vTqytqN1Fkh/IKpW54y1WYYa434hmu4NSvcwVKBnm1HnUSoQs7wQBL IkwT9nI52WUqNPaEkk1YhxQBAQeg+nPx+2mGLUbYkxwouInz/sW3K27esvMRekqy OC6sVQqGou3hpviHi++4nffkTSGE7j2l9aJ4t/ME6+Q=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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? :-)



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

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] snapshots with vhd-util/blktap2, Carsten from Virtastic <=