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 10:22:06 +1000
Delivery-date: Thu, 18 Jun 2009 01:34:25 -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=Y61/bcxgDOW9Mqv5UQ0hvVBHoWv4wY8N5BvA0WbjiiHEWH/T7V/HaTp59xwtl+aLX9 WlWCbGBRcb8c0LBGvsFKu6dUiyc0ZYk4bjEgKBcxJ8YNKmx5+Nn6WYwrRrhNvN2OUNaR UwAUIfRe9LMY6AVa4bzMpKb0/74Vndkoqy294=
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=Qt6EWWnEqQGALKGN2xcRrmMqKj/r0hcHN9amrlL766ahayuOLxQ/sSkXJ9+9P4aTLp CtJIT7uiFCbowIx0RRXHzuCo9LR8B5UFS54HsA0ouAzgJXkks2FeQnc5U7mACWgiafNu FkTDx62TCvooTM6+XeQ5nyRpF5j0sSSSvqqno=
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>