<div dir="ltr"><div style>when I umount the drbd disk during the resync, it will take a long time to do it and kernel oops occus like this:</div><div style><br></div><div style><div>[root@kvm03 /oradata]# cat /proc/drbd</div>
<div>version: 8.3.13 (api:88/proto:86-97)</div><div> 0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent A r-----<br></div><div> ns:13899984 nr:0 dw:3006320 dr:11798141 al:1426 bm:653 lo:2 pe:7133 ua:0 ap:2 ep:1 wo:d oos:2961452</div>
<div><span class="" style="white-space:pre">        </span>[==============>.....] sync'ed: 77.3% (2892/12716)M</div><div><span class="" style="white-space:pre">        </span>finish: 0:09:23 speed: 5,248 (4,300) K/sec</div><div>
1: cs:Unconfigured</div><div><br></div><div><div>here is kernel oops:</div><div><br></div><div>INFO: task umount:8135 blocked for more than 120 seconds.</div><div>"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.</div>
<div>umount D 0000000000000003 0 8135 8134 0x00000080</div><div> ffff881f51dcdc28 0000000000000086 ffff881f51dcdb88 ffffffff810e2f94</div><div> ffff881f51dcdba8 ffffffff814f9392 0000000000000000 0000000000000000</div>
<div> ffff881f7fc9e5f8 ffff881f51dcdfd8 000000000000f4e8 ffff881f7fc9e5f8</div><div>Call Trace:</div><div> [<ffffffff810e2f94>] ? __delayacct_blkio_end+0x34/0x60</div><div> [<ffffffff814f9392>] ? io_schedule+0x92/0xc0</div>
<div> [<ffffffff814f9a6d>] schedule_timeout+0x22d/0x300</div><div> [<ffffffff81065634>] ? enqueue_task_fair+0x64/0x100</div><div> [<ffffffff81059c67>] ? enqueue_task+0x77/0x90</div><div> [<ffffffff814f96d3>] wait_for_common+0x123/0x180</div>
<div> [<ffffffff8105f4a0>] ? default_wake_function+0x0/0x20</div><div> [<ffffffff814f97ed>] wait_for_completion+0x1d/0x20</div><div> [<ffffffff811a6648>] sync_inodes_sb+0x88/0x1a0</div><div> [<ffffffff811ac532>] __sync_filesystem+0x82/0x90</div>
<div> [<ffffffff811ac73b>] sync_filesystem+0x4b/0x70</div><div> [<ffffffff8117f387>] generic_shutdown_super+0x27/0xe0</div><div> [<ffffffff8117f471>] kill_block_super+0x31/0x50</div><div> [<ffffffff81180430>] deactivate_super+0x70/0x90</div>
<div> [<ffffffff8119c12f>] mntput_no_expire+0xbf/0x120</div><div> [<ffffffff8119cdcb>] sys_umount+0x25b/0x4b0</div><div> [<ffffffff8100b0f2>] system_call_fastpath+0x16/0x1b</div></div><div><br></div><div>
<br></div><div><br></div><div><br></div><div><div>[root@kvm3 ~]# drbdadm dump drbd0</div><div># resource drbd0 on kvm3.hgccp: not ignored, not stacked</div><div>resource drbd0 {</div><div> protocol A;</div>
<div> on kvm3.hgccp {</div><div> device /dev/drbd0 minor 0;</div><div> disk /dev/vg_kvm3/drbd0;</div><div> address ipv4 <a href="http://192.168.10.6:7700">192.168.10.6:7700</a>;</div>
<div> meta-disk internal;</div><div> }<br></div><div> on kvm4.hgccp {</div><div> device /dev/drbd0 minor 0;</div><div> disk /dev/vg_kvm4/drbd0;</div><div> address ipv4 <a href="http://192.168.10.7:7700">192.168.10.7:7700</a>;</div>
<div> meta-disk internal;</div><div> }<br></div><div> net {</div><div> ping-timeout 30;</div><div> ping-int 30;</div><div> }</div><div> disk {</div><div> on-io-error pass_on;</div>
<div> no-disk-barrier;</div><div> no-disk-flushes;</div><div> }</div><div> syncer {</div><div> rate 5M;</div><div> csums-alg md5;</div><div> verify-alg md5;</div>
<div> c-max-rate 10M;</div><div> c-min-rate 0;</div><div> }</div><div>}</div></div><div><br></div></div></div>