<div dir="ltr"><div><div>Hello,<br><br></div>I am testing DRBD 8.4.3 with kernel 3.4.69 and I have error messages in dmesg on both nodes. I tested DRBD on different servers with new disks to make sure that this problem isn't related with hardware but still the same issue. During all of my tests I was copying the data to DRBD volume.<br>
<br></div>Please, I will be glad if you can help me with this problem.<br><br>Below you will find my DRBD config files and errors in dmesg from both nodes<br><br><br><div><div><div><div><div><b>Node A:
</b><br> <br></div><div><b># cat /etc/drbd.conf</b><br>resource "d64R3f-8Cx2-K9tv-s1rH-04Xz-kzQ3-qSFsqv" {
<br> protocol C;
<br> <br> device minor 16;
<br> <br> <br> on nodea {
<br> disk "/dev/vg+vg00/lv+b+lv0009";
<br> address <a href="http://1.1.1.1:12009">1.1.1.1:12009</a>;
<br> meta-disk "/dev/vg+vg00/lv+r+d64R3f-8Cx2-K9tv-s1rH-04Xz-kzQ3-qSFsqv";
<br> }
<br> <br> net {
<br> max-buffers 12000;
<br> max-epoch-size 12000;
<br> unplug-watermark 128;
<br> sndbuf-size 0;
<br> ping-int 4;
<br> timeout 30;
<br> }
<br> <br> handlers {
<br> }
<br> <br> on peer {
<br> disk /dev/fake_disk_d64R3f-8Cx2-K9tv-s1rH-04Xz-kzQ3-qSFsqv;
<br> address <a href="http://1.1.1.2:12009">1.1.1.2:12009</a>;
<br> meta-disk /dev/fake_metadisk_d64R3f-8Cx2-K9tv-s1rH-04Xz-kzQ3-qSFsqv;
<br> }
<br> <br> syncer {
<br> c-plan-ahead 20;
<br> c-fill-target 100;
<br> c-min-rate 0;
<br> al-extents 3389;
<br> }
<br> <br> <br> disk {
<br> }
<br>}<br><br></div><div><b># dmesg</b><br></div><div>[14688.866263] block drbd16: conn( Connected -> StartingSyncS ) pdsk( UpToDate -> Consistent )
<br>[14688.866484] block drbd16: bitmap WRITE of 16 pages took 0 jiffies
<br>[14688.866510] block drbd16: 2048 MB (524288 bits) marked out-of-sync by on disk bit-map.
<br>[14688.866573] block drbd16: helper command: /sbin/drbdadm before-resync-source minor-16
<br>[14688.869245] block drbd16: helper command: /sbin/drbdadm before-resync-source minor-16 exit code 0 (0x0)
<br>[14688.869264] block drbd16: conn( StartingSyncS -> SyncSource ) pdsk( Consistent -> Inconsistent )
<br>[14688.869272] block drbd16: Began resync as SyncSource (will sync 2097152 KB [524288 bits set]).
<br>[14688.869342] block drbd16: updated sync UUID 9A1D5236A8A7D3E1:2900C38BF9D5628E:DFE1A51BEB066CC8:5D901EB68471D5D7
<br>[14690.089772] block drbd16: BAD! sector=3669504s enr=111 rs_left=-6 rs_failed=0 count=70 cstate=SyncSource
<br>[14690.736083] block drbd16: BAD! sector=3702216s enr=112 rs_left=-23 rs_failed=0 count=58 cstate=SyncSource
<br>[14692.842074] block drbd16: BAD! sector=3472440s enr=105 rs_left=-8 rs_failed=0 count=58 cstate=SyncSource
<br>[14693.735985] block drbd16: BAD! sector=3506032s enr=106 rs_left=-52 rs_failed=0 count=70 cstate=SyncSource
<br>[14695.393524] block drbd16: BAD! sector=3571696s enr=108 rs_left=-23 rs_failed=0 count=25 cstate=SyncSource
<br>[14696.156094] block drbd16: BAD! sector=3603744s enr=109 rs_left=-5 rs_failed=0 count=58 cstate=SyncSource
<br>[14698.191890] block drbd16: BAD! sector=1343224s enr=40 rs_left=-8 rs_failed=0 count=70 cstate=SyncSource
<br>[14699.704434] block drbd16: BAD! sector=1376056s enr=41 rs_left=-8 rs_failed=0 count=70 cstate=SyncSource
<br>[14700.703467] block drbd16: BAD! sector=1408888s enr=42 rs_left=-8 rs_failed=0 count=70 cstate=SyncSource
<br>[14701.107177] block drbd16: BAD! sector=1298432s enr=39 rs_left=-19 rs_failed=0 count=70 cstate=SyncSource
<br>[14713.175103] block drbd16: Resync done (total 24 sec; paused 0 sec; 87380 K/sec)
<br>[14713.175121] block drbd16: updated UUIDs 9A1D5236A8A7D3E1:0000000000000000:2900C38BF9D5628E:DFE1A51BEB066CC8
<br>[14713.175130] block drbd16: conn( SyncSource -> Connected ) pdsk( Inconsistent -> UpToDate )
<br> <br><div><b>Node B:
</b><br><br></div><div><b># cat /etc/drbd.conf</b><br><br>resource "d64sJS-mQdV-GRxK-uwPl-gs71-3Hie-4wtaSp" {
<br> protocol C;
<br> <br> device minor 16;
<br> <br> <br> on nodeb {
<br> disk "/dev/vg+vg00/lv+b+lv0009";
<br> address <a href="http://1.1.1.2:12009">1.1.1.2:12009</a>;
<br> meta-disk "/dev/vg+vg00/lv+r+d64sJS-mQdV-GRxK-uwPl-gs71-3Hie-4wtaSp";
<br> }
<br> <br> net {
<br> max-buffers 12000;
<br> max-epoch-size 12000;
<br> unplug-watermark 128;
<br> sndbuf-size 0;
<br> ping-int 4;
<br> timeout 30;
<br> }
<br> <br> handlers {
<br> }
<br> <br> on peer {
<br> disk /dev/fake_disk_d64sJS-mQdV-GRxK-uwPl-gs71-3Hie-4wtaSp;<br> address <a href="http://1.1.1.1:12009">1.1.1.1:12009</a>;<br> meta-disk /dev/fake_metadisk_d64sJS-mQdV-GRxK-uwPl-gs71-3Hie-4wtaSp;
<br> }
<br> <br> syncer {
<br> c-plan-ahead 20;
<br> c-fill-target 100;
<br> c-min-rate 0;
<br> al-extents 3389;
<br> }
<br> <br> <br> disk {
<br> }
<br>}<br><br></div><div><b># dmesg</b><br></div>[11629.962996] block drbd11: conn( Connected -> StartingSyncT ) disk( UpToDate -> Outdated )
<br>[11629.963967] block drbd11: bitmap WRITE of 16 pages took 0 jiffies
<br>[11629.964027] block drbd11: 2048 MB (524288 bits) marked out-of-sync by on disk bit-map.
<br>[11629.964248] block drbd11: conn( StartingSyncT -> WFSyncUUID )
<br>[11629.966281] block drbd11: updated sync uuid 2900C38BF9D5628E:0000000000000000:DFE1A51BEB066CC8:5D901EB68471D5D7
<br>[11629.966463] block drbd11: helper command: /sbin/drbdadm before-resync-target minor-11
<br>[11629.970882] block drbd11: helper command: /sbin/drbdadm before-resync-target minor-11 exit code 0 (0x0)
<br>[11629.970897] block drbd11: conn( WFSyncUUID -> SyncTarget ) disk( Outdated -> Inconsistent )
<br>[11629.970906] block drbd11: Began resync as SyncTarget (will sync 2097152 KB [524288 bits set]).
<br>[11631.184973] block drbd11: BAD! sector=3669504s enr=111 rs_left=-6 rs_failed=0 count=70 cstate=SyncTarget
<br>[11631.831810] block drbd11: BAD! sector=3702216s enr=112 rs_left=-23 rs_failed=0 count=58 cstate=SyncTarget
<br>[11633.938205] block drbd11: BAD! sector=3472440s enr=105 rs_left=-8 rs_failed=0 count=58 cstate=SyncTarget
<br>[11634.813760] block drbd11: BAD! sector=3506032s enr=106 rs_left=-52 rs_failed=0 count=70 cstate=SyncTarget
<br>[11636.475529] block drbd11: BAD! sector=3571696s enr=108 rs_left=-23 rs_failed=0 count=25 cstate=SyncTarget
<br>[11637.250579] block drbd11: BAD! sector=3603744s enr=109 rs_left=-5 rs_failed=0 count=58 cstate=SyncTarget
<br>[11639.277359] block drbd11: BAD! sector=1343224s enr=40 rs_left=-8 rs_failed=0 count=70 cstate=SyncTarget
<br>[11640.799658] block drbd11: BAD! sector=1376056s enr=41 rs_left=-8 rs_failed=0 count=70 cstate=SyncTarget
<br>[11641.797217] block drbd11: BAD! sector=1408888s enr=42 rs_left=-8 rs_failed=0 count=70 cstate=SyncTarget
<br>[11642.202212] block drbd11: BAD! sector=1298432s enr=39 rs_left=-19 rs_failed=0 count=70 cstate=SyncTarget
<br>[11654.268741] block drbd11: Resync done (total 24 sec; paused 0 sec; 87380 K/sec)
<br>[11654.268752] block drbd11: updated UUIDs 9A1D5236A8A7D3E0:0000000000000000:2900C38BF9D5628E:DFE1A51BEB066CC8
<br>[11654.268762] block drbd11: conn( SyncTarget -> Connected ) disk( Inconsistent -> UpToDate )
<br>[11654.269033] block drbd11: helper command: /sbin/drbdadm after-resync-target minor-11
<br>[11654.273281] block drbd11: helper command: /sbin/drbdadm after-resync-target minor-11 exit code 0 (0x0)
<br><br><br></div><div><b># modinfo drbd<br></b>filename: /lib/modules/3.4.69/kernel/drivers/block/drbd/drbd.ko<br>author: Philipp Reisner <<a href="mailto:phil@linbit.com">phil@linbit.com</a>>, Lars Ellenberg <<a href="mailto:lars@linbit.com">lars@linbit.com</a>><br>
description: drbd - Distributed Replicated Block Device v8.4.3<br>version: 8.4.3<br>license: GPL<br>alias: block-major-147-*<br>vermagic: 3.4.69 SMP mod_unload <br>depends: <br>srcversion: 5C6CE16AE02BE1D7352FBEE<br>
parm: usermode_helper:string<br>parm: fault_devs:int<br>parm: fault_count:int<br>parm: fault_rate:int<br>parm: enable_faults:int<br>parm: proc_details:int<br>parm: disable_sendpage:bool<br>
parm: allow_oos:DONT USE! (bool)<br>parm: minor_count:Approximate number of drbd devices (1-255) (uint)<br><b><br></b></div><div><br>----<br></div><div>Best Regards<br></div><div>Adam Blaszczykowski<br>
<br></div></div></div></div></div></div>