[DRBD-user] Resync Incredibly Slow

Eric Robinson eric.robinson at psmnv.com
Sun Aug 19 00:39:37 CEST 2018

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...

ha01_mysql role:Secondary
  001db01b role:Primary
    replication:SyncTarget peer-disk:UpToDate done:93.84

ha02_mysql role:Primary
  001db01b role:Secondary
    replication:SyncSource peer-disk:Inconsistent done:84.49

Also, the numbers shown by drbdadm status are way different than what is shown under /sys...

[root at 001db01b 0]# cat /sys/kernel/debug/drbd/resources/ha02_mysql/connections/001db01a/0/proc_drbd
1: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r-----
    ns:8 nr:175023740 dw:657162492 dr:615264242 al:2325 bm:0 lo:0 pe:[0;0] ua:0 ap:[0;0] ep:1 wo:2 oos:307063536
        [======>.............] sync'ed: 36.4% (299864/470788)M
        finish: 1:00:41 speed: 84,300 (91,452 -- 80,028) want: 614,400 K/sec
         11% sector pos: 373912576/3221127096
        resync: used:0/61 hits:696233 misses:2854 starving:0 locked:0 changed:1427
        act_log: used:0/1237 hits:842881 misses:5965929 starving:0 locked:0 changed:118214
        blocked on activity log: 0
[root at 001db01b 0]# cat /sys/kernel/debug/drbd/resources/ha01_mysql/connections/001db01a/0/proc_drbd
0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r-----
    ns:370199208 nr:580 dw:1039815524 dr:197034909 al:50060 bm:0 lo:0 pe:[0;0] ua:0 ap:[0;0] ep:1 wo:2 oos:105671448
        [=>..................] sync'ed: 10.0% (103192/114580)M
        finish: 3:50:34 speed: 7,632 (2,804 -- 4,988) K/sec
          0% sector pos: 0/3221127096
        resync: used:0/61 hits:188990 misses:364 starving:0 locked:0 changed:186
        act_log: used:0/1237 hits:173070247 misses:3163320 starving:0 locked:0 changed:130073
        blocked on activity log: 0


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180818/aa21af78/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 13898 bytes
Desc: image001.jpg
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180818/aa21af78/attachment-0001.jpg>

More information about the drbd-user mailing list