[DRBD-user] drbd sync very slow

zf5984599 zf5984599 at gmail.com
Mon Jun 4 09:45:22 CEST 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Did you set one "syncer rate" in your drbd.conf?
such as:
        syncer
        {
                rate 200M;
        }





B.R.
Zheng Feng


From: Marcel Kraan
Date: 2012-06-04 15:38
To: drbd-user
Subject: [DRBD-user] drbd sync very slow
Hello,

I use DRBD for a while now.
But today after "image creation crash of 850GB"  a the disks where out of sync

So i synced the secondary  again with the primary

secondary
drbdadm secondary main
drbdadm disconnect main
drbdadm -- --discard-my-data connect main

primary
drbdadm connect main


at this time the sync speed was very slow.
my normal speed is between 29000 and 32000 on a normal cat5e/gigabit network
i have also rebooted the servers.

PRIMARY:
version: 8.3.12 (api:88/proto:86-96)
GIT-hash: e2a8ef4656be026bbae540305fcb998a5991090f build by phil at Build64R6, 2012-04-08 09:36:52
 0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r-----
    ns:1434576 nr:0 dw:3680 dr:1435381 al:2 bm:4716 lo:0 pe:735 ua:0 ap:0 ep:1 wo:b oos:1805576
[=======>............] sync'ed: 44.4% (1805576/3236076)K
finish: 0:49:17 speed: 600 (2,364) K/sec

SECONDARY:
[root at storage2 ~]# cat /proc/drbd 
version: 8.3.12 (api:88/proto:86-96)
GIT-hash: e2a8ef4656be026bbae540305fcb998a5991090f build by phil at Build64R6, 2012-04-08 09:36:52
 0: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r-----
    ns:0 nr:1459708 dw:1459100 dr:0 al:0 bm:5440 lo:154 pe:571 ua:152 ap:0 ep:1 wo:b oos:1778116
[========>...........] sync'ed: 45.2% (1778116/3236076)K
finish: 0:49:23 speed: 596 (2,236) want: 51,200 K/sec


network
root at storage1 ~]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:16:3E:27:85:5A  
          inet addr:192.168.123.101  Bcast:192.168.123.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe27:855a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:59985 errors:0 dropped:1 overruns:0 frame:0
          TX packets:135399 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:42249562 (40.2 MiB)  TX bytes:175295376 (167.1 MiB)
          Interrupt:11 Base address:0x4000 


[root at storage2 ~]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:16:3E:30:7D:27  
          inet addr:192.168.123.102  Bcast:192.168.123.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe30:7d27/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:99968 errors:0 dropped:39 overruns:0 frame:0
          TX packets:53516 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:124786225 (119.0 MiB)  TX bytes:41878110 (39.9 MiB)
          Interrupt:11 Base address:0x4000 



Does anyone has a clue what i can do?




Marcel Kraan





_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120604/44be8493/attachment.htm>


More information about the drbd-user mailing list