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

Re: [Xen-users] drbd integration in Xen3.3(Ubuntu)

Longina Przybyszewska wrote:
> On Thu, 27 Aug 2009, Matt wrote:
>> Longina Przybyszewska wrote:
>>> Hi,
>>> it seems that Xen3.3 in Ubuntu Hardy is missing integration with drbd:
>>> I get -
>>> Error: "Block device must have "phy", "file", or "tap" specified to
>>> type"
>>> when I try 'xm create test.cfg".
>>> VM 'test' has in config file 'drbd' resource as block device.
>>> disk    = ['drbd:test-swap,xvda1,w', 'drbd:test-disk,xvda2,w' ]
>>> Does anybody have success with this type of configuration on Ubuntu
>>> Hardy?
>> I had the same problems with my block-iscsi script. Maybe the
>> attached patch will work for you. This works for my paravirtualized
>> domUs, but not fully virtualized domUs.
> How you patched - and compiled? Do I have to get Xen-source from Ubuntu
> distribution?

No, you have to edit a plain text python file,
/usr/lib/python2.5/site-packages/xen/xend/server/blkif.py around
line 59 it should say something like:

if typ not in ('phy', 'file', 'tap'):

Change it to say:

if typ not in ('phy', 'file', 'tap', 'drbd'):

That should at least get you in the right direction if it doesn't
immediately help you.


Attachment: signature.asc
Description: OpenPGP digital signature

Xen-users mailing list



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