Your cpu-mask is likely not appropriate for the amount of cores on your system, it needs to represent a binary value that corrosponds to the amount of cores of your processor.
Ok. Now focus on replication. Let’s get back to (re-)synchronization later.
On Primary
[root@memverge3 ~]# drbdadm status test
test role:Primary
volume:1 disk:UpToDate open:no
memverge4 role:Secondary
volume:1 peer-disk:UpToDate
[root@memverge3 ~]#
[root@memverge3 ~]# drbdsetup show test
resource "test" {
options {
cpu-mask "110000";
}
_this_host {
node-id 27;
volume 1 {
device minor 1;
disk "/dev/vg_r0/lvol0";
meta-disk internal;
disk {
al-extents 6433;
al-updates no;
}
}
}
connection {
_peer_node_id 28;
path {
_this_host ipv4 1.1.1.3:7900;
_remote_host ipv4 1.1.1.4:7900;
}
_cstate Connected;
net {
transport "tcp";
timeout 90; # 1/10 seconds
max-epoch-size 16384;
connect-int 15; # seconds
ping-int 15; # seconds
sndbuf-size 67108864; # bytes
rcvbuf-size 67108864; # bytes
ping-timeout 10; # 1/10 seconds
max-buffers 131072;
_name "memverge4";
}
volume 1 {
disk {
resync-rate 8388608k; # bytes/second
}
}
}
}
[root@memverge3 ~]#
On Secodary
[root@memverge4 ~]# drbdsetup show test
resource "test" {
options {
cpu-mask "110000";
}
_this_host {
node-id 28;
volume 1 {
device minor 1;
disk "/dev/vg_r0/lvol0";
meta-disk internal;
disk {
al-extents 6433;
al-updates no;
}
}
}
connection {
_peer_node_id 27;
path {
_this_host ipv4 1.1.1.4:7900;
_remote_host ipv4 1.1.1.3:7900;
}
_cstate Connected;
net {
transport "tcp";
timeout 90; # 1/10 seconds
max-epoch-size 16384;
connect-int 15; # seconds
ping-int 15; # seconds
sndbuf-size 67108864; # bytes
rcvbuf-size 67108864; # bytes
ping-timeout 10; # 1/10 seconds
max-buffers 131072;
_name "memverge3";
}
volume 1 {
disk {
resync-rate 8388608k; # bytes/second
}
}
}
}
[root@memverge4 ~]#
On Primary fio
[root@memverge3 ~]# fio --name=test --rw=write --bs=1024k --filename=/dev/drbd1 --direct=1 --numjobs=1 --iodepth=16 --exitall --group_reporting --ioengine=libaio --runtime=30 --time_based=1
test: (g=0): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=16
fio-3.41-72-g6ff32
Starting 1 process
Jobs: 1 (f=1): [W(1)][100.0%][w=4436MiB/s][w=4436 IOPS][eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=12042: Fri Jan 16 12:57:25 2026
write: IOPS=4435, BW=4435MiB/s (4651MB/s)(130GiB/30004msec)
slat (usec): min=6, max=153, avg=14.97, stdev= 8.84
clat (usec): min=1146, max=6406, avg=3592.31, stdev=42.69
lat (usec): min=1164, max=6445, avg=3607.28, stdev=41.76
clat percentiles (usec):
| 1.00th=[ 3523], 5.00th=[ 3556], 10.00th=[ 3556], 20.00th=[ 3589],
| 30.00th=[ 3589], 40.00th=[ 3589], 50.00th=[ 3589], 60.00th=[ 3589],
| 70.00th=[ 3589], 80.00th=[ 3621], 90.00th=[ 3621], 95.00th=[ 3621],
| 99.00th=[ 3687], 99.50th=[ 3720], 99.90th=[ 3785], 99.95th=[ 4113],
| 99.99th=[ 4752]
bw ( MiB/s): min= 4370, max= 4480, per=100.00%, avg=4435.67, stdev=15.03, samples=60
iops : min= 4370, max= 4480, avg=4435.67, stdev=15.03, samples=60
lat (msec) : 2=0.01%, 4=99.94%, 10=0.05%
cpu : usr=1.39%, sys=5.88%, ctx=133059, majf=0, minf=16
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=100.0%, 32=0.0%, >=64=0.0%
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.1%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=0,133070,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
WRITE: bw=4435MiB/s (4651MB/s), 4435MiB/s-4435MiB/s (4651MB/s-4651MB/s), io=130GiB (140GB), run=30004-30004msec
Disk stats (read/write):
drbd1: ios=0/265155, sectors=0/271518720, merge=0/0, ticks=0/936425, in_queue=936425, util=99.69%, aggrios=0/266140, aggsectors=0/272527360, aggrmerge=0/0, aggrticks=0/16993, aggrin_queue=16993, aggrutil=29.87%
dm-3: ios=0/266140, sectors=0/272527360, merge=0/0, ticks=0/16993, in_queue=16993, util=29.87%, aggrios=0/266140, aggsectors=0/272527360, aggrmerge=0/0, aggrticks=0/16896, aggrin_queue=16896, aggrutil=29.68%
md127: ios=0/266140, sectors=0/272527360, merge=0/0, ticks=0/16896, in_queue=16896, util=29.68%, aggrios=0/66535, aggsectors=0/68131840, aggrmerge=0/0, aggrticks=0/4132, aggrin_queue=4132, aggrutil=13.76%
nvme0n1: ios=0/66535, sectors=0/68131840, merge=0/0, ticks=0/4094, in_queue=4094, util=13.58%
nvme3n1: ios=0/66535, sectors=0/68131840, merge=0/0, ticks=0/4150, in_queue=4150, util=13.76%
nvme1n1: ios=0/66535, sectors=0/68131840, merge=0/0, ticks=0/4150, in_queue=4150, util=13.76%
nvme4n1: ios=0/66535, sectors=0/68131840, merge=0/0, ticks=0/4135, in_queue=4135, util=13.72%
[root@memverge3 ~]#