Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello I am using drbd 0.7.21 & it got stuck in broken pipe state . Looks like drbd worker thread is not able to exit . Please suggest what should I do ? Syslog at Primary Node: Dec 12 19:29:21 kernel: drbd0: Handshake successful: DRBD Network Protocol version 74 Dec 12 19:29:21 kernel: drbd0: Connection established. Dec 12 19:29:21 kernel: drbd0: I am(P): 1:00000002:00000001:00000005:00000004:10 Dec 12 19:29:21 kernel: drbd0: Peer(S): 1:00000002:00000001:00000004:00000004:00 Dec 12 19:29:21 kernel: drbd0: drbd0_receiver [16730]: cstate WFReportParams --> WFBitMapS Dec 12 19:29:21 kernel: drbd0: Primary/Unknown --> Primary/Secondary Dec 12 19:29:21 kernel: drbd0: drbd0_receiver [16730]: cstate WFBitMapS --> SyncSource Dec 12 19:29:21 kernel: drbd0: Resync started as SyncSource (need to sync 16 KB [4 bits set]). Dec 12 19:29:21 kernel: drbd0: Resync done (total 1 sec; paused 0 sec; 16 K/sec) Dec 12 19:29:21 kernel: drbd0: drbd0_worker [24592]: cstate SyncSource --> Connected Dec 12 19:29:22 kernel: drbd1: drbd1_receiver [16738]: cstate WFConnection --> WFReportParams Dec 12 19:29:22 kernel: drbd1: Handshake successful: DRBD Network Protocol version 74 Dec 12 19:29:22 kernel: drbd1: Connection established. Dec 12 19:29:22 kernel: drbd1: I am(P): 1:00000002:00000001:00000006:00000002:10 Dec 12 19:29:22 kernel: drbd1: Peer(S): 1:00000002:00000001:00000005:00000002:00 Dec 12 19:29:22 kernel: drbd1: drbd1_receiver [16738]: cstate WFReportParams --> WFBitMapS Dec 12 19:29:22 kernel: drbd1: Primary/Unknown --> Primary/Secondary Dec 12 19:29:22 kernel: drbd1: drbd1_receiver [16738]: cstate WFBitMapS --> SyncSource Dec 12 19:29:22 kernel: drbd1: Resync started as SyncSource (need to sync 1488 KB [372 bits set]). Dec 12 19:29:22 kernel: drbd1: Resync done (total 1 sec; paused 0 sec; 1488 K/sec) Dec 12 19:29:22 kernel: drbd1: drbd1_worker [24593]: cstate SyncSource --> Connected Note : Here Secondary gone for reboot : Dec 12 19:55:14 kernel: drbd0: sock was shut down by peer Dec 12 19:55:14 kernel: drbd0: drbd0_receiver [16730]: cstate Connected --> BrokenPipe Dec 12 19:55:14 kernel: drbd0: short read expecting header on sock: r=0 Dec 12 19:55:14 kernel: drbd0: meta connection shut down by peer. Dec 12 19:55:14 kernel: drbd0: worker terminated Dec 12 19:55:14 kernel: drbd0: asender terminated Dec 12 19:55:14 kernel: drbd0: drbd0_receiver [16730]: cstate BrokenPipe --> Unconnected Dec 12 19:55:14 kernel: drbd0: Connection lost. Dec 12 19:55:14 kernel: drbd0: drbd0_receiver [16730]: cstate Unconnected --> WFConnection Dec 12 19:55:14 kernel: drbd1: sock was reset by peer Dec 12 19:55:14 kernel: drbd1: meta connection shut down by peer. Dec 12 19:55:14 kernel: drbd1: sock_sendmsg returned -32 Dec 12 19:55:14 kernel: drbd1: drbd1_receiver [16738]: cstate Connected --> BrokenPipe Dec 12 19:55:14 kernel: drbd1: short read expecting header on sock: r=-104 Dec 12 19:55:14 kernel: drbd1: asender terminated Dec 12 19:55:14 kernel: drbd1: drbd1_worker [24593]: cstate BrokenPipe --> BrokenPipe Dec 12 19:55:14 kernel: drbd1: short sent UnplugRemote size=8 sent=0 Syslog at Secondary Node: Dec 12 19:29:21 kernel: drbd0: Handshake successful: DRBD Network Protocol version 74 Dec 12 19:29:21 kernel: drbd0: Connection established. Dec 12 19:29:21 kernel: drbd0: I am(S): 1:00000002:00000001:00000004:00000004:00 Dec 12 19:29:21 kernel: drbd0: Peer(P): 1:00000002:00000001:00000005:00000004:10 Dec 12 19:29:21 kernel: drbd0: drbd0_receiver [16754]: cstate WFReportParams --> WFBitMapT Dec 12 19:29:21 kernel: drbd0: Secondary/Unknown --> Secondary/Primary Dec 12 19:29:21 kernel: drbd0: drbd0_receiver [16754]: cstate WFBitMapT --> SyncTarget Dec 12 19:29:21 kernel: drbd0: Resync started as SyncTarget (need to sync 16 KB [4 bits set]). Dec 12 19:29:21 kernel: drbd0: Resync done (total 1 sec; paused 0 sec; 16 K/sec) Dec 12 19:29:21 kernel: drbd0: drbd0_worker [16732]: cstate SyncTarget --> Connected Dec 12 19:29:22 kernel: drbd1: drbd1_receiver [16762]: cstate WFConnection --> WFReportParams Dec 12 19:29:22 kernel: drbd1: Handshake successful: DRBD Network Protocol version 74 Dec 12 19:29:22 kernel: drbd1: Connection established. Dec 12 19:29:22 kernel: drbd1: I am(S): 1:00000002:00000001:00000005:00000002:00 Dec 12 19:29:22 kernel: drbd1: Peer(P): 1:00000002:00000001:00000006:00000002:10 Dec 12 19:29:22 kernel: drbd1: drbd1_receiver [16762]: cstate WFReportParams --> WFBitMapT Dec 12 19:29:22 kernel: drbd1: Secondary/Unknown --> Secondary/Primary Note : Now system is going for reboot: Dec 12 19:55:14 kernel: drbd0: drbdsetup [2393]: cstate Connected --> Unconnected Dec 12 19:55:14 kernel: drbd0: drbd0_receiver [16754]: cstate Unconnected --> BrokenPipe Dec 12 19:55:14 kernel: drbd0: short read expecting header on sock: r=-512 Dec 12 19:55:14 kernel: drbd0: worker terminated Dec 12 19:55:14 kernel: drbd0: asender terminated Dec 12 19:55:14 kernel: drbd0: drbd0_receiver [16754]: cstate BrokenPipe --> StandAlone Dec 12 19:55:14 kernel: drbd0: Connection lost. Dec 12 19:55:14 kernel: drbd0: receiver terminated Dec 12 19:55:14 kernel: drbd0: drbdsetup [2393]: cstate StandAlone --> StandAlone Dec 12 19:55:14 kernel: drbd0: drbdsetup [2393]: cstate StandAlone --> Unconfigured Dec 12 19:55:14 kernel: drbd0: worker terminated Dec 12 19:55:14 kernel: drbd1: drbdsetup [2398]: cstate Connected --> Unconnected Dec 12 19:55:14 kernel: drbd1: drbd1_receiver [16762]: cstate Unconnected --> BrokenPipe Dec 12 19:55:14 kernel: drbd1: short read expecting header on sock: r=-512 Dec 12 19:55:14 kernel: drbd1: worker terminated Dec 12 19:55:14 kernel: drbd1: asender terminated Dec 12 19:55:14 kernel: drbd1: drbd1_receiver [16762]: cstate BrokenPipe --> StandAlone Dec 12 19:55:14 kernel: drbd1: Connection lost. Dec 12 19:55:14 kernel: drbd1: receiver terminated Dec 12 19:55:14 kernel: drbd1: drbdsetup [2398]: cstate StandAlone --> StandAlone Dec 12 19:55:14 kernel: drbd1: drbdsetup [2398]: cstate StandAlone --> Unconfigured Dec 12 19:55:14 kernel: drbd1: worker terminated Any valuable input will be helpful. Thanks in advance. Regards, Anil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20081219/f5645ee8/attachment.htm>