FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 02-07-2008, 06:11 PM
Bruno Voigt
Default xen 3.2 - usage with DRBD for Windows/HVM DomU's..

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!!

kernel = '/usr/lib/xen-3.2-1/boot/hvmloader'
builder= 'hvm'
memory = 1024
shadow_memory = 8
name = "win"
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'


Thread Tools

All times are GMT. The time now is 05:38 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org