<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Does it&nbsp;need to changed to "Protocol B" instead of "Protocol C" in drbd.conf&nbsp; ?<BR>&nbsp;<BR>
<HR id=stopSpelling>
From: guohuai_li@hotmail.com<BR>To: drbd-user@lists.linbit.com; lichanglong@hisense.com<BR>Date: Sat, 14 Nov 2009 10:02:11 +0800<BR>Subject: Re: [DRBD-user] write block on primary when secondary diskless (DRBD8-3-0)<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Dear all,<BR>&nbsp;<BR>Would you help to explain this ?<BR>&nbsp;<BR>regards,<BR>Edward<BR>&nbsp;<BR>
<HR id=ecxstopSpelling>
From: guohuai_li@hotmail.com<BR>To: drbd-user@lists.linbit.com; guohuai_li@hotmail.com; liulei@hisense.com; lichanglong@hisense.com; yao.xuefeng@gmail.com<BR>Subject: write block on primary when secondary diskless (DRBD8-3-0)<BR>Date: Fri, 13 Nov 2009 18:40:30 +0800<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hi, dear all,<BR>&nbsp;<BR>on drbd.conf, use protocol C.<BR>&nbsp;<BR>DRBD works well fistly.&nbsp; ( both primany node and seconday node works well.)<BR>&nbsp;<BR>But somehow, the seconday machine has disk problem and in the /var/log/messge of the primary node,<BR>has below info:<BR>&nbsp;<BR>+++++++++++++++++++++++++++++++++<BR>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Nov 13 00:12:30 cs-mdc-b kernel: drbd0: pdsk( UpToDate -&gt; Diskless )</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Creating new current UUID</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles?</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Nov 13 00:12:30 cs-mdc-b kernel: drbd1: pdsk( UpToDate -&gt; Diskless )</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles?</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles?</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles?</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles? </SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Nov 13 00:12:30 cs-mdc-b kernel: drbd1: Creating new current UUID</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=1><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">+++++++++++++++++++++++++++++++++</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">then at this time, the write operation on primary node is blocked.</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">(the write operation is like this:&nbsp; call linux api&nbsp; "msync", using MS_SYNC mode.)</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Would you help to explain this ?</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Is this a bug of DRBD ?&nbsp; or I configured wrongly ?</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Your help is highly appreciated.&nbsp; :-)</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Thanks for your reading.</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">best wishes,</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Edward</SPAN></FONT></P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=ecxecxMsoNormal><FONT face=Arial size=3><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P><BR>
<HR>
Keep your friends updated— <A href="http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010">even when you’re not signed in.</A> <BR>
<HR>
Windows Live: Make it easier for your friends to see <A href="http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009">what you’re up to on Facebook.</A>                                               <br /><hr />Windows Live Hotmail:  <a href='http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009' target='_new'>Your friends can get your Facebook updates, right from Hotmail®.</a></body>
</html>