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] DomU not seeing the LVMs I'm passing in the config

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] DomU not seeing the LVMs I'm passing in the config
From: George Lenzer <George.Lenzer@xxxxxxx>
Date: Tue, 14 Aug 2007 12:10:56 -0400
Delivery-date: Fri, 17 Aug 2007 09:45:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: Thunderbird 2.0.0.4 (X11/20070604)
I'm using Xen 3.0.3 as packaged within CentOS 5 as my Dom0 system. I was able to easily get the system to talk to our SAN and then use RAID level "multipath" to group the multiple paths to the SAN into one /dev/md0 which I then sliced up with LVM into: /dev/xenstore/Zimbra-root and /dev/xenstore/Zimbra-swap. Zimbra-root is 500 gigs (which I recently found out won't work because of the Bochs BIOS in Xen's HVM version of QEMU) and Zimbra-swap is 16 gigs. When I boot up off of my RHEL 4.5 iso, the installer boots, but then says that no hard drives were found. Now I'm aware that there are massive changes being made to the config files, but since this is 3.0 I suspect the old Python style configs are still valid. Here's what I have to present my Dom0 logical volumes to the DomU:

disk = [ 'phy:xenstore/Zimbra-root,hda1,w', 'phy:xenstore/Zimbra-swap,hda2,w' ]

I've tried different iterations of that as well with Zimbra-root as hda and Zimbra-swap as hdb, as well as trying to present them as sda or sda1 and sdb or sda2. Nothing seems to work.

Here's my full config:

----------
import os, re
arch = os.uname()[4]
if re.search('64', arch):
   arch_libdir = 'lib64'
else:
   arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 4096
shadow_memory = 8
name = "Zimbra"
vcpus=2
pae=1
vif = [ 'type=ioemu, mac=00:16:3e:03:00:00, bridge=xenbr0, model=ne2k_pci' ]
disk = [ 'phy:xenstore/Zimbra-root,hda1,w', 'phy:xenstore/Zimbra-swap,hda2,w' ]
disk = [ 'file:/usr/src/RHEL4-U5-x86_64-AS-disc1.iso,hdc:cdrom,r' ]
root = "/dev/hda1 ro"
extra = "selinux=0 3"
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="dca"
sdl=0
vnc=1
stdvga=0
serial='pty'
usb=1
usbdevice='tablet'
----------

The hardware it's running on is an HP DL380 G5 with dual 64-bit Intel Xeons with multiple cores and 8 gigs of RAM. The eventual goal is to run RHEL with Zimbra on it and a few other DomUs as well. I'm pretty sure my problem here is simply one of not quite having the right syntax for the disk config.

Thanks,

George


--
George Lenzer
Computer and Networking Specialist
Cleveland Public Library
Automation Department
Office: (216)623-2981


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] DomU not seeing the LVMs I'm passing in the config, George Lenzer <=