zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

DRBD set sync speed

March 15, 2011 by Igor Drobot 1 Comment

The default sync rate is normally defined in your drbd configuration (mostly /etc/drbd.conf)

1
2
3
syncer {
    rate 100M; 
}

syncer { rate 100M; }

If you are setting up a virtual machine on drbd cluster you need to produce more I/O and your physical machines are under heavy load. You can stop some services or you can reduce the sync rate.

Set temporary sync rate:
You need to issue this command only on one of your nodes!

1
root@drbd-node1:~# drbdsetup /dev/drbd0 syncer -r 10M

root@drbd-node1:~# drbdsetup /dev/drbd0 syncer -r 10M

Enjoy the easy solution;)

Filed Under: Debian, Linux Tagged With: DRBD, drbd speed, drbd syncer