Hi,
I'm running
debian/unstable with drbd from experimental
on a 2 node xen/drbd cluster

ii  linux-image-2.6.18-6-xen-amd64
ii  xen-hypervisor-3.2-1-amd64   3.2.0-2
ii  xen-utils-3.2-1              3.2.0-2
ii  xen-utils-common             3.1.0-1
ii  drbd8-source                 2:8.2.4-1
ii  drbd8-utils                  2:8.2.4-1

I want to start windows from a DRBD - Device,
similar to how I did it succesfully for linux guests.

But the disk definition doesn't work:

disk = [ 'drbd:win-disk,ioemu:hda,w']

The DomU starts but the BIOS says it finds no disk.

The following cfg instead works,
but I have to manually call "drbdadm primary win-disk"
and I had to patch /usr/lib/xen-3.2-1/lib/python/xen/xend/image.py
to not check that /dev/drbd15 is a regular file...

disk = [ 'file:/dev/drbd15,ioemu:hda,w']

Perhaps the xen-script of the drbd8-utils
has to passthru the ioemu param or something like that??
Thanks in advance for any hints!!

/etc/xen/win.cfg:
==
kernel = '/usr/lib/xen-3.2-1/boot/hvmloader'
builder= 'hvm'
memory = 1024
shadow_memory = 8
name = "win"
vcpus=2
vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=brvlan94,
model=ne2k_pci' ]
disk = [ 'file:/dev/drbd15,ioemu:hda,w']
#disk = [ 'drbd:win-disk,ioemu:hda,w']
device_model ='/usr/lib/xen-3.2-1/bin/qemu-dm'
boot="c"
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncconsole=1
==

WR,
Bruno
-- 
[EMAIL PROTECTED]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to