[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] logical volumes, virt-install and snaphots



> 
> 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
type".
what do i have to do to get access on the logical volume from my host
system? what happened here?

regards
philippe


-- 
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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.