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

[Xen-users] LVM partitions on PV domU


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Matthias Reif <matthreif@xxxxxxxxx>
  • Date: Thu, 18 Jun 2009 14:38:21 +1000
  • Delivery-date: Wed, 17 Jun 2009 21:39:05 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=hc8mG1JJrDub6D5lFN/bJVhVPQP0UnSPiiFceAdAEl+knGssZiItG9KAF81cOMWs7S GXZ9b1hyZ+IsAzt4fBJOn3YdWc+stO+cW9P15y3Jh07B0JSDFl/8JGCfB9XmCgLw/isx Lje7FsGh67R9Ok65uUhe/0UIjXY0ldA5wrYlQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi All,

I am trying to install a 32-bit CentOS 5 paravirtualised domU based on
the instructions at
http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU.

I would like to allocate storage to the domU as a number of LVM
logical volumes instead of a single disk image.

Ie.

kernel = "/domx/boot/vmlinuz-xen-install"
ramdisk = "/domx/boot/initrd-xen-install"
extra = "text"

[...]

disk = [ 'phy:/dev/sage/root,xvda1,w',
        'phy:/dev/sage/usr,xvda2,w',
        'phy:/dev/sage/swap,xvda3,w',
        'phy:/dev/sage/tmp,xvda4,w',
        'phy:/dev/sage/var,xvda5,w' ]
[...]

I was hoping the logical volumes would appear as partitions inside the
domU, but instead the installer recognises them as separate disk
devices and wants me to partition each of them, ie. xvda11, xvda21,
etc.

Is this expected behaviour?

Is it at all possible to pass LV partitions through to the domU as
partitions instead of disk devices?

dom0 = CentOS 5.2 64-bit
Xen = 3.3.1

Thank you.

Matthias

_______________________________________________
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®.