Built a drbd v9.2 kernel module on Linux 5.14.0-162.6.1 The module is loaded but I get an error.
resource data {
protocol C;
device /dev/drbd0;
disk /dev/sdb1;
meta-disk internal;
net {
cram-hmac-alg sha1;
shared-secret "m0293995m0293996";
#allow-two-primaries;
ko-count 4;
max-buffers 8000;
max-epoch-size 8000;
sndbuf-size 0;
}
syncer {
verify-alg md5;
rate 50M;
}
startup {
wfc-timeout 10;
}
on m0293995 {
address 192.168.0.1:7788;
}
on m0293996 {
address 192.168.0.2:7788;
}
}
Whats causing this error ?
$ drbdadm create-md data
/etc/drbd.d/data.res:20: Parse error: 'a syncer option keyword' expected,
but got 'rate'