Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
>>>>> "Robert" == Robert Dunkley <Robert at saq.co.uk> writes:
Robert> Do you have OFED with the SDP module installed? Is the SDP stack
Robert> confirmed OK?
Sorry, forgot to mention this. Yes it's working fine. Netpipe e.g. gives
a boost of approx. a factor 2.2 in throughput compared to IPoIB.
Roland> -----Original Message-----
Roland> From: drbd-user-bounces at lists.linbit.com
Roland> [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of rf at q-leap.de
Roland> Sent: 11 October 2010 12:59
Roland> To: drbd-user at lists.linbit.com
Roland> Subject: [DRBD-user] DBRD over sdp not working
Roland> Hi,
Roland> I'm trying to use DRBD over sdp:
Roland> DRBD 8.3.8.1
Roland> Kernel 2.6.32.23
Roland> OFED 1.5.2 (1.4.x doesn't work on 2.6.32 anymore).
Roland> Debian Lenny
Roland> When trying to connect, I get the famous:
Roland> block drbd0: connect failed, err = -22
Roland> kernel error message.
Roland> Relevant excerpt from my drbd.conf:
Roland> --------------------
Roland> resource r0 {
Roland> protocol C;
Roland> startup { wfc-timeout 0; degr-wfc-timeout 120; }
Roland> disk { on-io-error detach; }
Roland> net { timeout 60; connect-int 10; ping-int 10;
Roland> max-buffers 2048; max-epoch-size 2048; }
Roland> on beo-121 {
Roland> address sdp 192.168.41.121:7788;
Roland> #address 192.168.41.121:7788;
Roland> disk /dev/md3; device /dev/drbd0; meta-disk "internal";
Roland> }
Roland> on beo-122 {
Roland> address sdp 192.168.41.122:7788;
Roland> #address 192.168.41.122:7788;
Roland> disk /dev/md3; device /dev/drbd0; meta-disk "internal";
Roland> }
Roland> }
Roland> ------------------
Roland> When using "address 192.168.41.122:7788;" instead of
Roland> "address sdp 192.168.41.121:7788;" everything works flawlessly.
Roland> Trying the trick from
Roland> http://lists.linbit.com/pipermail/drbd-user/2010-September/014759.html
Roland> also doesn't help: If I do
Roland> drbdsetup 0 net sdp:192.168.41.122:7788 ipv4:192.168.41.121:7788 C
Roland> --set-defaults --create-device --timeout=60 --connect-int=10
Roland> --ping-int=10 --max-buffers=2048 --max-epoch-size=2048
Roland> I get
Roland> [7848.567907] _sdp_exch_state:478 sdp_sock( 5691:2 7788:33747):
Roland> sdp_close:722: trying to exchange state from unexpected state
Roland> TCP_FIN_WAIT1 to state TCP_TIME_WAIT. expected states: 0x102
Roland> with
Roland> drbdsetup 0 net ipv4:192.168.41.122:7788 sdp:192.168.41.121:7788 C
Roland> --set-defaults --create-device --timeout=60 --connect-int=10
Roland> --ping-int=10 --max-buffers=2048 --max-epoch-size=2048
Roland> I get
Roland> [ 8005.238845] block drbd0: connect failed, err = -97
Roland> How can I get SDP working?