So recently I decided that it would be good to throw some test runs of Windows in Xen 3.2. So I am using kernel 2.6.24-19-xen on Ubuntu Sever 8.04 64-bit I believe. I wanted it to run on a logical volume within a lvm. So I created that. which looks like:
--- Logical volume ---
LV Name /dev/raid6_vg/w2k3-term-02
VG Name raid6_vg
LV UUID 1BYK9b-5ZQw-nYnG-JBLA-GutJ-YBCR-xxxx
LV Write Access read/write
LV Status available
# open 0
LV Size 29.30 GB
Current LE 7500
Read ahead sectors 0
Block device 254:1
I created network bridges for my nics which are ethx and those seem to be working as well. So next I went to get a windows hvm config which looks like:
import os, re
arch = os.uname()
if re.search('64', arch):
arch_libdir = 'lib64'
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
memory = 1024
shadow_memory = 8
name = "exmp"
vif = [ 'type=ioemu, bridge=eth1' ]
disk = [ ‘phy:/dev/raid6_vg/w2k3_term_02,hda,w’, 'file:/home/exmp/images/windows2003srv.iso,hdc:cdrom,r' ]
device_model = ‘/usr/’ + arch_libdir + ‘/xen/bin/qemu-dm’
Now no matter where I put the disk line it finds it and tells me there's a problem with it. I've checked everything I've renamed the lv group I've taken out the comments on the windows config. It doesn't matter no matter what it tells me it doesn't like it (Error on line). So I'm at a loss.
Any guidance would be greatly appreciated.