[DRBD-user] resync-rate not applied

Dennis Jacobfeuerborn dennisml at conversis.de
Fri Aug 3 14:21:01 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.


On 08/03/2012 09:37 AM, Felix Frank wrote:
> Hi,
> 
> On 08/03/2012 03:27 AM, Dennis Jacobfeuerborn wrote:
>> The problem is that the resync rate
>> is only 5M even though in the config file I set it to 40M.
> 
> what's telling you this 5M figure? What does "drbdsetup <minor> show"
> have to say on the matter?

That says:
resource drbd1 {
    options {
    }
    net {
    }
    _remote_host {
        address			ipv4 10.0.0.193:7789;
    }
    _this_host {
        address			ipv4 10.0.0.192:7789;
        volume 0 {
            device			minor 1;
            disk			"/dev/vg_rabbitmq_data/lv_data";
            meta-disk			internal;
            disk {
                resync-rate     	40960k; # bytes/second
            }
        }
    }
}

> Things to try:
> drbdadm syncer

drbdadm: Unknown command 'syncer'

> drbdadm adjust -d (should tell you if the userland thinks it needs to
> update the resource as per the drbd config)

That outputs nothing.

I got some hints on IRC to set c-plan-ahead to 0 to disable the variable
syncer which seemed to improve the situation somewhat in that the secondary
"wants" shows the correct value and I can slow down the sync rate but
cannot apparently get past the 5M mark. As a test I copied a file over
using scp using arcfour encryption and that happens with 97MB/s so the
network/disk bandwidth is there.

Regards,
  Dennis



More information about the drbd-user mailing list