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: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] logical volumes, virt-install and snaphots
From: "Philippe Trolliet" <p.trolliet@xxxxxxxxxxxxxxx>
Date: Tue, 22 May 2007 10:00:56 +0200
Delivery-date: Tue, 22 May 2007 00:59:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <46523B4C.1000500@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> Daniel P. Berrange wrote:
> > 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 \
> >               --location 
> http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/ \
> >               --paravirt \
> >               --vnc
> > 
> ok, i´ve already done that. but i can´t access the partition/logical
> volume directly. in the partitioning dialog of the setup i just can
> access the xvda-Device.
> why can´t i access my logical volumes directly with virt-install?

when i start the vm and execute df i see that all data is stored on a device
named xvda. i created just one partition so it is xvda1.
i´m not able to mount the logical volume in the host system anymore when the
vm is shutted down. i get the message: "mount: you must specify a filesystem
what do i have to do to get access on the logical volume from my host
system? what happened here?


I am using the free version of SPAMfighter for private users.
It has removed 6509 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len

<<attachment: winmail.dat>>

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>