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

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


you have to add 'drbd' in
/usr/lib64/python2.5/site-packages/xen/xend/server/blkif.py at line 59

                (typ, params) = string.split(uname, ':', 1)
                if typ not in ('phy', 'file', 'drbd', 'tap'):
                    raise VmError(
                        'Block device must have "phy", "file", "drbd" or
"tap" '
                        'specified to type')

remove /usr/lib64/python2.5/site-packages/xen/xend/server/blkif.pyc und
restart xend or reboot.

> 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?
> Longina

Dipl.-Wi.-Ing. Jochen Klotzbücher
Inline Online Internet Dienste GmbH
Kaiserstr. 121
D-76133 Karlsruhe
Tel: +49-721-96682-27, Fax: +49-721-96682-11

HRB 7454, Sitz Karlsruhe, Registergericht: Karlsruhe
Geschäftsführer: Dr. Andreas Werner, Dr. Armin Zundel 

Xen-users mailing list



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