<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>Linux intel1 3.5.0-23-generic #35~precise1-Ubuntu SMP</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px;
margin-top: 5px; padding-left: 5px;"> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Luca Fornasari <luca.fornasari@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> DRBD <drbd-user@lists.linbit.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, May 3, 2013 1:01 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [DRBD-user] Enabling two primaries break connection<br> </font> </div> <div class="y_msg_container"><br><div id="yiv2856906405"><div dir="ltr">Hi Louis,<div><br></div><div style="">What kernel are yuo running?</div><div style=""><br></div><div style="">Cheers,</div><div style="">Luca</div></div><div class="yiv2856906405gmail_extra"><br><br><div
class="yiv2856906405gmail_quote">On Fri, May 3, 2013 at 1:41 PM, Louis <span dir="ltr"><<a rel="nofollow" ymailto="mailto:mailtolouis2020-forum@yahoo.com" target="_blank" href="mailto:mailtolouis2020-forum@yahoo.com">mailtolouis2020-forum@yahoo.com</a>></span> wrote:<br>
<blockquote class="yiv2856906405gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:10pt;font-family:arial, helvetica, sans-serif;"><div><span>Hi Thomas,</span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:arial, helvetica, sans-serif;">
<br><span></span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:arial, helvetica, sans-serif;">I just tested your scenario on DRBD 8.4.3. It seems fine, connection did not break.</div>
<div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:arial, helvetica, sans-serif;">While doing the DD, I did change primary / secondary on bob node few times, but the connection never break.</div>
<div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:arial, helvetica, sans-serif;"><br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:arial, helvetica, sans-serif;">
The only thing I couldn't run this drbdadm --allow-two-primaries=yes <resource>, it give uknown command. But I do have allow-two-primaries setup in my drbd.conf, not sure that make any different?</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:arial, helvetica, sans-serif;">
<br><span></span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:arial, helvetica, sans-serif;"><span></span></div><div>Regards</div><div>Louis<br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">
<div style="font-family:arial, helvetica, sans-serif;font-size:10pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Thomas Thrainer <<a rel="nofollow" ymailto="mailto:thomasth@google.com" target="_blank" href="mailto:thomasth@google.com">thomasth@google.com</a>><br>
<b><span style="font-weight:bold;">To:</span></b> Luca Fornasari <<a rel="nofollow" ymailto="mailto:luca.fornasari@gmail.com" target="_blank" href="mailto:luca.fornasari@gmail.com">luca.fornasari@gmail.com</a>> <br><b><span style="font-weight:bold;">Cc:</span></b> <a rel="nofollow" ymailto="mailto:drbd-user@lists.linbit.com" target="_blank" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a> <br>
<b><span style="font-weight:bold;">Sent:</span></b> Friday, May 3, 2013 10:00 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [DRBD-user] Enabling two primaries break connection<br> </font> </div> <div><div>
<div class="yiv2856906405h5"><br><div><div dir="ltr">Hi,<div><br></div><div>Given the fact that I could reproduce the bug regularly, I'm pretty sure that this is indeed a DRBD bug. Unfortunately I didn't find a bugtracker on the DRBD site. Is there one? If not, what's the official way to report
bugs?</div>
<div><br></div><div>For the record, here are the steps to reproduce:</div><div> * create a device with primary on alice and secondary on bob</div><div> * on alice: while true; do dd if=/dev/zero of=/dev/drbd0; done</div>
<div> * on bob: drbdadm --allow-two-primaries=yes <resource>; drbdadm primary <resource></div><div> * you might have to drbdadm secondary <resource> on bob and then repeat the previous step in order to produce the bug</div>
<div><br></div><div>Log files are as mentioned in the first mail of the thread.</div><div><br></div><div>Cheers,</div><div>Thomas</div><div><br></div></div><div><br>
<br><div>On Tue, Apr 30, 2013 at 2:25 PM, Thomas Thrainer <span dir="ltr"><<a rel="nofollow" ymailto="mailto:thomasth@google.com" target="_blank" href="mailto:thomasth@google.com">thomasth@google.com</a>></span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">Hi Luca,<div><br></div><div>I just reproduced the exact same problem using only drbdadm. I also inspected the output of the -d option, and drbdadm does the exact same thing as Ganeti in this regard.</div><div>
<br></div><div>Thanks,</div><div>Thomas</div></div><div><div><div><br><br><div>On Tue, Apr 30, 2013 at 2:18 PM, Thomas Thrainer <span dir="ltr"><<a rel="nofollow" ymailto="mailto:thomasth@google.com" target="_blank" href="mailto:thomasth@google.com">thomasth@google.com</a>></span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><div>Hi Luca,</div><div><br></div><div>I'll try the drbdadm method this as soon as I get to it. Right now I have no machines around which are already configured via drbdadm.</div>
<div><br></div><div>Note that I have included both logs (secondary and primary) in my first email.</div>
<div><br></div><div>I use DRBD 8.4.2 because 8.4.3 didn't compile against my kernel (3.2.27) and I didn't want to put much work into it. I this bug is known and fixed in 8.4.3, I'll might look into compiling against 3.2.27 again.</div>
<div><br></div><div>Cheers,</div><div><div>Thomas</div><div><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(213,15,37);padding-top:2px;margin-top:2px;">Thomas Thrainer |</span><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(51,105,232);padding-top:2px;margin-top:2px;"> Software Engineer |</span><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(0,153,57);padding-top:2px;margin-top:2px;"> <a rel="nofollow" ymailto="mailto:thomasth@google.com" target="_blank" href="mailto:thomasth@google.com">thomasth@google.com</a> |</span><span
style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px;"> </span><br>
<div><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px;"><br></span></div><div>
<span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px;"><div style="font-size:13px;line-height:normal;color:rgb(34,34,34);font-family:arial, sans-serif;">
<span style="font-family:Arial, Verdana, sans-serif;">Google Germany GmbH</span></div><div style="font-size:13px;line-height:normal;color:rgb(34,34,34);font-family:arial, sans-serif;"><div style="font-family:Arial, Verdana, sans-serif;">
Dienerstr. 12</div><div style="font-family:Arial, Verdana, sans-serif;">80331 München<br><br>Registergericht und -nummer: Hamburg, HRB 86891<br>Sitz der Gesellschaft: <font face="arial, sans-serif">Hamburg</font><br>Geschäftsführer: Graham Law, Katherine Stephens</div>
</div></span></div></div>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(213,15,37);padding-top:2px;margin-top:2px;">Thomas Thrainer |</span><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(51,105,232);padding-top:2px;margin-top:2px;"> Software Engineer |</span><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(0,153,57);padding-top:2px;margin-top:2px;"> <a rel="nofollow" ymailto="mailto:thomasth@google.com" target="_blank" href="mailto:thomasth@google.com">thomasth@google.com</a> |</span><span
style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px;"> </span><br>
<div><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px;"><br></span></div><div>
<span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px;"><div style="font-size:13px;line-height:normal;color:rgb(34,34,34);font-family:arial, sans-serif;">
<span style="font-family:Arial, Verdana, sans-serif;">Google Germany GmbH</span></div><div style="font-size:13px;line-height:normal;color:rgb(34,34,34);font-family:arial, sans-serif;"><div style="font-family:Arial, Verdana, sans-serif;">
Dienerstr. 12</div><div style="font-family:Arial, Verdana, sans-serif;">80331 München<br><br>Registergericht und -nummer: Hamburg, HRB 86891<br>Sitz der Gesellschaft: <font face="arial, sans-serif">Hamburg</font><br>Geschäftsführer: Graham Law, Katherine Stephens</div>
</div></span></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(213,15,37);padding-top:2px;margin-top:2px;">Thomas Thrainer |</span><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(51,105,232);padding-top:2px;margin-top:2px;"> Software Engineer |</span><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(0,153,57);padding-top:2px;margin-top:2px;"> <a rel="nofollow" ymailto="mailto:thomasth@google.com" target="_blank" href="mailto:thomasth@google.com">thomasth@google.com</a> |</span><span
style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px;"> </span><br>
<div><span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px;"><br></span></div><div>
<span style="color:rgb(85,85,85);font-family:sans-serif;font-size:small;line-height:1.5em;border-width:2px 0px 0px;border-style:solid;border-color:rgb(238,178,17);padding-top:2px;margin-top:2px;"><div style="font-size:13px;line-height:normal;color:rgb(34,34,34);font-family:arial, sans-serif;">
<span style="font-family:Arial, Verdana, sans-serif;">Google Germany GmbH</span></div><div style="font-size:13px;line-height:normal;color:rgb(34,34,34);font-family:arial, sans-serif;"><div style="font-family:Arial, Verdana, sans-serif;">
Dienerstr. 12</div><div style="font-family:Arial, Verdana, sans-serif;">80331 München<br><br>Registergericht und -nummer: Hamburg, HRB 86891<br>Sitz der Gesellschaft: <font face="arial, sans-serif">Hamburg</font><br>Geschäftsführer: Graham Law, Katherine Stephens</div>
</div></span></div></div>
</div></div><br></div></div><div class="yiv2856906405im">_______________________________________________<br>drbd-user mailing list<br><a rel="nofollow" ymailto="mailto:drbd-user@lists.linbit.com" target="_blank" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br><a rel="nofollow" target="_blank" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
<br><br></div></div> </div> </div> </blockquote></div> </div></div><br>_______________________________________________<br>
drbd-user mailing list<br>
<a rel="nofollow" ymailto="mailto:drbd-user@lists.linbit.com" target="_blank" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a rel="nofollow" target="_blank" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
<br></blockquote></div><br></div></div><br>_______________________________________________<br>drbd-user mailing list<br><a ymailto="mailto:drbd-user@lists.linbit.com" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br><br><br></div> </div> </div> </blockquote></div> </div></body></html>