<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=宋体 size=2>drbd.conf content:</FONT></DIV>
<DIV><FONT face=宋体 size=2> </FONT> </DIV>
<DIV><FONT face=宋体 size=2> net {</FONT></DIV>
<DIV><FONT face=宋体 size=2> after-sb-0pri
discard-older-primary;<BR>
after-sb-1pri
call-pri-lost-after-sb;<BR>
after-sb-2pri call-pri-lost-after-sb;</FONT></DIV>
<DIV><FONT face=宋体 size=2> }</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 9pt 宋体">----- Original Message ----- </DIV>
<DIV style="BACKGROUND: #e4e4e4; FONT: 9pt 宋体; font-color: black"><B>From:</B>
<A title=walter.haidinger@gmx.at href="mailto:walter.haidinger@gmx.at">Walter
Haidinger</A> </DIV>
<DIV style="FONT: 9pt 宋体"><B>To:</B> <A title=drbd-user@lists.linbit.com
href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</A> </DIV>
<DIV style="FONT: 9pt 宋体"><B>Sent:</B> Saturday, January 19, 2008 10:12
PM</DIV>
<DIV style="FONT: 9pt 宋体"><B>Subject:</B> [DRBD-user] disconnecting hangs
after ko-count failure</DIV>
<DIV><BR></DIV>Hi!<BR><BR>I've got a reproducible problem with drbd-8.0.8.
Well, the problem surfaced after migrating to v8, it never showed with drbd
v7.<BR><BR>Both peers run openSUSE 10.3 and a self-compiled drbd 8.0.8.
They're connected over an 11b WLAN-Link with a throughput of about 550 kB/s.
Exchanged data is tunneled using OpenVPN. The link is pretty stable, I had a
ping running for over a week and did not lose a single packet with an average
rtt of 2.4 ms.<BR><BR>Now, ever since going to v8, the peer is considered dead
due to the ko-count (raised to 25 already). I've yet to figure out why this
happens but there is a more annoying issue:<BR><BR>Any subsequent attempt to
shut down drbd on either node makes drbd hang in the disconnecting state, i.e.
'drbdadm disconnect res0' will show: <BR>Child process does not
terminate!<BR>Exiting.<BR><BR>/proc/drbd on both nodes then:<BR> 0:
cs:Disconnecting st:Secondary/Unknown ds:UpToDate/Inconsistent C
r---<BR><BR>The logs show:<BR> Becoming sync source due to disk
states.<BR> peer( Unknown -> Secondary ) conn( WFReportParams ->
WFBitMapS )<BR> [drbd0_receiver/13018] sock_sendmsg time expired, ko =
24<BR> [drbd0_receiver/13018] sock_sendmsg time expired, ko =
23<BR> [drbd0_receiver/13018] sock_sendmsg time expired, ko =
22<BR> [drbd0_receiver/13018] sock_sendmsg time expired, ko =
21<BR> [drbd0_receiver/13018] sock_sendmsg time expired, ko =
20<BR> [drbd0_receiver/13018] sock_sendmsg time expired, ko =
19<BR> PingAck did not arrive in time.<BR> peer( Secondary ->
Unknown ) conn( WFBitMapS -> NetworkFailure )<BR> asender
terminated<BR> short sent ReportBitMap size=4096
sent=2012<BR> Writing meta data super block now.<BR> md_sync_timer
expired! Worker calls drbd_md_sync().<BR> role( Primary -> Secondary
)<BR> conn( NetworkFailure -> Disconnecting )<BR><BR>The other node
logs:<BR> Becoming sync target due to disk states.<BR> peer( Unknown
-> Primary ) conn( WFReportParams -> WFBitMapT ) pdsk( DUnknown ->
UpToDate )<BR> Writing meta data super block now.<BR> sock_recvmsg
returned -104<BR> peer( Primary -> Unknown ) conn( WFBitMapT ->
NetworkFailure ) pdsk( UpToDate -> DUnknown )<BR> asender
terminated<BR> error receiving ReportBitMap, l:
4088!<BR> tl_clear()<BR> Connection closed<BR> Writing meta
data super block now.<BR> conn( NetworkFailure -> Unconnected
)<BR><BR>Is there any way to force a disconnect? So far only rebooting both
nodes solves this as drbd will reconnect then. Well, until the next network
failure. <BR><BR>How can I further diagnose this? Do you need more
information, like the drbd.conf setup? <BR><BR>Any hints are
appreciated!<BR><BR>Thanks, Walter<BR>-- <BR>Der GMX SmartSurfer hilft bis zu
70% Ihrer Onlinekosten zu sparen! <BR>Ideal für Modem und ISDN: <A
href="http://www.gmx.net/de/go/smartsurfer">http://www.gmx.net/de/go/smartsurfer</A><BR>_______________________________________________<BR>drbd-user
mailing list<BR><A
href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</A><BR><A
href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</A><BR><BR><BR>__________
NOD32 2808 (20080120) Information __________<BR><BR>This message was checked
by NOD32 antivirus system.<BR><A
href="http://www.nod32.com.hk">http://www.nod32.com.hk</A><BR><BR></BLOCKQUOTE></BODY></HTML>