<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Tytus,<br>
    <br>
    thanks!<br>
    <br>
    I have just did some test and the slow sync occurs only with the
    first syncro of the virtual disks between the 2 nodes...<br>
    When the disks are syncronized and you write data on the virtual
    disk, the speed is very high!<span lang="en"><br>
      For example: just tried to install ubuntu server on a virtual
      machine with virtual disks syncronized, the sync speed was about 1
      Gbit/sec !<br>
      <br>
      Regards<br>
      Piero<br>
      <br>
    </span>
    <div class="moz-cite-prefix">Il 21/06/2016 11:01, Tytus Rogalewski
      ha scritto:<br>
    </div>
    <blockquote
cite="mid:CANfXJzuHYwAnSzUEPJSF=rKmbfWbv-Rc8z6UZeQLmT=AYBcSxw@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span style="font-size:12.8px">Lol i made it :)</span>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px"><span
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Ok
            so i thought that it was buggy drbd9 but after 3 days of
            lost time i finally made it&nbsp;</span><img
            moz-do-not-send="true"
            src="https://forum.proxmox.com/styles/default/xenforo/clear.png"
            alt=":)" title="Smile :)" class="" style="border: 0px;
            vertical-align: text-bottom; margin: 0px 1px; max-width:
            100%; width: 18px; min-height: 18px; color: rgb(44, 44, 44);
            font-family: &quot;Open Sans&quot;, Helvetica, Arial,
            sans-serif; font-size: 14.6667px; line-height: 20.5333px;
            background:
            url(&quot;https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png&quot;)
            0px 0px no-repeat rgb(250, 250, 250);"><br
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Before
            that fix i had 20mbit/s syncing but after that i have
            800mbit/s on 1GBit&nbsp;</span><img moz-do-not-send="true"
            src="https://forum.proxmox.com/styles/default/xenforo/clear.png"
            alt=":)" title="Smile :)" class="" style="border: 0px;
            vertical-align: text-bottom; margin: 0px 1px; max-width:
            100%; width: 18px; min-height: 18px; color: rgb(44, 44, 44);
            font-family: &quot;Open Sans&quot;, Helvetica, Arial,
            sans-serif; font-size: 14.6667px; line-height: 20.5333px;
            background:
            url(&quot;https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png&quot;)
            0px 0px no-repeat rgb(250, 250, 250);"><br
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <br style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <div style="margin:1em 140px 1em 0px;padding:0px;border:1px
            solid
            rgb(221,229,234);overflow:auto;color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(248,251,253)">
            <div
style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)">Code:</div>
            <pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,&quot;Courier New&quot;,Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x">NET | bond0    80% | pcki   13298 | pcko  133286 | si 3879 Kbps | so  807 Mbps | coll       0 | mlti      12 | erri       0 | erro       0 | drpi       0 | drpo       0 |
NET | eth1     80% | pcki   13298 | pcko  133286 | si 3879 Kbps | so  807 Mbps | coll       0 | mlti      12 | erri       0 | erro       0 | drpi       0 | drpo       0 |
NET | tap0      0% | pcki       4 | pcko       4 | si    0 Kbps | so   12 Kbps | coll       0 | mlti       0 | erri       0 | erro       0 | drpi       0 | drpo       0 |
NET | eth2</pre>
          </div>
          <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">it
            was all about stupid config file ..... and accually you need
            to edit proper config ....</span><br
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <br style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">First
            of all if you have working drbd9 cluster first stop all VMs
            and then all resources on both&nbsp;<span class="">drbd</span>&nbsp;nodes:</span><br
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <div style="margin:1em 140px 1em 0px;padding:0px;border:1px
            solid
            rgb(221,229,234);overflow:auto;color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(248,251,253)">
            <div
style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)">Code:</div>
            <pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,&quot;Courier New&quot;,Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x">drbdadm disconnect all</pre>
          </div>
          <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Then
            you need to edit config (and this is what i was looking for
            so long)</span><b
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">&nbsp;/var/lib/<span
              class="">drbd</span>.d/drbdmanage_global_common.conf</b><span
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">&nbsp;because
            editing /etc/<span class="">drbd</span>.d/global_common.conf
            doesnt work at all&nbsp;</span><img moz-do-not-send="true"
            src="https://forum.proxmox.com/styles/default/xenforo/clear.png"
            alt=":)" title="Smile :)" class="" style="border: 0px;
            vertical-align: text-bottom; margin: 0px 1px; max-width:
            100%; width: 18px; min-height: 18px; color: rgb(44, 44, 44);
            font-family: &quot;Open Sans&quot;, Helvetica, Arial,
            sans-serif; font-size: 14.6667px; line-height: 20.5333px;
            background:
            url(&quot;https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png&quot;)
            0px 0px no-repeat rgb(250, 250, 250);"><br
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <br style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Enter
            those settings to&nbsp;</span><b
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">/var/lib/<span
              class="">drbd</span>.d/drbdmanage_global_common.conf&nbsp;<span
              style="color:rgb(255,0,0)">ON BOTH NODES</span><br>
            <div style="margin:1em 140px 1em 0px;padding:0px;border:1px
              solid
              rgb(221,229,234);overflow:auto;background-color:rgb(248,251,253)">
              <div
style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)">Code:</div>
              <pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,&quot;Courier New&quot;,Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x"># it must be content of /var/lib/<span class="">drbd</span>.d/drbdmanage_global_common.conf !!!!
common {
disk {
        on-io-error             detach;
        no-disk-flushes ;
        no-disk-barrier;
        c-plan-ahead 10;
        c-fill-target 24M;
        c-min-rate 10M;
        c-max-rate 100M;
}.
net {
        # max-epoch-size          20000;
        max-buffers             36k;
        sndbuf-size            1024k ;
        rcvbuf-size            2048k;
}
}
</pre>
            </div>
          </b><br style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Then
            simply restart&nbsp;<span class="">drbd</span>&nbsp;by:</span><br
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <b style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
            <div style="margin:1em 140px 1em 0px;padding:0px;border:1px
              solid
              rgb(221,229,234);overflow:auto;background-color:rgb(248,251,253)">
              <div
style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)">Code:</div>
              <pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,&quot;Courier New&quot;,Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x">/etc/init.d/<span class="">drbd</span> restart</pre>
            </div>
          </b><br style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">And
            thats it. Syncing should be at 800mbits&nbsp;</span><img
            moz-do-not-send="true"
            src="https://forum.proxmox.com/styles/default/xenforo/clear.png"
            alt=":)" title="Smile :)" class="" style="border: 0px;
            vertical-align: text-bottom; margin: 0px 1px; max-width:
            100%; width: 18px; min-height: 18px; color: rgb(44, 44, 44);
            font-family: &quot;Open Sans&quot;, Helvetica, Arial,
            sans-serif; font-size: 14.6667px; line-height: 20.5333px;
            background:
            url(&quot;https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png&quot;)
            0px 0px no-repeat rgb(250, 250, 250);"><br
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">In
            you have 10GBit just change c-max-rate to 1000M</span><br
            style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
          <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Play
            with those settings</span></div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature"><font
              style="color:rgb(153,153,153)" color="#666666"
              face="tahoma, sans-serif" size="1">-- <br>
              <a moz-do-not-send="true" href="http://sky-link.net"
                target="_blank">sky-link.net</a> Tytus Rogalewski<br>
              eMail: <a moz-do-not-send="true"
                href="mailto:tytanick@gmail.com" target="_blank">tytanick@gmail.com</a><br>
              strona:&nbsp;<a moz-do-not-send="true"
                href="http://sky-link.net" target="_blank">http://sky-link.net</a><br>
            </font><font style="color:rgb(153,153,153)" size="1">kom.
              790 202 300</font><br>
            <font style="color:rgb(153,153,153)" color="#666666"
              face="tahoma, sans-serif" size="1">gg: 210533<br>
              skype: tytanick</font><font style="color:rgb(153,153,153)"
              size="1"><br>
              NIP: 9570976234<br>
              REGON: 221197388<br>
            </font><br>
          </div>
        </div>
        <br>
        <div class="gmail_quote">2016-06-21 11:00 GMT+02:00 Tytus
          Rogalewski <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:tytanick@gmail.com" target="_blank">tytanick@gmail.com</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Lol i made it :)
              <div><br>
              </div>
              <div><br>
              </div>
              <div><span
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Ok
                  so i thought that it was buggy drbd9 but after 3 days
                  of lost time i finally made it&nbsp;</span><img
                  moz-do-not-send="true"
                  src="https://forum.proxmox.com/styles/default/xenforo/clear.png"
                  alt=":)" title="Smile :)"
                  style="border:0px;vertical-align:text-bottom;margin:0px
                  1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:&quot;Open
                  Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url(&quot;https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png&quot;)
                  0px 0px no-repeat rgb(250,250,250)"><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Before
                  that fix i had 20mbit/s syncing but after that i have
                  800mbit/s on 1GBit&nbsp;</span><img moz-do-not-send="true"
src="https://forum.proxmox.com/styles/default/xenforo/clear.png"
                  alt=":)" title="Smile :)"
                  style="border:0px;vertical-align:text-bottom;margin:0px
                  1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:&quot;Open
                  Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url(&quot;https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png&quot;)
                  0px 0px no-repeat rgb(250,250,250)"><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <br style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <div style="margin:1em 140px 1em
                  0px;padding:0px;border:1px solid
                  rgb(221,229,234);overflow:auto;color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(248,251,253)">
                  <div
style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)">Code:</div>
                  <pre style="margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,&quot;Courier New&quot;,Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x">NET | bond0    80% | pcki   13298 | pcko  133286 | si 3879 Kbps | so  807 Mbps | coll       0 | mlti      12 | erri       0 | erro       0 | drpi       0 | drpo       0 |
NET | eth1     80% | pcki   13298 | pcko  133286 | si 3879 Kbps | so  807 Mbps | coll       0 | mlti      12 | erri       0 | erro       0 | drpi       0 | drpo       0 |
NET | tap0      0% | pcki       4 | pcko       4 | si    0 Kbps | so   12 Kbps | coll       0 | mlti       0 | erri       0 | erro       0 | drpi       0 | drpo       0 |
NET | eth2</pre>
                </div>
                <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">it
                  was all about stupid config file ..... and accually
                  you need to edit proper config ....</span><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <br style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">First
                  of all if you have working drbd9 cluster first stop
                  all VMs and then all resources on both drbd nodes:</span><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <div style="margin:1em 140px 1em
                  0px;padding:0px;border:1px solid
                  rgb(221,229,234);overflow:auto;color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(248,251,253)">
                  <div
style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)">Code:</div>
                  <pre style="margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,&quot;Courier New&quot;,Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x">drbdadm disconnect all</pre>
                </div>
                <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Then
                  you need to edit config (and this is what i was
                  looking for so long)</span><b
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">&nbsp;/var/lib/drbd.d/drbdmanage_global_common.conf</b><span
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">&nbsp;because
                  editing /etc/drbd.d/global_common.conf doesnt work at
                  all&nbsp;</span><img moz-do-not-send="true"
                  src="https://forum.proxmox.com/styles/default/xenforo/clear.png"
                  alt=":)" title="Smile :)"
                  style="border:0px;vertical-align:text-bottom;margin:0px
                  1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:&quot;Open
                  Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url(&quot;https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png&quot;)
                  0px 0px no-repeat rgb(250,250,250)"><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <br style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Enter
                  those settings to&nbsp;</span><b
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">/var/lib/drbd.d/drbdmanage_global_common.conf&nbsp;<span
                    style="color:rgb(255,0,0)">ON BOTH NODES</span><br>
                  <div style="margin:1em 140px 1em
                    0px;padding:0px;border:1px solid
                    rgb(221,229,234);overflow:auto;background-color:rgb(248,251,253)">
                    <div
style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)">Code:</div>
                    <pre style="margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,&quot;Courier New&quot;,Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x"># it must be content of /var/lib/drbd.d/drbdmanage_global_common.conf !!!!
common {
disk {
        on-io-error             detach;
        no-disk-flushes ;
        no-disk-barrier;
        c-plan-ahead 10;
        c-fill-target 24M;
        c-min-rate 10M;
        c-max-rate 100M;
}.
net {
        # max-epoch-size          20000;
        max-buffers             36k;
        sndbuf-size            1024k ;
        rcvbuf-size            2048k;
}
}
</pre>
                  </div>
                </b><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Then
                  simply restart drbd by:</span><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <b style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                  <div style="margin:1em 140px 1em
                    0px;padding:0px;border:1px solid
                    rgb(221,229,234);overflow:auto;background-color:rgb(248,251,253)">
                    <div
style="margin:0px;padding:8px;font-size:13px;color:rgb(52,77,93);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,229,234);background-color:rgb(255,255,255)">Code:</div>
                    <pre style="margin-top:0px;margin-bottom:0px;padding:0px 8px;font-family:Consolas,&quot;Courier New&quot;,Courier,monospace;line-height:26px;word-wrap:normal;font-size:10pt;overflow:auto;min-height:30px;max-height:500px;direction:ltr;background-image:-webkit-repeating-linear-gradient(top,rgba(0,0,0,0.0117647) 0px,rgba(0,0,0,0.0117647) 26px,rgba(0,0,0,0.0431373) 26px,rgba(0,0,0,0.0431373) 52px);background-repeat:repeat-x">/etc/init.d/drbd restart</pre>
                  </div>
                </b><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">And
                  thats it. Syncing should be at 800mbits&nbsp;</span><img
                  moz-do-not-send="true"
                  src="https://forum.proxmox.com/styles/default/xenforo/clear.png"
                  alt=":)" title="Smile :)"
                  style="border:0px;vertical-align:text-bottom;margin:0px
                  1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:&quot;Open
                  Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url(&quot;https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png&quot;)
                  0px 0px no-repeat rgb(250,250,250)"><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">In
                  you have 10GBit just change c-max-rate to 1000M</span><br
                  style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">
                <span style="color:rgb(44,44,44);font-family:&quot;Open
Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background-color:rgb(250,250,250)">Play
                  with those settings&nbsp;</span><img moz-do-not-send="true"
src="https://forum.proxmox.com/styles/default/xenforo/clear.png"
                  alt=":)" title="Smile :)"
                  style="border:0px;vertical-align:text-bottom;margin:0px
                  1px;max-width:100%;width:18px;min-height:18px;color:rgb(44,44,44);font-family:&quot;Open
                  Sans&quot;,Helvetica,Arial,sans-serif;font-size:14.6667px;line-height:20.5333px;background:url(&quot;https://ci4.googleusercontent.com/proxy/vrLCIN1cOYEuoPDPdqq6DU03g-ezr43tcfVCINBO6nQch6HyOxSRtWjO5Z11xxUHDBhyAJkE5VKNNygCoaCUVJ0MgXu96a3GvQ8go0mJ=s0-d-e1-ft#http://styles/default/xenforo/xenforo-smilies-sprite.png&quot;)
                  0px 0px no-repeat rgb(250,250,250)"><br>
              </div>
            </div>
            <div class="gmail_extra"><span class=""><br clear="all">
                <div>
                  <div data-smartmail="gmail_signature"><font
                      style="color:rgb(153,153,153)" color="#666666"
                      face="tahoma, sans-serif" size="1">-- <br>
                      <a moz-do-not-send="true"
                        href="http://sky-link.net" target="_blank">sky-link.net</a>
                      Tytus Rogalewski<br>
                      eMail: <a moz-do-not-send="true"
                        href="mailto:tytanick@gmail.com" target="_blank">tytanick@gmail.com</a><br>
                      strona:&nbsp;<a moz-do-not-send="true"
                        href="http://sky-link.net" target="_blank">http://sky-link.net</a><br>
                    </font><font style="color:rgb(153,153,153)" size="1">kom.
                      790 202 300</font><br>
                    <font style="color:rgb(153,153,153)" color="#666666"
                      face="tahoma, sans-serif" size="1">gg: 210533<br>
                      skype: tytanick</font><font
                      style="color:rgb(153,153,153)" size="1"><br>
                      NIP: 9570976234<br>
                      REGON: 221197388<br>
                    </font><br>
                  </div>
                </div>
                <br>
              </span>
              <div>
                <div class="h5">
                  <div class="gmail_quote">2016-06-21 8:02 GMT+02:00
                    Tytus Rogalewski <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:tytanick@gmail.com" target="_blank">tytanick@gmail.com</a>&gt;</span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <p dir="ltr">Drbd 8.x was totally fine.<br>
                        9.0 in proxmox 4.2 is bugged i suppose.<br>
                        I will try 8.x in 4.2</p>
                      <div>
                        <div>
                          <div class="gmail_quote">21 cze 2016 01:00
                            "Adam Goryachev" &lt;<a
                              moz-do-not-send="true"
                              href="mailto:mailinglists@websitemanagers.com.au"
                              target="_blank">mailinglists@websitemanagers.com.au</a>&gt;
                            napisa&#322;(a):<br type="attribution">
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex">On 20/06/16
                              22:47, Emmanuel Florac wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                Le Sun, 19 Jun 2016 08:56:18 +0200<br>
                                Piero Baudino &lt;<a
                                  moz-do-not-send="true"
                                  href="mailto:pbaudino@formatnet.it"
                                  target="_blank">pbaudino@formatnet.it</a>&gt;
                                &eacute;crivait:<br>
                                <br>
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  Hi all,<br>
                                  <br>
                                  I have a cluster with 2 PVE servers
                                  with DRBD9.<br>
                                  The replicated volume is about 7 Tb,
                                  the disks are 7200 rpm near line<br>
                                  SAS. The communications channel for
                                  DRBD9 is done via 4 Gbit<br>
                                  dedicated network cards in bond
                                  configuration (round robbin).<br>
                                  I have created a VM with 1 Tb disk for
                                  test purpuse in the DRBD<br>
                                  volume. After that, DRBD starts
                                  sync...<br>
                                  The sync speed is about 10 Mbyte/sec<br>
                                  The effective network speed misured
                                  with IPERF is about 3,6 Gbit/sec<br>
                                  <br>
                                  Is there a way to increse sync speed ?<br>
                                  All the docs about this topic are
                                  related to 8.x.y DRBD version....<br>
                                </blockquote>
                                <br>
                                See this thread maybe:<br>
                                <a moz-do-not-send="true"
                                  href="http://www.gossamer-threads.com/lists/drbd/users/27675"
                                  rel="noreferrer" target="_blank">http://www.gossamer-threads.com/lists/drbd/users/27675</a><br>
                                <br>
                              </blockquote>
                              <br>
                              Stupid question perhaps, but doesn't that
                              thread also relate to 8.4.x rather than
                              9.0.x ?<br>
                              <br>
                              <br>
                              -- <br>
                              Adam Goryachev Website Managers <a
                                moz-do-not-send="true"
                                href="http://www.websitemanagers.com.au"
                                rel="noreferrer" target="_blank">www.websitemanagers.com.au</a><br>
_______________________________________________<br>
                              drbd-user mailing list<br>
                              <a moz-do-not-send="true"
                                href="mailto:drbd-user@lists.linbit.com"
                                target="_blank">drbd-user@lists.linbit.com</a><br>
                              <a moz-do-not-send="true"
                                href="http://lists.linbit.com/mailman/listinfo/drbd-user"
                                rel="noreferrer" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
                            </blockquote>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>