<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>NEEDS_SYNC with 0.6.13</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Due to some crashing issues I upgraded our drbd software from 0.6.2 to 0.6.13.&nbsp; This went fine, so I brought in the secondary (also upgraded to 0.6.13) which needed to do a full sync.&nbsp; About 70% through the syncing process&nbsp; it slowed down from 11,000KB sec to 1000KB or less.&nbsp; In a bit of stupidity I issued a reconnect command to the secondary server which caused it to dissconnect&nbsp; and get into a inconsistant sate (why I did this I'm not sure).&nbsp; Now for the real problem.&nbsp; My primary server, which is up and running solo right now shows:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">version: 0.6.13 (api:64/proto:62)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">0: cs:StandAlone st:Primary/Unknown ns:799383972 nr:1059469332 dw:1202791964 dr:852589748 pe:0 ua:0</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NEEDS_SYNC</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">When I try to bring in the secondary to sync, it errors out with </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Setting up 'drbd0' .. disk ok .. net .. OK</FONT>
<BR><FONT SIZE=2 FACE="Arial">Do you want to abort waiting for other server and make this one primary?</FONT>
<BR><FONT SIZE=2 FACE="Arial">ioctl(wait_connect): Timer expired</FONT>
<BR><FONT SIZE=2 FACE="Arial">drbd: WARNING: 'drbd0' connection timed out</FONT>
<BR><FONT SIZE=2 FACE="Arial">drbd: forcing primary status on /dev/nb0 -- DATA INTEGRITY MAY BE COMPROMISED.</FONT>
<BR><FONT SIZE=2 FACE="Arial">drbd: ERROR: drbdsetup /dev/nb0 primary --timeout-expired [21]:</FONT>
<BR><FONT SIZE=2 FACE="Arial">drbd: ERROR: ioctl() failed: Input/output error</FONT>
<BR><FONT SIZE=2 FACE="Arial">Local replica is inconsistent (--do-what-I-say ?)</FONT>
<BR><FONT SIZE=2 FACE="Arial">drbd:&nbsp; drbd0&nbsp; done.</FONT>
<BR><FONT SIZE=2 FACE="Arial">drbd: skip-wait for 'drbd0'</FONT>
<BR><FONT SIZE=2 FACE="Arial">/etc/init.d/drbd: line 2319: 16642 Terminated&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( trap 'mykill $!; exit 0;' INT TERM; sleep 10 &amp; wait; while true; do</FONT></P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; date; sed '1,2d' $PROC_DRBD; echo &quot;Waiting for Sync to finish ...&quot;; sleep 300 &amp; wait;</FONT>
<BR><FONT SIZE=2 FACE="Arial">done )</FONT>
<BR><FONT SIZE=2 FACE="Arial">drbd: 'drbd0' still not in Connected state, but WFConnection</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NEEDS_SYNC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INCONSISTENT</FONT>
<BR><FONT SIZE=2 FACE="Arial">[root@fileserver-b root]# cat /proc/drbd</FONT>
<BR><FONT SIZE=2 FACE="Arial">version: 0.6.13 (api:64/proto:62)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">0: cs:WFConnection st:Secondary/Unknown ns:0 nr:0 dw:0 dr:0 pe:0 ua:0</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NEEDS_SYNC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INCONSISTENT</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">From what I can see its like the primary is not talking/listeneing for drbd requests, during this process it's staus does not change, but the network is definately working.&nbsp; Im really stuck.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">BTW these are running redhat 8.0 smp,&nbsp; my plan is to get a working sync, then when I have a good seconday, to upgrade them to debain/2.6 and drbd 0.7.x</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thnaks</FONT>
<BR><FONT SIZE=2 FACE="Arial">D-</FONT>
</P>

</BODY>
</HTML>