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] logical volumes, virt-install and snaphots

To: Philippe Trolliet <p.trolliet@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] logical volumes, virt-install and snaphots
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Mon, 21 May 2007 21:11:14 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 May 2007 13:09:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4651FBB1.504@xxxxxxxxxxxxxxx>
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: <f2k01n$op2$1@xxxxxxxxxxxxx> <200705181644.52770.mark.williamson@xxxxxxxxxxxx> <464DEC19.6040704@xxxxxxxx> <4651FBB1.504@xxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Mon, May 21, 2007 at 10:06:09PM +0200, Philippe Trolliet wrote:
> hi,
> i´m using Fedora Core 6 as dom0 and domU. is it possible to use
> virt-install with logical volumes created in the dom0? is there any
> howto out there how this works?
> the purpose of this is, that i want to make snapshots from those
> domU-lv´s in the dom0.

Sure, the --file parameter to virt-install will happily accept a path to
a plain file, a raw partition or an LVM volume. In retrospect it would
have been better called --disk :-)

 # virt-install \
              --name demo \
              --ram 500 \
              --file /dev/VolGroup00/DemoVM \
http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/ \
              --paravirt \

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>