WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

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