[DRBD-user] after reboot primary node, drbd connection fails...

CHOI beck.cs at gmail.com
Wed Jul 4 17:49:45 CEST 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


hi folks~


i've installed successfully drbd with heartbeat on my systems
(the version of drbd is 0.7.23-1 and heartbeat is 2.0.7-1 )

it looked work well.. but i found a problem about the drbd connection


the problem is that when i reboot the Node1 (primary)

the Node2 becomes primary successfully

however, after reboot the node1 drbd connection fails each other...


logs are like below...  ( i can't find what is the main problem... )
=====================================================================
logs of Node2

Handshake successful: DRBD Network Protocol version 74
Connection established.
I am(P): 1:00000002:00000001:00001944:00000031:10
Peer(S): 1:00000002:00000001:00001946:00000030:00
Current Primary shall become sync TARGET! Aborting to prevent data
corruption.
drbd0_receiver [3089]: cstate WFReportParams --> StandAlone
error receiving ReportParams, l: 72!
worker terminated
asender terminated
drbd0_receiver [3089]: cstate StandAlone --> StandAlone
Connection lost.
receiver terminated

=====================================================================

logs of Node1 (after reboot)

resync bitmap: bits=17911829 words=559746
size = 68 GB (71647316 KB)
8 KB marked out-of-sync by on disk bit-map.
Found 6 transactions (15 active extents) in activity log.
drbdsetup [3043]: cstate Unconfigured --> StandAlone
s0
n0
drbdsetup [3056]: cstate StandAlone --> Unconnected
drbd0_receiver [3057]: cstate Unconnected --> WFConnection
]
.
drbd0_receiver [3057]: cstate WFConnection --> WFReportParams
Handshake successful: DRBD Network Protocol version 74
Connection established.
I am(S): 1:00000002:00000001:0000000c:00000001:00
Peer(P): 1:00000002:00000001:0000000a:00000002:10
drbd0_receiver [3057]: cstate WFReportParams --> WFBitMapS
sock_sendmsg returned -104
drbd0_receiver [3057]: cstate WFBitMapS --> BrokenPipe
short sent ReportBitMap size=4096 sent=0
Secondary/Unknown --> Secondary/Primary
meta connection shut down by peer.
asender terminated
sock was shut down by peer
Starting drbd:  succeeded
drbd0_receiver [3057]: cstate BrokenPipe --> BrokenPipe
short read expecting header on sock: r=0
worker terminated
drbd0_receiver [3057]: cstate BrokenPipe --> Unconnected
Connection lost.
drbd0_receiver [3057]: cstate Unconnected --> WFConnection

=====================================================================

are there anybody who got this problem?

please help...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20070705/96ba8eb5/attachment.htm>


More information about the drbd-user mailing list