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] LVM & volume groups

To: Olivier Le Cam <Olivier.LeCam@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] LVM & volume groups
From: Rich Yumul <rmy@xxxxxxxxxxxxx>
Date: Wed, 06 Dec 2006 16:05:40 -0800
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 06 Dec 2006 16:05:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <457758A8.7020604@xxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: SDTechnix, LLC.
References: <1165444031.30447.246.camel@yavin> <457758A8.7020604@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: rmy@xxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for your reply - What I really want to know is that if each virtual machine should be on it's own volume group, or if it's ok if all the domU's share the same volume group?  Or does it even make a difference?

Thanks!

Rich

On Thu, 2006-12-07 at 00:56 +0100, Olivier Le Cam wrote:
Rich Yumul wrote:
> Can anybody tell me if it makes a difference if domU's have separate LVM 
> volume groups? 
> 
> For instance, the Xen User Manual ( 
> http://tx.downloads.xensource.com/downloads/docs/user/#SECTION03330000000000000000) 
> says, when setting up a domU's disks with LVM, to do a
> 
> vgcreate vg /dev/sda10
> 
> Should each domU have it's own volume group, or can all the domU's share 
> the 'vg' volume group?

It's related to LVM, not to Xen. You can create several logical volumes 
(lvcreate) in a volume group. These volumes will be "shown" as normal 
devices in /dev/vg/.

Each DomU can then be attached to one (or several, depending on the 
number of "disks" your DomU is attached to) logical volume of the same 
volume group:

lcslis-dom0:~# lvscan
   ACTIVE            '/dev/vg1/slis-part1' [8,00 GB] inherit
   ACTIVE            '/dev/vg1/slis-part3' [1,00 GB] inherit
   ACTIVE            '/dev/vg1/slis-swap' [512,00 MB] inherit
   ACTIVE            '/dev/vg1/lcs-part1' [8,00 GB] inherit
   ACTIVE            '/dev/vg1/lcs-swap' [512,00 MB] inherit
   ACTIVE            '/dev/vg1/debian-swap' [512,00 MB] inherit
   ACTIVE            '/dev/vg1/slis-part2' [10,25 GB] inherit
   ACTIVE            '/dev/vg1/lcs-part2' [10,25 GB] inherit
   ACTIVE            '/dev/vg1/lcs-part3' [10,25 GB] inherit
   ACTIVE            '/dev/vg1/debian-part1' [10,25 GB] inherit

I have there 3 DomUs running on: slis, lcs and debian.

HTH

______________________________________
Richard Yumul
rmy@xxxxxxxxxxxxx
http://www.sdtechnix.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>