[DRBD-user] "BAD! sector..." error message from DRBD 8.4.3 in dmesg

Adam Błaszczykowski adam.blaszczykowski at gmail.com
Fri Jan 10 16:35:29 CET 2014

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello,

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.

Please, I will be glad if you can help me with this problem.

Below you will find my DRBD config files and errors in dmesg from both nodes


*Node A: *

*# cat /etc/drbd.conf*
resource "d64R3f-8Cx2-K9tv-s1rH-04Xz-kzQ3-qSFsqv" {
        protocol                C;

        device          minor 16;


        on nodea {
                disk            "/dev/vg+vg00/lv+b+lv0009";
                address         1.1.1.1:12009;
                meta-disk
"/dev/vg+vg00/lv+r+d64R3f-8Cx2-K9tv-s1rH-04Xz-kzQ3-qSFsqv";
        }

        net {
                max-buffers 12000;
                max-epoch-size 12000;
                unplug-watermark 128;
                sndbuf-size 0;
                ping-int 4;
                timeout 30;
        }

        handlers {
        }

        on peer {
                disk
/dev/fake_disk_d64R3f-8Cx2-K9tv-s1rH-04Xz-kzQ3-qSFsqv;
                address         1.1.1.2:12009;
                meta-disk
/dev/fake_metadisk_d64R3f-8Cx2-K9tv-s1rH-04Xz-kzQ3-qSFsqv;
        }

        syncer {
                c-plan-ahead 20;
                c-fill-target 100;
                c-min-rate 0;
                al-extents 3389;
        }


        disk {
        }
}

*# dmesg*
[14688.866263] block drbd16: conn( Connected -> StartingSyncS ) pdsk(
UpToDate -> Consistent )
[14688.866484] block drbd16: bitmap WRITE of 16 pages took 0 jiffies
[14688.866510] block drbd16: 2048 MB (524288 bits) marked out-of-sync by on
disk bit-map.
[14688.866573] block drbd16: helper command: /sbin/drbdadm
before-resync-source minor-16
[14688.869245] block drbd16: helper command: /sbin/drbdadm
before-resync-source minor-16 exit code 0 (0x0)
[14688.869264] block drbd16: conn( StartingSyncS -> SyncSource ) pdsk(
Consistent -> Inconsistent )
[14688.869272] block drbd16: Began resync as SyncSource (will sync 2097152
KB [524288 bits set]).
[14688.869342] block drbd16: updated sync UUID
9A1D5236A8A7D3E1:2900C38BF9D5628E:DFE1A51BEB066CC8:5D901EB68471D5D7
[14690.089772] block drbd16: BAD! sector=3669504s enr=111 rs_left=-6
rs_failed=0 count=70 cstate=SyncSource
[14690.736083] block drbd16: BAD! sector=3702216s enr=112 rs_left=-23
rs_failed=0 count=58 cstate=SyncSource
[14692.842074] block drbd16: BAD! sector=3472440s enr=105 rs_left=-8
rs_failed=0 count=58 cstate=SyncSource
[14693.735985] block drbd16: BAD! sector=3506032s enr=106 rs_left=-52
rs_failed=0 count=70 cstate=SyncSource
[14695.393524] block drbd16: BAD! sector=3571696s enr=108 rs_left=-23
rs_failed=0 count=25 cstate=SyncSource
[14696.156094] block drbd16: BAD! sector=3603744s enr=109 rs_left=-5
rs_failed=0 count=58 cstate=SyncSource
[14698.191890] block drbd16: BAD! sector=1343224s enr=40 rs_left=-8
rs_failed=0 count=70 cstate=SyncSource
[14699.704434] block drbd16: BAD! sector=1376056s enr=41 rs_left=-8
rs_failed=0 count=70 cstate=SyncSource
[14700.703467] block drbd16: BAD! sector=1408888s enr=42 rs_left=-8
rs_failed=0 count=70 cstate=SyncSource
[14701.107177] block drbd16: BAD! sector=1298432s enr=39 rs_left=-19
rs_failed=0 count=70 cstate=SyncSource
[14713.175103] block drbd16: Resync done (total 24 sec; paused 0 sec; 87380
K/sec)
[14713.175121] block drbd16: updated UUIDs
9A1D5236A8A7D3E1:0000000000000000:2900C38BF9D5628E:DFE1A51BEB066CC8
[14713.175130] block drbd16: conn( SyncSource -> Connected ) pdsk(
Inconsistent -> UpToDate )

*Node B: *

*# cat /etc/drbd.conf*

resource "d64sJS-mQdV-GRxK-uwPl-gs71-3Hie-4wtaSp" {
        protocol                C;

        device          minor 16;


        on nodeb {
                disk            "/dev/vg+vg00/lv+b+lv0009";
                address         1.1.1.2:12009;
                meta-disk
"/dev/vg+vg00/lv+r+d64sJS-mQdV-GRxK-uwPl-gs71-3Hie-4wtaSp";
        }

        net {
                max-buffers 12000;
                max-epoch-size 12000;
                unplug-watermark 128;
                sndbuf-size 0;
                ping-int 4;
                timeout 30;
        }

        handlers {
        }

        on peer {
                disk
/dev/fake_disk_d64sJS-mQdV-GRxK-uwPl-gs71-3Hie-4wtaSp;
                address         1.1.1.1:12009;
                meta-disk
/dev/fake_metadisk_d64sJS-mQdV-GRxK-uwPl-gs71-3Hie-4wtaSp;
        }

        syncer {
                c-plan-ahead 20;
                c-fill-target 100;
                c-min-rate 0;
                al-extents 3389;
        }


        disk {
        }
}

*# dmesg*
[11629.962996] block drbd11: conn( Connected -> StartingSyncT ) disk(
UpToDate -> Outdated )
[11629.963967] block drbd11: bitmap WRITE of 16 pages took 0 jiffies
[11629.964027] block drbd11: 2048 MB (524288 bits) marked out-of-sync by on
disk bit-map.
[11629.964248] block drbd11: conn( StartingSyncT -> WFSyncUUID )
[11629.966281] block drbd11: updated sync uuid
2900C38BF9D5628E:0000000000000000:DFE1A51BEB066CC8:5D901EB68471D5D7
[11629.966463] block drbd11: helper command: /sbin/drbdadm
before-resync-target minor-11
[11629.970882] block drbd11: helper command: /sbin/drbdadm
before-resync-target minor-11 exit code 0 (0x0)
[11629.970897] block drbd11: conn( WFSyncUUID -> SyncTarget ) disk(
Outdated -> Inconsistent )
[11629.970906] block drbd11: Began resync as SyncTarget (will sync 2097152
KB [524288 bits set]).
[11631.184973] block drbd11: BAD! sector=3669504s enr=111 rs_left=-6
rs_failed=0 count=70 cstate=SyncTarget
[11631.831810] block drbd11: BAD! sector=3702216s enr=112 rs_left=-23
rs_failed=0 count=58 cstate=SyncTarget
[11633.938205] block drbd11: BAD! sector=3472440s enr=105 rs_left=-8
rs_failed=0 count=58 cstate=SyncTarget
[11634.813760] block drbd11: BAD! sector=3506032s enr=106 rs_left=-52
rs_failed=0 count=70 cstate=SyncTarget
[11636.475529] block drbd11: BAD! sector=3571696s enr=108 rs_left=-23
rs_failed=0 count=25 cstate=SyncTarget
[11637.250579] block drbd11: BAD! sector=3603744s enr=109 rs_left=-5
rs_failed=0 count=58 cstate=SyncTarget
[11639.277359] block drbd11: BAD! sector=1343224s enr=40 rs_left=-8
rs_failed=0 count=70 cstate=SyncTarget
[11640.799658] block drbd11: BAD! sector=1376056s enr=41 rs_left=-8
rs_failed=0 count=70 cstate=SyncTarget
[11641.797217] block drbd11: BAD! sector=1408888s enr=42 rs_left=-8
rs_failed=0 count=70 cstate=SyncTarget
[11642.202212] block drbd11: BAD! sector=1298432s enr=39 rs_left=-19
rs_failed=0 count=70 cstate=SyncTarget
[11654.268741] block drbd11: Resync done (total 24 sec; paused 0 sec; 87380
K/sec)
[11654.268752] block drbd11: updated UUIDs
9A1D5236A8A7D3E0:0000000000000000:2900C38BF9D5628E:DFE1A51BEB066CC8
[11654.268762] block drbd11: conn( SyncTarget -> Connected ) disk(
Inconsistent -> UpToDate )
[11654.269033] block drbd11: helper command: /sbin/drbdadm
after-resync-target minor-11
[11654.273281] block drbd11: helper command: /sbin/drbdadm
after-resync-target minor-11 exit code 0 (0x0)



*# modinfo drbd*filename:
/lib/modules/3.4.69/kernel/drivers/block/drbd/drbd.ko
author:         Philipp Reisner <phil at linbit.com>, Lars Ellenberg <
lars at linbit.com>
description:    drbd - Distributed Replicated Block Device v8.4.3
version:        8.4.3
license:        GPL
alias:          block-major-147-*
vermagic:       3.4.69 SMP mod_unload
depends:
srcversion:     5C6CE16AE02BE1D7352FBEE
parm:           usermode_helper:string
parm:           fault_devs:int
parm:           fault_count:int
parm:           fault_rate:int
parm:           enable_faults:int
parm:           proc_details:int
parm:           disable_sendpage:bool
parm:           allow_oos:DONT USE! (bool)
parm:           minor_count:Approximate number of drbd devices (1-255)
(uint)


----
Best Regards
Adam Blaszczykowski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20140110/ffa9ee0b/attachment.htm>


More information about the drbd-user mailing list