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: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] LVM & volume groups
From: Olivier Le Cam <Olivier.LeCam@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 07 Dec 2006 00:56:24 +0100
Cc: rmy@xxxxxxxxxxxxx
Delivery-date: Wed, 06 Dec 2006 15:56:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1165444031.30447.246.camel@yavin>
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>
References: <1165444031.30447.246.camel@yavin>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
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

--
Olivier Le Cam
Département des Technologies de l'Information et de la Communication
CRDP de l'académie de Versailles

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

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