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

Re: [Xen-users] lomount + lvm



Forgot, my conf files disk line of interest looks like this;

disk = [ "tap:aio:/var/lib/xen/images/foo.img,xvda,w" ]

- Brian




On Feb 5, 2009, at 6:26 PM, Ryan Duff wrote:

Brian Krusic wrote:
Hi all,

So on Centos/RHEL, LVMs are the default layout.

I can't figure out for the life of me, how to mount LVMs.

Any one know?

I love lomount as it allows me to check filesystems very easily, that
can't boot.

- Brian

What do you mean? Are you using LVM to create volumes then trying to
mount them with your xen config files to use as volumes in your DomUs?

If so, just use this in your config file:

disk = [ 'phy:/dev/xen/xen_machine,xvda,w', ]


Where xen is the volume group and xen_machine is the volume. Increment
xvd(a,b,c,etc) for each volume, its the volume name it will be mounted
with in the DomU. w makes it writeable.


--
Ryan Duff
web: http://www.ryanduff.net
aim: ryancduff
twitter: ryancduff

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
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®.