squeeze: xen 4.0.1-2 + drbd8-utils: block-drbd script does no longer work?!
Hi all,
I've upgraded an xen+drbd+lvm debian system to squeeze.
The DomUs utilize DRBD-ressources for storage (based on local LV)
Unfortunately the block-drbd helper script provided by drbd8-utils
doesn't seem to work anymore:
root@xena:~# xm create -c /etc/xen/bldlenny32.cfg
Using config file "/etc/xen/bldlenny32.cfg".
root@xena:~# Error: Device 51714 (vbd) could not be connected. Hotplug
scripts not working.
I can start the DomU if a change the domU cfg
from
disk = [ 'drbd:bldlenny32-disk,xvda2,w', 'drbd:bldlenny32-swap,xvda1,w']
to
disk = [ 'phy:/dev/drbd/by-res/bldlenny32-disk,xvda2,w',
'phy:/dev/drbd/by-res/bldlenny32-swap,xvda1,w']
and of course then having to manually changing the DRBD ressource states
to primary before start:
drbdadm primary bldlenny32-disk bldlenny32-swap
The block-drbd helper script works on an older system with debian/lenny
(+ some parts of older sid)
Does anyone have a working configuration using the drbd: naming scheme?
Installed packages:
ii drbd8-utils 2:8.3.7-2.1
ii linux-image-2.6.32-5-xen-amd64 2.6.32-30
ii linux-image-xen-amd64 2.6.32+28
ii linux-modules-2.6.26-2-xen-amd64
ii xen-docs-4.0 4.0.1-2
ii xen-hypervisor-4.0-amd64 4.0.1-2
ii xen-linux-system-2.6.32-5-xen-amd64 2.6.32-30
ii xen-qemu-dm-4.0 4.0.1-2
ii xen-utils-4.0 4.0.1-2
ii xen-utils-common 4.0.0-1
ii xenstore-utils 4.0.1-2
/etc/xen/bldlenny32.cfg:
name = 'bldlenny32'
kernel = '/boot/vmlinuz-2.6.26-2-xen-amd64'
ramdisk = '/boot/initrd.img-2.6.26-2-xen-amd64'
extra = 'clocksource=jiffies'
memory = '1024'
root = '/dev/xvda2 ro'
disk = [ 'drbd:bldlenny32-disk,xvda2,w',
'drbd:bldlenny32-swap,xvda1,w',
]
dhcp = 'dhcp'
vif = [ 'bridge=brvlan1, mac=00:16:3E:40:FB:EE' ]
Thanks in advance for any hints,
Bruno
-- bruno a t voigt.tv
Reply to: