<br>My drbd.conf - the same in both nodes<br>---------------------------------------------------------<br>resource r0 {<br>&nbsp; protocol C;<br>&nbsp; incon-degr-cmd &quot;echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f&quot;;
<br><br>&nbsp; startup {<br>&nbsp;&nbsp;&nbsp; # wfc-timeout&nbsp; 0;<br>&nbsp;&nbsp;&nbsp; degr-wfc-timeout 120;&nbsp;&nbsp;&nbsp; # 2 minutes.<br>&nbsp; }<br><br>&nbsp; disk {<br>&nbsp;&nbsp;&nbsp; on-io-error panic;<br>&nbsp; }<br><br>&nbsp; net {<br>&nbsp;&nbsp;&nbsp; # timeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 60;&nbsp;&nbsp;&nbsp; #&nbsp; 6 seconds&nbsp; (unit = 0.1 seconds)
<br>&nbsp;&nbsp;&nbsp; # connect-int&nbsp;&nbsp; 10;&nbsp;&nbsp;&nbsp; # 10 seconds&nbsp; (unit = 1 second)<br>&nbsp;&nbsp;&nbsp; ping-int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10;&nbsp;&nbsp;&nbsp; # 10 seconds&nbsp; (unit = 1 second)<br>&nbsp;&nbsp;&nbsp; # max-buffers&nbsp;&nbsp;&nbsp;&nbsp; 2048;<br>&nbsp;&nbsp;&nbsp; # max-epoch-size&nbsp; 2048;<br>&nbsp;&nbsp;&nbsp; # ko-count 4;<br>&nbsp;&nbsp;&nbsp; on-disconnect reconnect;
<br>&nbsp; }<br><br>&nbsp; syncer {<br>&nbsp;&nbsp;&nbsp; rate 100M;<br>&nbsp;&nbsp;&nbsp; group 1;<br>&nbsp;&nbsp;&nbsp; #al-extents 257;<br>&nbsp; }<br><br>&nbsp; on ha-cluster1 {<br>&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp;&nbsp; /dev/drbd0;<br>&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/sda8;<br>&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp; <a href="http://10.0.1.1:7788">
10.0.1.1:7788</a>;<br>&nbsp;&nbsp;&nbsp; meta-disk&nbsp; internal;<br>&nbsp; }<br><br>&nbsp; on ha-cluster2 {<br>&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp; /dev/drbd0;<br>&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/sda6;<br>&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp; <a href="http://10.0.1.2:7788">10.0.1.2:7788</a>;<br>&nbsp;&nbsp;&nbsp; meta-disk internal;
<br>&nbsp; }<br>}<br>---------------------------------------------------------<br><br><br><br><br><div><span class="gmail_quote">On 9/12/06, <b class="gmail_sendername">Christopher Harrison</b> &lt;<a href="mailto:charrison@inoc.com">
charrison@inoc.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">What connect protocol are you using A,B or C.&nbsp;&nbsp; Please send your 
drbd.conf.<br>&nbsp;&nbsp;&nbsp;&nbsp;-Chris<br><br>Fabio Silva wrote:<br>&gt; Hi all, im with a problem with my drbd...<br>&gt; when the node A crash, node B is active... but, when the Node A<br>&gt; returns, its dont sync, and i can see in the logs like this...
<br>&gt;<br>&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: drbd0_receiver [6673]:<br>&gt; cstate WFConnection --&gt; WFReportParams<br>&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: Handshake successful: DRBD<br>&gt; Network Protocol version 74
<br>&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: incompatible states (both<br>&gt; Primary!)<br>&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: drbd0_receiver [6673]:<br>&gt; cstate WFReportParams --&gt; StandAlone<br>
&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: error receiving<br>&gt; ReportParams, l: 72!<br>&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: worker terminated<br>&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: asender terminated
<br>&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: drbd0_receiver [6673]:<br>&gt; cstate StandAlone --&gt; StandAlone<br>&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: Connection lost.<br>&gt; Sep 12 09:55:37 ha-cluster2 kernel: drbd0: receiver terminated
<br>&gt;<br>&gt; ??<br>&gt; Why its happend? i've set that this machine is secondary with &quot;drbdadm<br>&gt; secondary all&quot; and the ha-cluster1 is the primary, but what could be ??<br>&gt;<br>&gt;<br>&gt; Regars<br>
&gt;<br>&gt; Fabio<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; drbd-user mailing list<br>&gt; <a href="mailto:drbd-user@lists.linbit.com">
drbd-user@lists.linbit.com</a><br>&gt; <a href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>&gt;<br><br><br><br></blockquote></div><br><br clear="all"><br>
-- <br>Fabio S. Silva<br>LPIC-1 Linux Professional Institute Certified