<div dir="ltr"><br clear="all"><div><div style="font-size:14px">I think get_max_agreeable_size() function return a agreeable size but first connected repl_state<br></div><div style="font-size:14px"><br></div><div style="font-size:14px">So, then will not call bm_resize through the agreeable size.<br></div><div style="font-size:14px"><br></div><div style="font-size:14px">How's your opinion replacing in the get_max_agreeable_size()</div><div style="font-size:14px">if (peer_device->repl_state[NOW] >= L_ESTABLISHED) {<br></div><div style="font-size:14px">to </div><div style="font-size:14px">if (peer_device->repl_state[NOW] >= L_OFF) {<br></div><div style="font-size:14px"><br></div><div style="font-size:14px">What am I concenred about any other things?</div><div style="font-size:14px"><br></div><div style="font-size:14px">Thank you.</div><span style="font-size:14px">-- </span><br style="font-size:14px"><div data-smartmail="gmail_signature" style="font-size:14px"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br><div><p style="margin:0cm 0cm 0.0001pt;line-height:21px"><span style="line-height:normal">Message: 3</span><br style="line-height:normal"><span style="line-height:normal">Date: Tue, 12 Jul 2016 18:12:32 +0900</span><br style="line-height:normal"><span style="line-height:normal">From: ??? <</span><a href="mailto:kmpak@mantech.co.kr" target="_blank" style="line-height:normal">kmpak@mantech.co.kr</a><span style="line-height:normal">></span><br style="line-height:normal"><span style="line-height:normal">Subject: [Drbd-dev] Failed to sync initially at different volume's</span><br style="line-height:normal"><span style="line-height:normal"> size</span><br style="line-height:normal"><span style="line-height:normal">To: </span><a href="mailto:drbd-dev@lists.linbit.com" target="_blank" style="line-height:normal">drbd-dev@lists.linbit.com</a><br style="line-height:normal"><span style="line-height:normal">Message-ID:</span><br style="line-height:normal"><span style="line-height:normal"> <</span><a href="mailto:CALLFrTQGkpOfP%2B41paPU2wWF86uACPCoVwvTvpDN9tzxT6Z2Gw@mail.gmail.com" target="_blank" style="line-height:normal">CALLFrTQGkpOfP+41paPU2wWF86uACPCoVwvTvpDN9tzxT6Z2Gw@mail.gmail.com</a><span style="line-height:normal">></span><br style="line-height:normal"><span style="line-height:normal">Content-Type: text/plain; charset="utf-8"</span><br style="line-height:normal"><br style="line-height:normal"><span style="line-height:normal">Hello.</span><br style="line-height:normal"><br style="line-height:normal"><span style="line-height:normal">After 4fe4c96 commit</span><br style="line-height:normal"><span style="line-height:normal"><</span><a href="http://git.drbd.org/drbd-9.0.git/commit/4fe4c962f41307c2db2846f18f5137082f339cd9" rel="noreferrer" target="_blank" style="line-height:normal">http://git.drbd.org/drbd-9.0.git/commit/4fe4c962f41307c2db2846f18f5137082f339cd9</a><span style="line-height:normal">></span><br style="line-height:normal"><span style="line-height:normal">in</span><br style="line-height:normal"><span style="line-height:normal">DRBD9,</span><br style="line-height:normal"><span style="line-height:normal">If both volume's size is different, It is not going on progress sync</span><br style="line-height:normal"><span style="line-height:normal">initially, at WFBitmapS/WFBitmapT</span><br style="line-height:normal"><br style="line-height:normal"><span style="line-height:normal">When ds is Inconsistent/Inconsistent, then I command "primary --force"</span><br style="line-height:normal"><span style="line-height:normal">It was stalled at receive_bitmap(), because decode_bitmap_c() return err is</span><br style="line-height:normal"><span style="line-height:normal">positive value.</span><br style="line-height:normal"><span style="line-height:normal">In decoding at recv_bm_rle_bits(), bit_offset can't arrive bm_bits' value.</span><br style="line-height:normal"><br style="line-height:normal"><span style="line-height:normal">I'm looking for this case more.</span><br style="line-height:normal"><span style="line-height:normal">Plz. help me</span><br style="line-height:normal"><br style="line-height:normal"><span style="line-height:normal">Before 4fe4c96, it works between nodes by the minimum volume's size.</span><br style="line-height:normal"><br style="line-height:normal"><br style="line-height:normal"><br style="line-height:normal"><span style="line-height:normal">In case 1:1 config, volume 200MB, 210MB log below</span><br style="line-height:normal"><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0: Starting worker thread (from</span><br style="line-height:normal"><span style="line-height:normal">drbdsetup [102643])</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 drbd: Starting DRBD resources: [</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 drbd: create res: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 systemd-udevd: error: /dev/drbd1: Wrong medium type</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 drbd: prepare disk: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: disk( Diskless -></span><br style="line-height:normal"><span style="line-height:normal">Attaching )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: Maximum number of peer</span><br style="line-height:normal"><span style="line-height:normal">devices = 1</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0: Method to ensure write ordering:</span><br style="line-height:normal"><span style="line-height:normal">flush</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: my node_id: 0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: Adjusting my ra_pages to</span><br style="line-height:normal"><span style="line-height:normal">backing device's (32 -> 1024)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: my node_id: 0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: drbd_bm_resize called with</span><br style="line-height:normal"><span style="line-height:normal">capacity == 430080</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: resync bitmap: bits=53760</span><br style="line-height:normal"><span style="line-height:normal">words=840 pages=2</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: recounting of set bits</span><br style="line-height:normal"><span style="line-height:normal">took additional 0ms</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: Suspended AL updates</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: disk( Attaching -></span><br style="line-height:normal"><span style="line-height:normal">Inconsistent )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: attached to current UUID:</span><br style="line-height:normal"><span style="line-height:normal">0000000000000004</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 systemd-udevd: error: /dev/drbd1: Wrong medium type</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 drbd: adjust disk: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0 DRBD9_2: Starting sender thread</span><br style="line-height:normal"><span style="line-height:normal">(from drbdsetup [102653])</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 drbd: prepare net: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 drbd: attempt to connect: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 drbd: ]</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0 DRBD9_2: conn( StandAlone -></span><br style="line-height:normal"><span style="line-height:normal">Unconnected )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0 DRBD9_2: Starting receiver thread</span><br style="line-height:normal"><span style="line-height:normal">(from drbd_w_r0 [102644])</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0 DRBD9_2: conn( Unconnected -></span><br style="line-height:normal"><span style="line-height:normal">Connecting )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0 DRBD9_2: Handshake successful:</span><br style="line-height:normal"><span style="line-height:normal">Agreed network protocol version 111</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0 DRBD9_2: Feature flags enabled on</span><br style="line-height:normal"><span style="line-height:normal">protocol level: 0x7 TRIM THIN_RESYNC WRITE_SAME.</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0 DRBD9_2: Starting ack_recv thread</span><br style="line-height:normal"><span style="line-height:normal">(from drbd_r_r0 [102662])</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0: Preparing cluster-wide state</span><br style="line-height:normal"><span style="line-height:normal">change 480688786 (0->1 499/146)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0: State change 480688786:</span><br style="line-height:normal"><span style="line-height:normal">primary_nodes=0, weak_nodes=0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0: Committing cluster-wide state</span><br style="line-height:normal"><span style="line-height:normal">change 480688786 (3ms)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0 DRBD9_2: conn( Connecting -></span><br style="line-height:normal"><span style="line-height:normal">Connected ) peer( Unknown -> Secondary )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: current_size: 430080</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: c_size: 450560</span><br style="line-height:normal"><span style="line-height:normal">u_size: 0 d_size: 450560 max_size: 450560</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: la_size: 0</span><br style="line-height:normal"><span style="line-height:normal">my_usize: 0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: my node_id: 0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: node_id: 1 idx: 0</span><br style="line-height:normal"><span style="line-height:normal">bm-uuid: 0x0 flags: 0x0 max_size: 450560 (DUnknown)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: calling</span><br style="line-height:normal"><span style="line-height:normal">drbd_determine_dev_size()</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: my node_id: 0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: node_id: 1 idx: 0</span><br style="line-height:normal"><span style="line-height:normal">bm-uuid: 0x0 flags: 0x0 max_size: 450560 (DUnknown)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2:</span><br style="line-height:normal"><span style="line-height:normal">drbd_sync_handshake:</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: self</span><br style="line-height:normal"><span style="line-height:normal">0000000000000004:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000</span><br style="line-height:normal"><span style="line-height:normal">bits:53760 flags:0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: peer</span><br style="line-height:normal"><span style="line-height:normal">0000000000000004:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000</span><br style="line-height:normal"><span style="line-height:normal">bits:56320 flags:24</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: uuid_compare()=0</span><br style="line-height:normal"><span style="line-height:normal">by rule 10</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: No resync, but 53760 bits</span><br style="line-height:normal"><span style="line-height:normal">in bitmap!</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: pdsk( DUnknown -></span><br style="line-height:normal"><span style="line-height:normal">Inconsistent ) repl( Off -> Established )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 kernel: drbd r0/0 drbd1: Resumed AL updates</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 drbd: WARN: stdin/stdout is not a TTY; using</span><br style="line-height:normal"><span style="line-height:normal">/dev/consoledrbdadm: Unknown command 'sh-b-pri'</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_1 drbd: .</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0: Preparing cluster-wide state</span><br style="line-height:normal"><span style="line-height:normal">change 3595219668 (0->-1 7683/4609)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0: State change 3595219668:</span><br style="line-height:normal"><span style="line-height:normal">primary_nodes=1, weak_nodes=FFFFFFFFFFFFFFFC</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0: Committing cluster-wide state</span><br style="line-height:normal"><span style="line-height:normal">change 3595219668 (1ms)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0: role( Secondary -> Primary )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1: disk( Inconsistent -></span><br style="line-height:normal"><span style="line-height:normal">UpToDate )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1: size = 210 MB (215040 KB)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0: Forced to consider local data as</span><br style="line-height:normal"><span style="line-height:normal">UpToDate!</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1: new current UUID:</span><br style="line-height:normal"><span style="line-height:normal">E33ECAD77287E565 weak: FFFFFFFFFFFFFFFC</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2:</span><br style="line-height:normal"><span style="line-height:normal">drbd_sync_handshake:</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: self</span><br style="line-height:normal"><span style="line-height:normal">E33ECAD77287E565:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000</span><br style="line-height:normal"><span style="line-height:normal">bits:53760 flags:0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: peer</span><br style="line-height:normal"><span style="line-height:normal">0000000000000004:</span><span style="line-height:normal">FFFFFFFFFFFFFFFF:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000</span><br style="line-height:normal"><span style="line-height:normal">bits:56320 flags:104</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: uuid_compare()=3</span><br style="line-height:normal"><span style="line-height:normal">by rule 30</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: Writing the whole</span><br style="line-height:normal"><span style="line-height:normal">bitmap, full sync required after drbd_sync_handshake.</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: repl( Established</span><br style="line-height:normal"><span style="line-height:normal">-> WFBitMapS )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_1 kernel: drbd r0/0 drbd1 DRBD9_2: send bitmap stats</span><br style="line-height:normal"><span style="line-height:normal">[Bytes(packets)]: plain 0(0), RLE 21(1), total 21; compression: 99.7%</span><br style="line-height:normal"><br style="line-height:normal"><br style="line-height:normal"><br style="line-height:normal"><br style="line-height:normal"><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 drbd: Starting DRBD resources: [</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 drbd: create res: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0: Starting worker thread (from</span><br style="line-height:normal"><span style="line-height:normal">drbdsetup [83726])</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 systemd-udevd: error: /dev/drbd1: Wrong medium type</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 drbd: prepare disk: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: disk( Diskless -></span><br style="line-height:normal"><span style="line-height:normal">Attaching )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: Maximum number of peer</span><br style="line-height:normal"><span style="line-height:normal">devices = 1</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0: Method to ensure write ordering:</span><br style="line-height:normal"><span style="line-height:normal">flush</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: my node_id: 1</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: Adjusting my ra_pages to</span><br style="line-height:normal"><span style="line-height:normal">backing device's (32 -> 1024)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: my node_id: 1</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: drbd_bm_resize called with</span><br style="line-height:normal"><span style="line-height:normal">capacity == 450560</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: resync bitmap: bits=56320</span><br style="line-height:normal"><span style="line-height:normal">words=880 pages=2</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: recounting of set bits</span><br style="line-height:normal"><span style="line-height:normal">took additional 0ms</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: Suspended AL updates</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: disk( Attaching -></span><br style="line-height:normal"><span style="line-height:normal">Inconsistent )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0/0 drbd1: attached to current UUID:</span><br style="line-height:normal"><span style="line-height:normal">0000000000000004</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 drbd: adjust disk: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 systemd-udevd: error: /dev/drbd1: Wrong medium type</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0 DRBD9_1: Starting sender thread</span><br style="line-height:normal"><span style="line-height:normal">(from drbdsetup [83737])</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 drbd: prepare net: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 drbd: attempt to connect: r0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 drbd: ]</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0 DRBD9_1: conn( StandAlone -></span><br style="line-height:normal"><span style="line-height:normal">Unconnected )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:57 DRBD9_2 kernel: drbd r0 DRBD9_1: Starting receiver thread</span><br style="line-height:normal"><span style="line-height:normal">(from drbd_w_r0 [83727])</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 17:59:58 DRBD9_2 kernel: drbd r0 DRBD9_1: conn( Unconnected -></span><br style="line-height:normal"><span style="line-height:normal">Connecting )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0 DRBD9_1: Handshake successful:</span><br style="line-height:normal"><span style="line-height:normal">Agreed network protocol version 111</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0 DRBD9_1: Feature flags enabled on</span><br style="line-height:normal"><span style="line-height:normal">protocol level: 0x7 TRIM THIN_RESYNC WRITE_SAME.</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0 DRBD9_1: Starting ack_recv thread</span><br style="line-height:normal"><span style="line-height:normal">(from drbd_r_r0 [83745])</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0 DRBD9_1: Preparing remote state</span><br style="line-height:normal"><span style="line-height:normal">change 480688786 (primary_nodes=0, weak_nodes=0)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0 DRBD9_1: Committing remote state</span><br style="line-height:normal"><span style="line-height:normal">change 480688786</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0 DRBD9_1: conn( Connecting -></span><br style="line-height:normal"><span style="line-height:normal">Connected ) peer( Unknown -> Secondary )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1: current_size: 450560</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: c_size: 430080</span><br style="line-height:normal"><span style="line-height:normal">u_size: 0 d_size: 430080 max_size: 430080</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: la_size: 0</span><br style="line-height:normal"><span style="line-height:normal">my_usize: 0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: node_id: 0 idx: 0</span><br style="line-height:normal"><span style="line-height:normal">bm-uuid: 0x0 flags: 0x0 max_size: 430080 (DUnknown)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1: my node_id: 1</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: calling</span><br style="line-height:normal"><span style="line-height:normal">drbd_determine_dev_size()</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: node_id: 0 idx: 0</span><br style="line-height:normal"><span style="line-height:normal">bm-uuid: 0x0 flags: 0x0 max_size: 430080 (DUnknown)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1: my node_id: 1</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1:</span><br style="line-height:normal"><span style="line-height:normal">drbd_sync_handshake:</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: self</span><br style="line-height:normal"><span style="line-height:normal">0000000000000004:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000</span><br style="line-height:normal"><span style="line-height:normal">bits:56320 flags:0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: peer</span><br style="line-height:normal"><span style="line-height:normal">0000000000000004:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000</span><br style="line-height:normal"><span style="line-height:normal">bits:53760 flags:24</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: uuid_compare()=0</span><br style="line-height:normal"><span style="line-height:normal">by rule 10</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1: No resync, but 56320 bits</span><br style="line-height:normal"><span style="line-height:normal">in bitmap!</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: pdsk( DUnknown -></span><br style="line-height:normal"><span style="line-height:normal">Inconsistent ) repl( Off -> Established )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 kernel: drbd r0/0 drbd1: Resumed AL updates</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 drbd: WARN: stdin/stdout is not a TTY; using</span><br style="line-height:normal"><span style="line-height:normal">/dev/consoledrbdadm: Unknown command 'sh-b-pri'</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:04 DRBD9_2 drbd: .</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0 DRBD9_1: Preparing remote state</span><br style="line-height:normal"><span style="line-height:normal">change 3595219668 (primary_nodes=0, weak_nodes=0)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0 DRBD9_1: Committing remote state</span><br style="line-height:normal"><span style="line-height:normal">change 3595219668</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0 DRBD9_1: peer( Secondary -> Primary</span><br style="line-height:normal"><span style="line-height:normal">)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: pdsk( Inconsistent</span><br style="line-height:normal"><span style="line-height:normal">-> UpToDate )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1: size = 220 MB (225280 KB)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1:</span><br style="line-height:normal"><span style="line-height:normal">drbd_sync_handshake:</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: self</span><br style="line-height:normal"><span style="line-height:normal">0000000000000004:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000</span><br style="line-height:normal"><span style="line-height:normal">bits:56320 flags:0</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: peer</span><br style="line-height:normal"><span style="line-height:normal">E33ECAD77287E565:</span><span style="line-height:normal">FFFFFFFFFFFFFFFF:</span><span style="line-height:normal">0000000000000000:</span><span style="line-height:normal">0000000000000000</span><br style="line-height:normal"><span style="line-height:normal">bits:53760 flags:120</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: uuid_compare()=-3</span><br style="line-height:normal"><span style="line-height:normal">by rule 20</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: Writing the whole</span><br style="line-height:normal"><span style="line-height:normal">bitmap, full sync required after drbd_sync_handshake.</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: repl( Established</span><br style="line-height:normal"><span style="line-height:normal">-> WFBitMapT )</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1 DRBD9_1: s(53760)</span><br style="line-height:normal"><span style="line-height:normal">bit_offset(53760) word_offset(840) bm_bits(56320)</span><br style="line-height:normal"><span style="line-height:normal">Jul 12 18:00:40 DRBD9_2 kernel: drbd r0/0 drbd1: after decode_bitmap_c()</span><br style="line-height:normal"><span style="line-height:normal">err(1)</span></p></div></div></div></div></div></div></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><div><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-repeat:initial"><br></p></div></div></div></div></div></div></div></div></div></div></div>
</div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aa21wYWtAbWFudGVjaC5jby5rcg%3D%3D&type=zerocontent&guid=9c3296f3-4b70-4826-b659-c0f4f208f2f7"><font color="#ffffff" size="1">ᐧ</font></div>