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

RE: [Xen-users] LVM partitions on PV domU



Hi,

 

You can pass a LVM partition (one) to the DomU as a disk (as you have discovered). Then you can let the DomU partition it.

 

If you have a need to access the partitions of the DomU, in Dom0, then you can make use of kpartx to access them.

 

Regards,

Alan

 

-----Original Message-----
From: Matthias Reif [mailto:matthreif@xxxxxxxxx]
Sent: Thursday, 18 June 2009 2:38 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] LVM partitions on PV domU

 

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

 

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