Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, I cant seem to get these systems connected with drbd. Here is my output please advise as to what im doing wrong. Thank you Primary node dmesg output: drbd0: drbdsetup [12858]: cstate StandAlone --> Unconnected drbd0: drbd0_receiver [12859]: cstate Unconnected --> WFConnection drbd0: drbd0_receiver [12859]: cstate WFConnection --> WFReportParams drbd0: Handshake successful: DRBD Network Protocol version 74 drbd0: Connection established. drbd0: I am(P): 1:00000002:00000008:00000012:00000005:10 drbd0: Peer(S): 1:0000000c:0000000c:00000052:0000000b:00 drbd0: Current Primary shall become sync TARGET! Aborting to prevent data corruption. drbd0: drbd0_receiver [12859]: cstate WFReportParams --> StandAlone drbd0: error receiving ReportParams, l: 72! drbd0: worker terminated drbd0: asender terminated drbd0: drbd0_receiver [12859]: cstate StandAlone --> StandAlone drbd0: Connection lost. drbd0: receiver terminated Secondary Node dmesg output: drbd0: worker terminated drbd0: drbd0_receiver [5592]: cstate WFConnection --> StandAlone drbd0: Connection lost. drbd0: Discarding network configuration. drbd0: drbd0_receiver [5592]: cstate StandAlone --> StandAlone drbd0: receiver terminated drbd0: drbdsetup [5776]: cstate StandAlone --> Unconnected drbd0: drbd0_receiver [5778]: cstate Unconnected --> WFConnection drbd0: worker terminated drbd0: drbd0_receiver [5778]: cstate WFConnection --> StandAlone drbd0: Connection lost. drbd0: Discarding network configuration. drbd0: drbd0_receiver [5778]: cstate StandAlone --> StandAlone drbd0: receiver terminated drbd0: drbdsetup [5792]: cstate StandAlone --> Unconnected drbd0: drbd0_receiver [5794]: cstate Unconnected --> WFConnection drbd0: drbd0_receiver [5794]: cstate WFConnection --> WFReportParams drbd0: Handshake successful: DRBD Network Protocol version 74 drbd0: Connection established. drbd0: I am(S): 1:0000000c:0000000c:00000052:0000000b:00 drbd0: Peer(P): 1:00000002:00000008:00000012:00000005:10 drbd0: drbd0_receiver [5794]: cstate WFReportParams --> WFBitMapS drbd0: sock_sendmsg returned -104 drbd0: drbd0_receiver [5794]: cstate WFBitMapS --> BrokenPipe drbd0: short sent ReportBitMap size=4096 sent=1112 drbd0: Secondary/Unknown --> Secondary/Primary drbd0: meta connection shut down by peer. drbd0: asender terminated drbd0: sock was shut down by peer drbd0: drbd0_receiver [5794]: cstate BrokenPipe --> BrokenPipe drbd0: short read expecting header on sock: r=0 drbd0: worker terminated drbd0: drbd0_receiver [5794]: cstate BrokenPipe --> Unconnected drbd0: Connection lost. drbd0: drbd0_receiver [5794]: cstate Unconnected --> WFConnection I have tried running the following commands on primary: drbdadm primary all ; drbdadm -- --do-what-I-say primary all And on the secondary node: drbdadm secondary all They still will not connect. My primary is now in standalone position and my secondary is in wfconnection. Yet, nothing syncs up. When I try to use drbdadm connect all, I get: Dec 27 10:38:55 primque1 kernel: drbd0: drbd0_receiver [24984]: cstate WFConnection --> WFReportParams Dec 27 10:38:55 primque1 kernel: drbd0: drbd0_receiver [24984]: cstate WFConnection --> WFReportParams Dec 27 10:38:55 primque1 kernel: drbd0: Handshake successful: DRBD Network Protocol version 74 Dec 27 10:38:55 primque1 kernel: drbd0: Handshake successful: DRBD Network Protocol version 74 Dec 27 10:38:55 primque1 kernel: drbd0: Connection established. Dec 27 10:38:55 primque1 kernel: drbd0: Connection established. Dec 27 10:38:55 primque1 kernel: drbd0: I am(P): 1:00000002:00000007:00000004:00000005:10 Dec 27 10:38:55 primque1 kernel: drbd0: I am(P): 1:00000002:00000007:00000004:00000005:10 Dec 27 10:38:55 primque1 kernel: drbd0: Peer(S): 1:0000000c:0000000c:00000052:0000000b:00 Dec 27 10:38:55 primque1 kernel: drbd0: Peer(S): 1:0000000c:0000000c:00000052:0000000b:00 Dec 27 10:38:55 primque1 kernel: drbd0: Current Primary shall become sync TARGET! Aborting to prevent data corruption. Dec 27 10:38:55 primque1 kernel: drbd0: Current Primary shall become sync TARGET! Aborting to prevent data corruption. Dec 27 10:38:55 primque1 kernel: drbd0: drbd0_receiver [24984]: cstate WFReportParams --> StandAlone Dec 27 10:38:55 primque1 kernel: drbd0: drbd0_receiver [24984]: cstate WFReportParams --> StandAlone Dec 27 10:38:55 primque1 kernel: drbd0: error receiving ReportParams, l: 72! Dec 27 10:38:55 primque1 kernel: drbd0: error receiving ReportParams, l: 72! Dec 27 10:38:55 primque1 kernel: drbd0: asender terminated Dec 27 10:38:55 primque1 kernel: drbd0: asender terminated Dec 27 10:38:55 primque1 kernel: drbd0: worker terminated Dec 27 10:38:55 primque1 kernel: drbd0: worker terminated Dec 27 10:38:55 primque1 kernel: drbd0: drbd0_receiver [24984]: cstate StandAlone --> StandAlone Dec 27 10:38:55 primque1 kernel: drbd0: drbd0_receiver [24984]: cstate StandAlone --> StandAlone Dec 27 10:38:55 primque1 kernel: drbd0: Connection lost. Dec 27 10:38:55 primque1 kernel: drbd0: Connection lost. Dec 27 10:38:55 primque1 kernel: drbd0: receiver terminated Dec 27 10:38:55 primque1 kernel: drbd0: receiver terminated -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20081227/75324bca/attachment.htm>