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] Partitioned LVM VBD

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Partitioned LVM VBD
From: lists@xxxxxxxxxxxxxxxx
Date: Tue, 5 Jul 2005 16:40:52 +1200
Delivery-date: Tue, 05 Jul 2005 04:35:37 +0000
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.8i
I remember some time ago, there was discussion about the use of an lvm volume 
as a partitioned vbd, whereby the 
xen domain is handed a single vbd which it then correctly detects as being 
partitioned and creates the associated 
device nodes. Try as I might, I am unable to get this to work. I've tried using 
devfs (which results in my gentoo 
install not being able to boot), and I've tried udev. What am I doing wrong?

I've included my domain config file so that you can get a better idea of what I 
mean.


------------------------------------------------
name = "wmcgrath"
kernel = "/boot/vmlinuz-2.6.10-xenU"
memory = 64

nics=1
vif = [ 'mac=aa:00:00:00:00:30' ]

disk = [ 'phy:/dev/fs/management,0301,w', 'phy:fs/wmcgrath,0800,w' ]

ip="210.55.104.30"
netmask="255.255.255.192"
gateway="210.55.104.62"

root = "/dev/hda1 ro"
extra = "4"

restart = 'onreboot'
------------------------------------------------

The logical volume in question is /dev/fs/wmcgrath, and I'm exporting it as 
/dev/sda (0800). However, inside the 
xen domain, it's recognised as sda0.

I'm using xen-2.0.6 with linux-2.6.11.10 for dom0 and linux-2.6.10 for domU.

Any help on this issue would be greatly appreciated.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Partitioned LVM VBD, lists <=