[DRBD-user] DBRD over sdp not working

Robert Dunkley Robert at saq.co.uk
Mon Oct 11 14:46:12 CEST 2010

Do you have OFED with the SDP module installed? Is the SDP stack
confirmed OK?

-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of rf at q-leap.de
Sent: 11 October 2010 12:59
To: drbd-user at lists.linbit.com
Subject: [DRBD-user] DBRD over sdp not working


I'm trying to use DRBD over sdp:

OFED 1.5.2 (1.4.x doesn't work on 2.6.32 anymore).
Debian Lenny

When trying to connect, I get the famous:

block drbd0: connect failed, err = -22

kernel error message.

Relevant excerpt from my drbd.conf:

resource r0 {
  protocol C;

  startup { wfc-timeout 0; degr-wfc-timeout 120; }
  disk    { on-io-error detach; }
  net     { timeout 60; connect-int 10; ping-int 10;
            max-buffers 2048; max-epoch-size 2048; }
  on beo-121 {
    address sdp;
    disk /dev/md3; device /dev/drbd0; meta-disk "internal";
  on beo-122 {
    address sdp;
    disk /dev/md3; device /dev/drbd0; meta-disk "internal";

When using "address;" instead of 
"address sdp;" everything works flawlessly.

Trying the trick from
also doesn't help: If I do 

drbdsetup 0 net sdp: ipv4: C
--set-defaults --create-device --timeout=60 --connect-int=10
--ping-int=10 --max-buffers=2048 --max-epoch-size=2048

I get
[7848.567907] _sdp_exch_state:478 sdp_sock( 5691:2 7788:33747):
sdp_close:722: trying to exchange state from unexpected state
TCP_FIN_WAIT1 to state TCP_TIME_WAIT. expected states: 0x102


drbdsetup 0 net ipv4: sdp: C
--set-defaults --create-device --timeout=60 --connect-int=10
--ping-int=10 --max-buffers=2048 --max-epoch-size=2048

I get

[ 8005.238845] block drbd0: connect failed, err = -97

How can I get SDP working?


drbd-user mailing list
drbd-user at lists.linbit.com

More information about the drbd-user mailing list