Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* [Drbd-dev] "data-integrity-alg" can't be worked in 9.0.x
@ 2016-02-12  6:48 박경민
  2016-02-19 14:30 ` Philipp Reisner
  0 siblings, 1 reply; 2+ messages in thread
From: 박경민 @ 2016-02-12  6:48 UTC (permalink / raw)
  To: drbd-dev; +Cc: Windows DRBD


[-- Attachment #1.1: Type: text/plain, Size: 3529 bytes --]

Hello.
I'm a software engineer in Mantech.

I'm testing about '*data-integrity-alg crc32c'.*
and resync failed in drbd 9.0.0 and 9.0.1.
It was ocurred to connect/disconnect continuously because of ProtocolError.

But, It works in 8.4.6 and 8.4.7 successfully.

Please, look into config & log
----------------------------------------------------------------
[root@Cent_2 drbd-9.0]# drbdsetup show
resource r0 {
    _this_host {
        node-id 2;
        volume 0 {
            device minor 1;
            disk "/dev/sdb1";
            meta-disk "/dev/sdc1";
        }
    }
    connection {
        _peer_node_id 1;
        _this_host ipv4 200.200.200.62:7789;
        _remote_host ipv4 200.200.200.61:7789;
        net {
            data-integrity-alg "crc32c";
            verify-alg       "crc32c";
            _name           "Cent_1";
        }
    }
}
----------------------------------------------------------------
...
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: drbd_sync_handshake:
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: self
5AB4C8297A7855D8:0000000000000000:5AB4C8297A7855D8:183C2271B9E28812
bits:1048234 flags:0
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: peer
5AB4C8297A7855D8:0000000000000000:183C2271B9E28812:183C2271B9E28812
bits:1048234 flags:120
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: uuid_compare()=0 by
rule 35
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1: Becoming sync target due to
disk states.
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: pdsk( DUnknown ->
UpToDate ) repl( Off -> WFBitMapT )
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: receive bitmap stats
[Bytes(packets)]: plain 0(0), RLE 21(1), total 21; compression: 100.0%
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: send bitmap stats
[Bytes(packets)]: plain 0(0), RLE 21(1), total 21; compression: 100.0%
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: helper command:
/sbin/drbdadm before-resync-target
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: helper command:
/sbin/drbdadm before-resync-target exit code 0 (0x0)
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: repl( WFBitMapT ->
SyncTarget )
Feb 12 15:14:47 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: Began resync as
SyncTarget (will sync 4192936 KB [1048234 bits set]).
Feb 12 15:14:49 Cent_2 kernel: drbd r0/0 drbd1: Digest integrity check
FAILED: 0s +28672
Feb 12 15:14:49 Cent_2 kernel: drbd r0 Cent_1: error receiving
P_RS_DATA_REPLY, e: -5 l: 28676!
Feb 12 15:14:49 Cent_2 kernel: drbd r0 Cent_1: conn( Connected ->
ProtocolError ) peer( Secondary -> Unknown )
Feb 12 15:14:49 Cent_2 kernel: drbd r0/0 drbd1 Cent_1: pdsk( UpToDate ->
DUnknown ) repl( SyncTarget -> Off )
Feb 12 15:14:49 Cent_2 kernel: drbd r0 Cent_1: ack_receiver terminated
Feb 12 15:14:49 Cent_2 kernel: drbd r0 Cent_1: Terminating ack_recv thread
Feb 12 15:14:49 Cent_2 kernel: drbd r0 Cent_1: Connection closed
Feb 12 15:14:49 Cent_2 kernel: drbd r0 Cent_1: conn( ProtocolError ->
Unconnected )
Feb 12 15:14:49 Cent_2 kernel: drbd r0 Cent_1: Restarting receiver thread
Feb 12 15:14:49 Cent_2 kernel: drbd r0 Cent_1: conn( Unconnected ->
Connecting )
... *Again*




-- 

기술연구소                  Mobile : 010-4762-0519

*박 경 민 차장*              kmpak@mantech.co.kr

서울특별시 성동구 성수일로4길 25 서울숲코오롱디지털타워 12층

Fax : 02-575-4858 / Tel : (02) 2136-6978 (978)

[-- Attachment #1.2: Type: text/html, Size: 6649 bytes --]

[-- Attachment #2: image002.png --]
[-- Type: image/png, Size: 16223 bytes --]

[-- Attachment #3: image001.png --]
[-- Type: image/png, Size: 4544 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Drbd-dev] "data-integrity-alg" can't be worked in 9.0.x
  2016-02-12  6:48 [Drbd-dev] "data-integrity-alg" can't be worked in 9.0.x 박경민
@ 2016-02-19 14:30 ` Philipp Reisner
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Reisner @ 2016-02-19 14:30 UTC (permalink / raw)
  To: drbd-dev; +Cc: Windows DRBD, 박경민

Hi,

thanks for the report. Please find the fix here:

http://git.drbd.org/drbd-9.0.git/commitdiff/3d38916489fac62b036d8e79d3fcd81d318ca4cb?hp=0d8c43a244b3f907024e958d9ce65b3859a3f698

best regards,
 Phil

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-19 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12  6:48 [Drbd-dev] "data-integrity-alg" can't be worked in 9.0.x 박경민
2016-02-19 14:30 ` Philipp Reisner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox