Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
----- Original Message -----
> From: "Uwe Schuerkamp" <uwe.schuerkamp at nionex.net>
> To: "Michael Schwartzkopff" <misch at schwartzkopff.org>, drbd-user at lists.linbit.com
> Sent: Monday, March 12, 2012 9:57:29 AM
> Subject: Re: [DRBD-user] Please help with slow Replication / Syncing on debian squeeze 6.0, 8-disk RAID6
>
> On Mon, Mar 12, 2012 at 02:28:42PM +0100, Michael Schwartzkopff
> wrote:
> > > On Mon, Mar 12, 2012 at 01:25:12PM +0100, Michael Schwartzkopff
> > > wrote:
> > > > Hm,
> > > >
> > > > somethings do not fit together. You configured a rate of 102M
> > > > (Byte/s)
> > > > and when you ask the DRBD it tells you that your configured a
> > > > rate of
> > > > 11M (Byte/s)
> > > >
> > > > Did your show us the /proc/drbd output of the above given
> > > > config?
> > >
> > > Hello Michael,
> > >
> > > here's the /proc/drbd output:
> > >
> > > # cat /proc/drbd
> > > version: 8.3.7 (api:88/proto:86-91)
> > > srcversion: EE47D8BF18AC166BE219757
> > > 0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C
> > > r----
> > > ns:2371132 nr:0 dw:0 dr:2378656 al:0 bm:144 lo:1 pe:2556
> > > ua:1806
> > > ap:0 ep:1 wo:d oos:3152530292
> > > [>....................] sync'ed: 0.1% (3078640/3080948)M
> > > finish: 59:10:08 speed: 14,628 (12,296) K/sec
> >
> > What about
> > drbdsetup /dev/drbd... show?
> >
> > --
>
> Hello Michael,
>
> I think I included this one with the first email, here's the current
> setup:
>
> # drbdsetup /dev/drbd0 show
> disk {
> size 0s _is_default; # bytes
> on-io-error pass_on _is_default;
> fencing dont-care _is_default;
> no-disk-barrier ;
> no-disk-flushes ;
> no-md-flushes ;
> max-bio-bvecs 0 _is_default;
> }
> net {
> timeout 60 _is_default; # 1/10 seconds
> max-epoch-size 2048 _is_default;
> max-buffers 2048 _is_default;
> unplug-watermark 128 _is_default;
> connect-int 10 _is_default; # seconds
> ping-int 10 _is_default; # seconds
> sndbuf-size 0 _is_default; # bytes
> rcvbuf-size 0 _is_default; # bytes
> ko-count 0 _is_default;
> cram-hmac-alg "sha1";
> shared-secret "XXXXXXXXXXXXXXXXXXXX";
Does the rate change at all if you remove the cram-hmac-alg and shared-secret?
> after-sb-0pri disconnect _is_default;
> after-sb-1pri disconnect _is_default;
> after-sb-2pri disconnect _is_default;
> rr-conflict disconnect _is_default;
> ping-timeout 5 _is_default; # 1/10 seconds
> }
> syncer {
> rate 92160k; # bytes/second
Have you tried adjusting the syncer rate (temporarily) on the fly and see if it changes? i.e.:
drbdsetup /dev/drbd0 syncer -r 110M
drbdadm adjust 0
HTH
Jake
> after -1 _is_default;
> al-extents 127 _is_default;
> }
> protocol C;
> _this_host {
> device minor 0;
> disk "/dev/vg00/lvol0";
> meta-disk internal;
> address ipv4 192.168.168.200:7788;
> }
> _remote_host {
> address ipv4 192.168.168.210:7788;
> }