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

Re: [Xen-users] lomount + lvm


  • To: xen-users list <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Ryan Duff <ryanduff.list@xxxxxxxxx>
  • Date: Thu, 05 Feb 2009 21:26:04 -0500
  • Delivery-date: Thu, 05 Feb 2009 18:26:51 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=LKeT+fS6CF7Kk9nGDiTUOXPc0ryPHJtghpJu4JvWfXVfOH2vpRyn8SH7RQMSoG5WLs adbVwSB148bOgQqkSCnioPRE4VK8TYxmlnjXID3PSmjP80lMOjFWJbzwZLkCxXE/YkQa ML7MuSufa5uwCoOp7WXGSidCwnvuk2IpY/a/0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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