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-devel] LVM Snapshots: COW Internals

To: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] LVM Snapshots: COW Internals
From: "Marconi Rivello" <marconirivello@xxxxxxxxx>
Date: Fri, 26 May 2006 15:19:01 -0300
Delivery-date: Fri, 26 May 2006 11:19:55 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WH4B2okE0hRR5rCku5oadZeVz6wwudHOAT+EZXT/KjefJQqcHyNeE2IQaprX2HXw677gk/HMO2Bf22n5WPTBj8bWRKA14ec/KSFSUGB0i3E3i07YsgY14byfUE7dDSyyTu5QJQxv9P7bYtx1frw77ldkt8Qn0xHb5BRqRV0LhQE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bd15b9d50605260927o5ad8186bp3d9afa6f1a01cc8d@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <bd15b9d50605260927o5ad8186bp3d9afa6f1a01cc8d@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Could anybody point me where to find the internal structures of the COW devices in /dev/mapper?

What I want to do, exactly, is: make a backup of the snapshot in an image file, reading all the used blocks, and leaving the "not-used" ones. Later, I want to get the image file, and restore the cow device. But I can't find an LVM document describing exactly how the COW structure is stored in disk.

Marconi Rivello.
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] LVM Snapshots: COW Internals, Marconi Rivello <=