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

[Xen-users] DomU not seeing the LVMs I'm passing in the config



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.