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

To: xen-users list <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] lomount + lvm
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=cf83bxKCvsm1H5+KCQYYV5QSyVYGHkneaIF/v7Zi2wM=; b=FpA+XGqDE3D9cGPlramzwrywL395BzcssPojUPLRqWY1H2Zu0/gFhORaShWTZ6gZ8K B90i7VFhOs5aVtauwEgluwo5FGQOqlzIB3Pk6IzfrUM79MDI5FrfGHD6In2O/vWVsZld PmIDLFVhoO8g5pA9EIzDYfWXlBK79qslzTyRY=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D9C7B3A1-49C3-4D81-8839-06A05971D7C7@xxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <D9C7B3A1-49C3-4D81-8839-06A05971D7C7@xxxxxxxxxx>
Reply-to: ryanduff.list@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
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

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