<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi guys ,&nbsp;<div><br></div><div>Probably you need to adjust some of the parameters like&nbsp;</div><div><br></div><div><pre style="margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; word-wrap: normal;"><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleTallBody">max-epoch-size ;&nbsp;</font></code></pre><pre style="margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; word-wrap: normal;"><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleTallBody">&nbsp;max-buffers ;</font></code></pre><pre style="margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; word-wrap: normal;"><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleTallBody">&nbsp;sndbuf-size ;</font></code></pre></div><div>of the general drbd configuration file&nbsp;</div><div><br></div><div>Please read also the following link&nbsp;</div><div><a href="https://serverfault.com/questions/740311/drbd-terrible-sync-performance-on-10gige">https://serverfault.com/questions/740311/drbd-terrible-sync-performance-on-10gige</a></div><div><br></div><div>BR</div><div>Sent from my iPad<br><div><br>On 20 Aug 2018, at 10:15, Adrian Pascalau &lt;<a href="mailto:adrian27oradea@gmail.com">adrian27oradea@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span>On Sun, Aug 19, 2018 at 1:39 AM, Eric Robinson &lt;<a href="mailto:eric.robinson@psmnv.com">eric.robinson@psmnv.com</a>&gt; wrote:</span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I’ve been using drbd for a decade, but this is my first experience with drbd 9.0.14. The resync is incredibly slow. Normally, resync takes a few seconds to a few minutes, but this is taking hours, advancing just a few hundredths of a percent every few seconds…</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><span>Hi Eric,</span><br><span></span><br><span>I am wondering, are you running drbd in physical hosts, or vitual machines?</span><br><span></span><br><span>I am in a worse situation with the same version of drbd, installed in</span><br><span>two up to date Centos 7 virtual machines running in an OpenStack pike</span><br><span>environment, with the same version of drbd installed from the elrepo</span><br><span>repository:</span><br><span></span><br><span>[root@drbd1 ~]# rpm -qa | grep kmod-drbd</span><br><span>kmod-drbd90-9.0.14-1.el7_5.elrepo.x86_64</span><br><span></span><br><span>I configured this environment last week Thursday, and believe it or</span><br><span>not, as of today sync is at 0.1%:</span><br><span></span><br><span>[root@drbd1 ~]# cat</span><br><span>/sys/kernel/debug/drbd/resources/drbd0/connections/drbd2.novalocal/0/proc_drbd</span><br><span> 0: cs:SyncSource ro:Secondary/Secondary ds:UpToDate/Inconsistent C r-----</span><br><span> &nbsp;&nbsp;&nbsp;ns:6363972 nr:0 dw:0 dr:112432036 al:0 bm:0 lo:0 pe:[0;4] ua:52</span><br><span>ap:[0;0] ep:1 wo:1 oos:5242556</span><br><span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&gt;....................] sync'ed: &nbsp;0.1% (5116/5116)M</span><br><span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;finish: 127:25:23 speed: 0 (0 -- 0) K/sec</span><br><span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0% sector pos: 0/10485368</span><br><span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resync: used:1/61 hits:62 misses:2 starving:0 locked:0 changed:1</span><br><span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;act_log: used:0/1237 hits:0 misses:0 starving:0 locked:0 changed:0</span><br><span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;blocked on activity log: 0</span><br><span></span><br><span>Whatever I did, did not help, so finally I replicated the environment</span><br><span>in my laptop, in a VMware Workstation 11 environment, using the same</span><br><span>version of drbd, and in this case I have no issues.</span><br><span></span><br><span>This is my first experience with drbd, so I do not know how to</span><br><span>troubleshoot. Now I am thinking to look into older 8.x version, that</span><br><span>might be working better.</span><br><span></span><br><span>Regards,</span><br><span>Adrian</span><br><span>_______________________________________________</span><br><span>drbd-user mailing list</span><br><span><a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a></span><br><span><a href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a></span><br></div></blockquote></div></body></html>