[DRBD-user] DRBD9 sync speed

Matt Kereczman matt at linbit.com
Tue Jun 21 23:16:02 CEST 2016

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

On 06/21/2016 05:30 AM, Adam Goryachev wrote:
> On 21/06/2016 22:10, Tytus Rogalewski wrote:
>> almost solved.
>> After reboot, file */var/lib/drbd.d/drbdmanage_global_common.conf i*s
>> overwritten and empty.
>> So settings are not working after rebot.
>> Anybody know how to make it permanent ?
>> *
>> *
> I seem to recall a post to the list about this, you need to ask drbd to
> make the change for you, then it will update the file automatically on
> all hosts. Maybe try to check the list archives, or see if there is any
> mention in the docs on providing custom options.

That's true. You wouldn't want to manually edit 
'/var/lib/drbd.d/drbdmanage_global_common.conf' since drbdmanage will 
periodically overwrite this file with it's version of the configuration.

Currently, drbdmanage 0.96.1-1 does not support tuning the c-* settings 
in the 'disk-options', but you can tune the 'net-options' to see if it 
helps with your resync speeds:
  # drbdmanage net-options --common --max-buffers 36000 \
    --max-epoch-size 20000 --sndbuf-size 1024000 --rcvbuf-size 2048000

You can also specify individual resources if there is one you're testing 
   # drbdmanage net-options --resource <name> --max-buffers 36000 \
     --max-epoch-size 20000 --sndbuf-size 1024000 --rcvbuf-size 2048000

: Matt Kereczman
: matt at linbit.com
: +1 (503) 573-1262 x205
: LINBIT | Keeping the Digital World Running
: DRBD -- Heartbeat -- Corosync -- Pacemaker

More information about the drbd-user mailing list