I have a similar setup (ubuntu 8.04 hosts, xen guests of various flavors).<div><br></div><div>I created 2 new LVs on each host, updated and pushed the drbd.conf (snippet):</div><div><br></div><div><div>resource pd01-root {</div>
<div> device /dev/drbd32;</div><div> disk /dev/datavg/pd01-root;</div><div> meta-disk /dev/datavg/drbd_log[32];</div><div><br></div><div> on xen-80-31-00 {</div><div> address <a href="http://192.168.250.14:7732">192.168.250.14:7732</a>;</div>
<div> }</div><div><br></div><div> on xen-33-18-02 {</div><div> address <a href="http://192.168.250.12:7732">192.168.250.12:7732</a>;</div><div> }</div><div><br></div><div>}</div><div><br></div><div>======</div><div>
<br></div><div>"drbdadm create-md pd01-root" works on both hosts, "drbdadm up pd01-root" and "drbdadm -- -o primary pd01-root" works on one of the nodes, but the other node cannot "up" or even "connect" to the new device.</div>
<div><br></div><div>======</div><div><br></div><div><div>root@xen-80-31-00:~# drbdsetup 32 net <a href="http://192.168.250.14:7732">192.168.250.14:7732</a> <a href="http://192.168.250.12:7732">192.168.250.12:7732</a> C --set-defaults --create-device --allow-two-primaries</div>
<div>32: Failure: (127) Device minor not allocated</div><div><br></div><div>======</div></div><div><br></div><div>no messages in /var/log or dmesg to give a hint.</div><div><br></div><div>"drbdadm status" shows:</div>
<div><br></div><div><div><!-- resource minor="32" name="pd01-root" not available or not yet created --></div><div><br></div><div>which is expected.</div><div><br></div><div>I've done the start/stop drbd, reboot, etc.</div>
<div><br></div><div>This is on DRBD 8.3.1, Xen 3.4.0, linux 2.6.18.8 (with XenSource patches) -- same build on both hosts.</div></div><div><br></div><div>What can I try next to get more information for debugging this?</div>
<div><br></div>Thanks,</div><div>Sam</div>