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


Re: [Xen-users] Using lvm for domUs

To: "Nico Kadel-Garcia" <nkadel@xxxxxxxxx>
Subject: Re: [Xen-users] Using lvm for domUs
From: "Rene Purcell" <rene.purcell@xxxxxxxxx>
Date: Mon, 7 May 2007 15:14:39 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 07 May 2007 12:13:15 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=OICojz2db4GOTOlOPNq9CT5OJ2tWTwNYrNdlVW7eDdICh1WguVT2NdJTAsJGQqd/mtM7Dodyzp/aDghgLweMiHfHdctfRuJiAjygT+kYm0cWh1vaBuAP3yRQLB8Z7CjOPNw2yxvtzwUfCmzmiBOZegJdg6sgXQ2mwuNI8+VHIE8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=iSyUmPjNfMntGl+qxHQkh1R1s7qkbOkKfC8VANnJeEVs5mvDg5EJhhbURERDDaYOWPfIe62nYT+lKVM2kaFF+bWfLBRl2Jk4xeMUD58aVZEHNVtiISIj/Hx827hpLcfRGrQtc7E2D8vo6y9v2XmM36QgYgzcdkhEIS84kCf3qvo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <463E5C9F.4090005@xxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4170c1720704301129k4cc8eac3m32395ce16c7c20ec@xxxxxxxxxxxxxx> <46363F2B.1090008@xxxxxxxxx> <46364D5F.4020503@xxxxxxxxxxxxxx> <5a4fbd6c0705020156l29eff77ar28ebcaa1961b0f68@xxxxxxxxxxxxxx> <878xc4yla9.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <463B068C.7060808@xxxxxxxxx> <874pmsyini.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <463B0F34.10603@xxxxxxxxx> <876475lnpy.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <463E5C9F.4090005@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
did you create partition in your LV ? I mean you added something like "phy:/dev/main/xen_DomU_logs,hda,w" when you've installed your distribution did you create a partition hda1 in the installation process or did you just copy some data into hda ?

what's the distro you've installed ?

On 5/6/07, Nico Kadel-Garcia <nkadel@xxxxxxxxx > wrote:
Goswin von Brederlow wrote:
> Nico Kadel-Garcia < nkadel@xxxxxxxxx> writes:
>> Goswin von Brederlow wrote:
>>> You can always create LVs in dom0 and export them as sda1/2/3/... to
>>> domU. You have to reboot domU to resize anyway. That way you can then
>>> snapshot them in dom0, mount the snapshot and run your backup.
>> I do that now, but I can't do a raw install that way using
>> virt-install or virt-manager, so doing that virst install is a pain in
>> the neck to get a working image. The jailtime.org images are good, but
>> not so useful for non-RPM based OS's.
> In debian there is xen-create-image that you can tell a lvm VG and it
> creates its own root and swap volumes there and installs debian. After
> that you just have to add additional volumes and move data as needed.
> Neat tool.
That's precisely what virt-manager and virt-install do. This does not
solve my difficulty of accessing the contents of the LVM partitions from
Dom0 to do backkup.

Xen-users mailing list

René Jr Purcell
Chargé de projet, sécurité et sytèmes
Techno Centre Logiciels Libres, http://www.tc2l.ca/
Téléphone : (418) 681-2929 #124
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>