<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        FONT-SIZE: 10.5pt; COLOR: #000080; LINE-HEIGHT: 1.5; FONT-FAMILY: ËÎÌå
}
</STYLE>
<META content="MSHTML 6.00.2900.6197" name=GENERATOR></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Did you set one "syncer rate" in your drbd.conf?</DIV>
<DIV>such as:</DIV>
<DIV>
<DIV> syncer</DIV>
<DIV> {</DIV>
<DIV> rate 200M;</DIV>
<DIV> }</DIV></DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>
<DIV>
<DIV> </DIV>
<DIV style="FONT-WEIGHT: bold; FONT-STYLE: italic">B.R.</DIV>
<DIV style="FONT-WEIGHT: bold; FONT-STYLE: italic">Zheng Feng</DIV>
<DIV> </DIV></DIV></SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<DIV
style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; COLOR: #000000; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:marcel@kraan.net">Marcel Kraan</A></DIV>
<DIV><B>Date:</B> 2012-06-04 15:38</DIV>
<DIV><B>To:</B> <A
href="mailto:drbd-user@lists.linbit.com">drbd-user</A></DIV>
<DIV><B>Subject:</B> [DRBD-user] drbd sync very slow</DIV></DIV></DIV>
<DIV>
<DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>I use DRBD for a while now.</DIV>
<DIV>But today after "image creation crash of 850GB" a the disks where out of sync</DIV>
<DIV> </DIV>
<DIV>So i synced the secondary again with the primary</DIV>
<DIV> </DIV>
<DIV>secondary</DIV>
<DIV>drbdadm secondary main</DIV>
<DIV>drbdadm disconnect main</DIV>
<DIV>drbdadm -- --discard-my-data connect main</DIV>
<DIV> </DIV>
<DIV>primary</DIV>
<DIV>drbdadm connect main</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>at this time the sync speed was very slow.</DIV>
<DIV>my normal speed is between 29000 and 32000 on a normal cat5e/gigabit network</DIV>
<DIV>i have also rebooted the servers.</DIV>
<DIV> </DIV>
<DIV>PRIMARY:</DIV>
<DIV>version: 8.3.12 (api:88/proto:86-96)</DIV>
<DIV>GIT-hash: e2a8ef4656be026bbae540305fcb998a5991090f build by phil@Build64R6, 2012-04-08 09:36:52</DIV>
<DIV> 0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r-----</DIV>
<DIV> 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</DIV>
<DIV>[=======>............] sync'ed: 44.4% (1805576/3236076)K</DIV>
<DIV>finish: 0:49:17 speed: 600 (2,364) K/sec</DIV>
<DIV> </DIV>
<DIV>SECONDARY:</DIV>
<DIV>[root@storage2 ~]# cat /proc/drbd </DIV>
<DIV>version: 8.3.12 (api:88/proto:86-96)</DIV>
<DIV>GIT-hash: e2a8ef4656be026bbae540305fcb998a5991090f build by phil@Build64R6, 2012-04-08 09:36:52</DIV>
<DIV> 0: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r-----</DIV>
<DIV> 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</DIV>
<DIV>[========>...........] sync'ed: 45.2% (1778116/3236076)K</DIV>
<DIV>finish: 0:49:23 speed: 596 (2,236) want: 51,200 K/sec</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>network</DIV>
<DIV>root@storage1 ~]# ifconfig eth0</DIV>
<DIV>eth0 Link encap:Ethernet HWaddr 00:16:3E:27:85:5A </DIV>
<DIV> inet addr:192.168.123.101 Bcast:192.168.123.255 Mask:255.255.255.0</DIV>
<DIV> inet6 addr: fe80::216:3eff:fe27:855a/64 Scope:Link</DIV>
<DIV> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:59985 errors:0 dropped:1 overruns:0 frame:0</DIV>
<DIV> TX packets:135399 errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0 txqueuelen:1000 </DIV>
<DIV> RX bytes:42249562 (40.2 MiB) TX bytes:175295376 (167.1 MiB)</DIV>
<DIV> Interrupt:11 Base address:0x4000 </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>[root@storage2 ~]# ifconfig eth0</DIV>
<DIV>eth0 Link encap:Ethernet HWaddr 00:16:3E:30:7D:27 </DIV>
<DIV> inet addr:192.168.123.102 Bcast:192.168.123.255 Mask:255.255.255.0</DIV>
<DIV> inet6 addr: fe80::216:3eff:fe30:7d27/64 Scope:Link</DIV>
<DIV> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:99968 errors:0 dropped:39 overruns:0 frame:0</DIV>
<DIV> TX packets:53516 errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0 txqueuelen:1000 </DIV>
<DIV> RX bytes:124786225 (119.0 MiB) TX bytes:41878110 (39.9 MiB)</DIV>
<DIV> Interrupt:11 Base address:0x4000 </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Does anyone has a clue what i can do?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Marcel Kraan</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>_______________________________________________</DIV>
<DIV>drbd-user mailing list</DIV>
<DIV>drbd-user@lists.linbit.com</DIV>
<DIV>http://lists.linbit.com/mailman/listinfo/drbd-user</DIV>
<DIV> </DIV></DIV></BODY></HTML>