<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hi Thomas,</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;">I just tested your scenario on DRBD 8.4.3. It seems fine, connection did not break.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">While doing the DD, I did change primary / secondary on bob node few times, but the connection never break.</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></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">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="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>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" size="2"> <b><span style="font-weight:bold;">From:</span></b> Thomas Thrainer <thomasth@google.com><br> <b><span style="font-weight: bold;">To:</span></b> Luca Fornasari <luca.fornasari@gmail.com> <br><b><span style="font-weight: bold;">Cc:</span></b> drbd-user@lists.linbit.com <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 class="y_msg_container"><br><div id="yiv3556596260"><div dir="ltr">Hi,<div><br></div><div style="">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 style=""><br></div><div style="">For the record, here are the steps to reproduce:</div><div style=""> * create a device with primary on alice and secondary on bob</div><div style=""> * on alice: while true; do dd if=/dev/zero of=/dev/drbd0; done</div>
<div style=""> * on bob: drbdadm --allow-two-primaries=yes <resource>; drbdadm primary <resource></div><div style=""> * you might have to drbdadm secondary <resource> on bob and then repeat the previous step in order to produce the bug</div>
<div style=""><br></div><div style="">Log files are as mentioned in the first mail of the thread.</div><div style=""><br></div><div style="">Cheers,</div><div style="">Thomas</div><div style=""><br></div></div><div class="yiv3556596260gmail_extra"><br>
<br><div class="yiv3556596260gmail_quote">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 class="yiv3556596260gmail_quote" 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 class="yiv3556596260HOEnZb"><div class="yiv3556596260h5"><div class="yiv3556596260gmail_extra"><br><br><div class="yiv3556596260gmail_quote">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 class="yiv3556596260gmail_quote" 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 class="yiv3556596260gmail_extra"><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>_______________________________________________<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>