<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2">This is also something similar to what I saw...
<br />Using crossover cable. Trying to sync the resources caused a lot of disconnects,
<br />and it also got locked up in bitmap-transfer (what ever the name of the state is)...
<br />Also online verify failed after just a few %. So, switched to using 100Mbit + switch I was able to
<br />verify the complete disk. But after updating to 8.2.6rc1 made it better... (but still not perfect as stated in another thread)..
<br />
<br />/Stefan
<br />
<br />
<br /><b>---------- Original Message
-----------</b>
<br />
From: "Dan Gahlinger" <dgahling@gmail.com>
<br />
To: "Tomasz Chmielewski" <mangoo@wpkg.org>
<br />
Cc: drbd-user@linbit.com
<br />
Sent: Mon, 19 May 2008 12:57:42 -0400
<br />
Subject: Re: [DRBD-user] DRBD slow sync
<br />
<br />> speaking of slow sync, I have a similar issue.
<br />> using a
cross-over cable (2ft length) on gig interfaces, I can't set rate to
anything over 11M
<br />> if I do, the units disconnect and go primary/unknown
unknown/secondary. no matter what I do.
<br />>
yet I can transfer data and files across the dedicated link at really high
speed.
<br />> it's kind of crazy that a gig link interface can only do 11M
in drbd.
<br />> so I think it's related to this issue somehow.
<br />>
<br />>
On Mon, May 19, 2008 at 10:19 AM, Tomasz Chmielewski <<a href="mailto:mangoo@wpkg.org">mangoo@wpkg.org</a>> wrote:
<br />> <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
[WINDOWS-1252?]Anže Vidmar schrieb:
<br />>
<br />>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
hello list!
<br />>
<br />>
I've setup a fresh install of DRBD + OCFS2 on the machine with the following
properties:
<br />>
<br />>
OS: (Bluewhite64 12) Linux 2.6.23.9-2
<br />>
ARCH: x86_64
<br />>
CPU:8 x Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
<br />>
eth0 = 1Gb
<br />>
DRBD version = 8.2.5
<br />>
<br />>
The problem is that DRBD sync in very slooooow, around 315k/s. There is no way I
can speed-up the process. The storage with OCFS2 is 3.2T large and it's
build on hardware RAID5 + 1 spare.
<br />>
<br />>
Here is what I've already did:
<br />>
<br />>
- changed the UTP cable (cross and regular)
<br />>
- tried with kernel that has DRBD included in, and kernel + DRBD module
<br />>
- I've test the data transfer directly on eth1 - the transfer was normal
aroung 75M/s, so the link between the secondary (eth1) NIC's is ok
<br />>
- played with ethtool - I've setup the card to 100/1000M, half/full
duplex... No change
<br />>
- tweaking drbd.conf "net" parameters. No speed change at all.
<br />>
<br />>
Anyone have any idea what might be causing the slow sync? Is this normal for the
1st time sync?
<br />>
</blockquote>
<br />>
According to <a target="_blank" href="http://www.drbd.org/users-guide/re-drbdconf.html">http://www.drbd.org/users-guide/re-drbdconf.html</a> the default
rate is just 250 KB/s:
<br />>
<br />>
rate rate
<br />>
<br />>
To ensure a smooth operation of the application on top of DRBD, it
is possible to limit the bandwidth which may be used by background
synchronizations. The default is 250 KB/sec, the default unit is KB/sec.
Optional suffixes K, M, G are allowed.
<br />>
<font color="#888888">
<br />>
<br />>
--
<br />>
Tomasz Chmielewski
<br />>
<a target="_blank" href="http://wpkg.org/">http://wpkg.org</a></font>
<br />>
<br />>
_______________________________________________
<br />>
drbd-user mailing list
<br />>
<a target="_blank" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<br />>
<a target="_blank" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
<br />>
</blockquote>
<br /><b>------- End of Original Message
-------</b>
<br />
</font>
</BODY>
</HTML>