couple of weeks ago I made a test setup for DRBD on couple of servers. The speed was fixed 90MB/800Mb as per my config for initial sync. Now I have reinstalled the OS (CentOS 7.4) to do final install on the servers and I am seeing speed issue (as shown below). The only difference that I can think of right now is installation of pacemaker+corosync, both of which are disabled for initial sync. I have reinstalled the OS a couple of times and tried to change the speed etc. parameters in config but nothing changed. Here is my config:
[root@storage2 ~]# cat /etc/drbd.d/global_common.conf
global {
usage-count yes;
udev-always-use-vnr;
}
common {
net {
protocol C;
}
}
[root@storage2 ~]# cat /etc/drbd.d/nfs.res
resource r0 {
syncer {
c-plan-ahead 20;
c-fill-target 50k;
c-min-rate 25M;
al-extents 3833;
rate 90M;
}
disk {
no-md-flushes;
#fencing resource-only;
}
handlers {
fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
after-resync-target "/usr/lib/drbd/crm-unfence-peer.sh";
}
net {
sndbuf-size 512k;
max-buffers 8000;
max-epoch-size 8000;
after-sb-0pri discard-least-changes;
after-sb-1pri consensus;
after-sb-2pri call-pri-lost-after-sb;
}
device /dev/drbd0;
disk /dev/sda4;
meta-disk internal;
on storage1 {
address 172.30.1.11:7790;
}
on storage2 {
address 172.30.1.12:7790;
}
}