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

[Xen-users] LVM partitions on PV domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] LVM partitions on PV domU
From: Matthias Reif <matthreif@xxxxxxxxx>
Date: Thu, 18 Jun 2009 14:38:21 +1000
Delivery-date: Wed, 17 Jun 2009 21:39:05 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=jzIohmstkvaS0kwDzZYPEqKo4JeKpBi97VkxJzuegtQ=; b=XyE59S5Lbcn9yKw+61hfBdgo0muwXBvqTIuh1qYZTMCxeeYFl4T03Kd+xsYIBJTUyP dtMp/6h9r0rsdYOif2QNEQxyVafkzIscL5uqBH442H5L91Wwv/Ps1l1gITLmBs3k6942 vwiAGP9A4cIeWzQnFtjY7MFkOOEL+t8kCvAjA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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