[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen 3.3 + Drbd - block device script broken?
I also have the same problem. The problem appears to be the addition off; /usr/lib/python2.5/site-packages/xen/xend/server/blkif.py try: (typ, params) = string.split(uname, ':', 1) if typ not in ('phy', 'file', 'tap'): raise VmError( 'Block device must have "phy", "file" or "tap" ' 'specified to type')I can get around it by adding drbd to it but means I have to edit each dom0 and restart xend. On 18 Sep 2008, at 07:52, Albert wrote: Hi I have two box xen 3.2.1 and 3.3. On the 3.3 box I can't use drbd as a device in the domu cfg. xm create -c test.cfg Using config file "/etc/xen/test.cfg". Error: Block device must have "phy", "file" or "tap" specified to type cat /etc/xen/test.cfg # Configuration file for the Xen instance test, created # by xen-tools 3.8 on Tue Sep 16 12:02:36 2008. # # # Kernel + memory size # kernel = '/boot/vmlinuz-2.6.24-21-xen' ramdisk = '/boot/initrd.img-2.6.24-21-xen' memory = '128' # # Disk device(s). # root = '/dev/xvda2 ro' #disk = [ # 'phy:/dev/vg/test-swap,xvda1,w', # 'phy:/dev/vg/test-disk,xvda2,w', # ] disk = [ 'drbd:test-swap,xvda1,w', 'drbd:test-disk,xvda2,w', ] # # Hostname # name = 'test' # # Networking # vif = [ 'ip=192.168.1.224,mac=00:16:3E:E7:E9:17' ] # # Behaviour # on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' #extra = '2 console=xvc0' extra='xencons=tty' Something is was changed ? Albert _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |