|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
Re: [Xen-users] LVM & volume groups 
| 
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
 | 
 |  | 
  
    |  |  |