[DRBD-user] debian xen321 - drbd usage with HVM DomU

Bruno.Voigt at ic3s.de Bruno.Voigt at ic3s.de
Thu Feb 7 16:34:18 CET 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


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

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']

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
--
bruno.voigt at ic3s.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080207/b1a07a7e/attachment.htm>


More information about the drbd-user mailing list