[Drbd-dev] "data-integrity-alg" can't be worked in 9.0.x
박경민
kmpak at mantech.co.kr
Fri Feb 12 07:48:27 CET 2016
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 at 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 at mantech.co.kr
서울특별시 성동구 성수일로4길 25 서울숲코오롱디지털타워 12층
Fax : 02-575-4858 / Tel : (02) 2136-6978 (978)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20160212/1cd09942/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 16223 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20160212/1cd09942/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4544 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20160212/1cd09942/attachment-0003.png>
More information about the drbd-dev
mailing list