<div dir="ltr"><div><div><div><div>Here's the point: I'm trying to create a mirror of a block device on a vdi.<br></div>When I run tests with 500M there are no problems but when I copy a bigger amount of data (e.g. 20G), qemu-nbd seems to disconnect (by the messages I get in sheep.log), but the processo is still alive.<br>
<br></div>The effect I get is that the copy hangs, 'dog vdi list' also hangs, 'qemu-nbd -d /dev/nbd0' hangs, 'dog node kill 0' hangs.<br></div>So the cluster is kind of frozen.<br></div>The onli thing I can do is to reboot the node 0 (the one running qemu-nbd).<br>
<div><div><br>ps aux | grep qemu-nbd<br>root 2789 0.1 0.5 69200 11508 ? Ssl feb03 1:21 qemu-nbd -c /dev/nbd0 sheepdog:sistema_mirror<br><br>dog node list<br> Id Host:Port V-Nodes Zone<br>
0 <a href="http://192.168.10.4:7000">192.168.10.4:7000</a> 107 67807424<br> 1 <a href="http://192.168.10.5:7000">192.168.10.5:7000</a> 207 84584640<br> 2 <a href="http://192.168.10.6:7000">192.168.10.6:7000</a> 97 101361856<br>
3 <a href="http://192.168.10.7:7000">192.168.10.7:7000</a> 101 118139072<br><br>dog vdi list<br> Name Id Size Used Shared Creation time VDI id Copies Tag<br> sistema_mirror 0 24 GB 9.4 GB 0.0 MB 2014-02-03 16:48 13c60b 2:1 <br>
c wheezy_minimal 0 3.9 GB 0.0 MB 1012 MB 2014-01-28 16:45 1a99d9 2:1 <br> nbd0_block 0 50 GB 6.6 GB 0.0 MB 2014-01-21 18:17 1d596b 2:1<br> ...<hang>...<br><br>Sheepdog daemon version 0.8.0_31_gf2a00e1<br>
QEMU emulator version 1.6.50<br><br>/var/sheep/sheep.log<br>[266904.388934] nbd: registered device at major 43<br>[266947.188736] block nbd0: NBD_DISCONNECT<br>[266947.189041] block nbd0: Unexpected reply (ffff8800084a3c58)<br>
[266947.189309] block nbd0: queue cleared<br>[267212.302371] block nbd0: NBD_DISCONNECT<br>[267212.302655] block nbd0: Unexpected reply (ffff880004df9c58)<br>[267212.368741] block nbd0: queue cleared<br>[267741.369185] block nbd0: NBD_DISCONNECT<br>
[267741.369451] block nbd0: Unexpected reply (ffff880004d4fc58)<br>[267741.618210] block nbd0: queue cleared<br>[268030.252831] block nbd0: NBD_DISCONNECT<br>[268030.253102] block nbd0: Unexpected reply (ffff880006b01c58)<br>
[268030.506146] block nbd0: queue cleared<br>[605094.364246] block nbd0: NBD_DISCONNECT<br>[605094.364655] block nbd0: Unexpected reply (ffff880005707c58)<br>[605094.364884] block nbd0: queue cleared<br>[605151.748821] block nbd0: NBD_DISCONNECT<br>
[605151.749114] block nbd0: Unexpected reply (ffff880074081c58)<br>[605151.750838] block nbd0: queue cleared<br>[605366.036589] block nbd0: NBD_DISCONNECT<br>[605366.036882] block nbd0: Unexpected reply (ffff880074171c58)<br>
[605366.038608] block nbd0: queue cleared<br>[608189.537841] block nbd0: NBD_DISCONNECT<br>[608189.946757] block nbd0: Unexpected reply (ffff880006bddc58)<br>[608190.198368] block nbd0: queue cleared<br>[608246.316551] block nbd0: NBD_DISCONNECT<br>
[608246.316849] block nbd0: Unexpected reply (ffff880020db3c58)<br>[608246.577224] block nbd0: queue cleared<br>[608318.444758] block nbd0: NBD_DISCONNECT<br>[608318.445048] block nbd0: Unexpected reply (ffff88004d5b9c58)<br>
[608318.701296] block nbd0: queue cleared<br>[608395.089149] block nbd0: NBD_DISCONNECT<br>[608395.089434] block nbd0: Unexpected reply (ffff8800134efc58)<br>[608395.346413] block nbd0: queue cleared<br>[608427.549061] block nbd0: NBD_DISCONNECT<br>
[608427.549333] block nbd0: Unexpected reply (ffff880005091c58)<br>[608427.808279] block nbd0: queue cleared<br>[608514.375923] block nbd0: NBD_DISCONNECT<br>[608514.376223] block nbd0: Unexpected reply (ffff8800440afc58)<br>
[608514.378241] block nbd0: queue cleared<br>[608792.236539] block nbd0: NBD_DISCONNECT<br>[608792.236832] block nbd0: Unexpected reply (ffff8800440afc58)<br>[608792.238694] block nbd0: queue cleared<br>[608870.784907] block nbd0: NBD_DISCONNECT<br>
[608870.785199] block nbd0: Unexpected reply (ffff880050cf7c58)<br>[608870.786924] block nbd0: queue cleared<br>[608966.753806] block nbd0: NBD_DISCONNECT<br>[608968.083637] block nbd0: Unexpected reply (ffff880045dbfc58)<br>
[608968.337105] block nbd0: queue cleared<br>[611601.621622] block nbd0: NBD_DISCONNECT<br>[611601.621901] block nbd0: Unexpected reply (ffff8800295f1c58)<br>[611601.879094] block nbd0: queue cleared<br>[612807.021413] block nbd0: NBD_DISCONNECT<br>
[612807.021707] block nbd0: Unexpected reply (ffff8800247b9c58)<br>[612807.280124] block nbd0: queue cleared<br>[612859.680467] block nbd0: NBD_DISCONNECT<br>[612859.680757] block nbd0: Unexpected reply (ffff880045c31c58)<br>
[612859.936098] block nbd0: queue cleared<br>[612911.461513] block nbd0: NBD_DISCONNECT<br>[612911.461816] block nbd0: Unexpected reply (ffff88000f5adc58)<br>[612911.719748] block nbd0: queue cleared<br>[614041.648259] INFO: task sheep:25482 blocked for more than 120 seconds.<br>
[614041.648399] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614041.648551] sheep D ffff880077c13780 0 25482 1 0x00000000<br>[614041.648563] ffff880072b1a080 0000000000000082 ffffffff810b938f ffffffff8160d020<br>
[614041.648576] 0000000000013780 ffff880044151fd8 ffff880044151fd8 ffff880072b1a080<br>[614041.648586] ffff880044151778 ffff880044151778 ffff88003740b8a0 ffff880077c13fd0<br>[614041.648595] Call Trace:<br>[614041.648611] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e<br>
[614041.648623] [<ffffffff810b47b3>] ? lock_page+0x20/0x20<br>[614041.648632] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>[614041.648641] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa<br>[614041.648649] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71<br>
[614041.648658] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73<br>[614041.648668] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a<br>[614041.648678] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f<br>
[614041.648689] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23<br>[614041.648698] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45<br>[614041.648706] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a<br>
[614041.648715] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0<br>[614041.648724] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6<br>[614041.648734] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c<br>
[614041.648743] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9<br>[614041.648752] [<ffffffff810364e8>] ? should_resched+0x5/0x23<br>[614041.648761] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa<br>
[614041.648770] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c<br>[614041.648779] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614041.648789] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136<br>
[614041.648798] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614041.648807] [<ffffffff810f1912>] ? do_huge_pmd_anonymous_page+0xad/0x259<br>[614041.648817] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345<br>
[614041.648827] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a<br>[614041.648837] [<ffffffff8134f135>] ? page_fault+0x25/0x30<br>[614041.648854] INFO: task flush-43:0:2797 blocked for more than 120 seconds.<br>
[614041.648987] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614041.649138] flush-43:0 D ffff880077c13780 0 2797 2 0x00000000<br>[614041.649148] ffff880072d71590 0000000000000046 0000000000000000 ffffffff8160d020<br>
[614041.649158] 0000000000013780 ffff880012501fd8 ffff880012501fd8 ffff880072d71590<br>[614041.649168] ffff880012501850 0000000112501850 ffff880072b7f4b0 ffff880077c13fd0<br>[614041.649177] Call Trace:<br>[614041.649186] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>
[614041.649196] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f<br>[614041.649205] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c<br>[614041.649214] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c<br>
[614041.649223] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf<br>[614041.649232] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1<br>[614041.649242] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6<br>
[614041.649250] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff<br>[614041.649258] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5<br>[614041.649268] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22<br>
[614041.649278] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83<br>[614041.649287] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21<br>[614041.649295] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9<br>
[614041.649304] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b<br>[614041.649314] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52<br>[614041.649324] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc<br>
[614041.649334] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204<br>[614041.649344] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab<br>[614041.649354] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f<br>
[614041.649362] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17<br>[614041.649372] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8<br>[614041.649382] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6<br>
[614041.649392] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8<br>[614041.649400] [<ffffffff8105f48d>] ? kthread+0x76/0x7e<br>[614041.649409] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10<br>
[614041.649419] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139<br>[614041.649427] [<ffffffff81355cf0>] ? gs_change+0x13/0x13<br>[614161.648258] INFO: task sheep:25482 blocked for more than 120 seconds.<br>
[614161.648396] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614161.648549] sheep D ffff880077c13780 0 25482 1 0x00000000<br>[614161.648561] ffff880072b1a080 0000000000000082 ffffffff810b938f ffffffff8160d020<br>
[614161.648573] 0000000000013780 ffff880044151fd8 ffff880044151fd8 ffff880072b1a080<br>[614161.648583] ffff880044151778 ffff880044151778 ffff88003740b8a0 ffff880077c13fd0<br>[614161.648593] Call Trace:<br>[614161.648608] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e<br>
[614161.648620] [<ffffffff810b47b3>] ? lock_page+0x20/0x20<br>[614161.648629] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>[614161.648638] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa<br>[614161.648645] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71<br>
[614161.648654] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73<br>[614161.648665] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a<br>[614161.648675] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f<br>
[614161.648685] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23<br>[614161.648695] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45<br>[614161.648703] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a<br>
[614161.648712] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0<br>[614161.648721] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6<br>[614161.648731] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c<br>
[614161.648740] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9<br>[614161.648749] [<ffffffff810364e8>] ? should_resched+0x5/0x23<br>[614161.648758] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa<br>
[614161.648767] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c<br>[614161.648777] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614161.648786] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136<br>
[614161.648795] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614161.648804] [<ffffffff810f1912>] ? do_huge_pmd_anonymous_page+0xad/0x259<br>[614161.648815] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345<br>
[614161.648824] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a<br>[614161.648835] [<ffffffff8134f135>] ? page_fault+0x25/0x30<br>[614161.648852] INFO: task flush-43:0:2797 blocked for more than 120 seconds.<br>
[614161.648984] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614161.649135] flush-43:0 D ffff880077c13780 0 2797 2 0x00000000<br>[614161.649145] ffff880072d71590 0000000000000046 0000000000000000 ffffffff8160d020<br>
[614161.649156] 0000000000013780 ffff880012501fd8 ffff880012501fd8 ffff880072d71590<br>[614161.649165] ffff880012501850 0000000112501850 ffff880072b7f4b0 ffff880077c13fd0<br>[614161.649175] Call Trace:<br>[614161.649183] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>
[614161.649193] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f<br>[614161.649203] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c<br>[614161.649212] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c<br>
[614161.649222] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf<br>[614161.649230] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1<br>[614161.649240] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6<br>
[614161.649248] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff<br>[614161.649257] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5<br>[614161.649266] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22<br>
[614161.649276] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83<br>[614161.649285] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21<br>[614161.649293] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9<br>
[614161.649302] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b<br>[614161.649312] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52<br>[614161.649323] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc<br>
[614161.649333] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204<br>[614161.649343] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab<br>[614161.649353] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f<br>
[614161.649361] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17<br>[614161.649371] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8<br>[614161.649381] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6<br>
[614161.649391] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8<br>[614161.649399] [<ffffffff8105f48d>] ? kthread+0x76/0x7e<br>[614161.649408] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10<br>
[614161.649418] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139<br>[614161.649426] [<ffffffff81355cf0>] ? gs_change+0x13/0x13<br>[614281.648258] INFO: task sheep:25482 blocked for more than 120 seconds.<br>
[614281.648397] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614281.648550] sheep D ffff880077c13780 0 25482 1 0x00000000<br>[614281.648562] ffff880072b1a080 0000000000000082 ffffffff810b938f ffffffff8160d020<br>
[614281.648574] 0000000000013780 ffff880044151fd8 ffff880044151fd8 ffff880072b1a080<br>[614281.648584] ffff880044151778 ffff880044151778 ffff88003740b8a0 ffff880077c13fd0<br>[614281.648594] Call Trace:<br>[614281.648609] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e<br>
[614281.648621] [<ffffffff810b47b3>] ? lock_page+0x20/0x20<br>[614281.648630] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>[614281.648639] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa<br>[614281.648646] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71<br>
[614281.648655] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73<br>[614281.648666] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a<br>[614281.648676] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f<br>
[614281.648686] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23<br>[614281.648696] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45<br>[614281.648704] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a<br>
[614281.648713] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0<br>[614281.648722] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6<br>[614281.648732] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c<br>
[614281.648741] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9<br>[614281.648749] [<ffffffff810364e8>] ? should_resched+0x5/0x23<br>[614281.648759] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa<br>
[614281.648767] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c<br>[614281.648777] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614281.648786] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136<br>
[614281.648795] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614281.648805] [<ffffffff810f1912>] ? do_huge_pmd_anonymous_page+0xad/0x259<br>[614281.648815] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345<br>
[614281.648825] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a<br>[614281.648835] [<ffffffff8134f135>] ? page_fault+0x25/0x30<br>[614281.648851] INFO: task flush-43:0:2797 blocked for more than 120 seconds.<br>
[614281.648984] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614281.649135] flush-43:0 D ffff880077c13780 0 2797 2 0x00000000<br>[614281.649145] ffff880072d71590 0000000000000046 0000000000000000 ffffffff8160d020<br>
[614281.649155] 0000000000013780 ffff880012501fd8 ffff880012501fd8 ffff880072d71590<br>[614281.649165] ffff880012501850 0000000112501850 ffff880072b7f4b0 ffff880077c13fd0<br>[614281.649174] Call Trace:<br>[614281.649183] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>
[614281.649192] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f<br>[614281.649202] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c<br>[614281.649211] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c<br>
[614281.649220] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf<br>[614281.649229] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1<br>[614281.649238] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6<br>
[614281.649247] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff<br>[614281.649255] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5<br>[614281.649264] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22<br>
[614281.649274] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83<br>[614281.649283] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21<br>[614281.649292] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9<br>
[614281.649300] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b<br>[614281.649310] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52<br>[614281.649321] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc<br>
[614281.649331] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204<br>[614281.649341] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab<br>[614281.649351] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f<br>
[614281.649359] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17<br>[614281.649369] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8<br>[614281.649379] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6<br>
[614281.649388] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8<br>[614281.649397] [<ffffffff8105f48d>] ? kthread+0x76/0x7e<br>[614281.649406] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10<br>
[614281.649416] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139<br>[614281.649424] [<ffffffff81355cf0>] ? gs_change+0x13/0x13<br>[614401.648228] INFO: task sheep:25482 blocked for more than 120 seconds.<br>
[614401.648365] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614401.648518] sheep D ffff880077c13780 0 25482 1 0x00000000<br>[614401.648530] ffff880072b1a080 0000000000000082 ffffffff810b938f ffffffff8160d020<br>
[614401.648542] 0000000000013780 ffff880044151fd8 ffff880044151fd8 ffff880072b1a080<br>[614401.648551] ffff880044151778 ffff880044151778 ffff88003740b8a0 ffff880077c13fd0<br>[614401.648561] Call Trace:<br>[614401.648576] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e<br>
[614401.648588] [<ffffffff810b47b3>] ? lock_page+0x20/0x20<br>[614401.648597] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>[614401.648606] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa<br>[614401.648613] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71<br>
[614401.648622] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73<br>[614401.648633] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a<br>[614401.648643] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f<br>
[614401.648653] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23<br>[614401.648663] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45<br>[614401.648671] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a<br>
[614401.648680] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0<br>[614401.648689] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6<br>[614401.648699] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c<br>
[614401.648708] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9<br>[614401.648716] [<ffffffff810364e8>] ? should_resched+0x5/0x23<br>[614401.648726] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa<br>
[614401.648734] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c<br>[614401.648744] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614401.648753] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136<br>
[614401.648763] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614401.648772] [<ffffffff810f1912>] ? do_huge_pmd_anonymous_page+0xad/0x259<br>[614401.648782] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345<br>
[614401.648792] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a<br>[614401.648802] [<ffffffff8134f135>] ? page_fault+0x25/0x30<br>[614401.648819] INFO: task flush-43:0:2797 blocked for more than 120 seconds.<br>
[614401.648951] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614401.649102] flush-43:0 D ffff880077c13780 0 2797 2 0x00000000<br>[614401.649112] ffff880072d71590 0000000000000046 0000000000000000 ffffffff8160d020<br>
[614401.649122] 0000000000013780 ffff880012501fd8 ffff880012501fd8 ffff880072d71590<br>[614401.649132] ffff880012501850 0000000112501850 ffff880072b7f4b0 ffff880077c13fd0<br>[614401.649142] Call Trace:<br>[614401.649150] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>
[614401.649160] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f<br>[614401.649169] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c<br>[614401.649178] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c<br>
[614401.649187] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf<br>[614401.649196] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1<br>[614401.649205] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6<br>
[614401.649214] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff<br>[614401.649222] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5<br>[614401.649232] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22<br>
[614401.649241] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83<br>[614401.649250] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21<br>[614401.649259] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9<br>
[614401.649267] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b<br>[614401.649278] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52<br>[614401.649288] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc<br>
[614401.649298] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204<br>[614401.649308] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab<br>[614401.649318] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f<br>
[614401.649326] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17<br>[614401.649336] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8<br>[614401.649346] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6<br>
[614401.649356] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8<br>[614401.649364] [<ffffffff8105f48d>] ? kthread+0x76/0x7e<br>[614401.649373] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10<br>
[614401.649383] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139<br>[614401.649391] [<ffffffff81355cf0>] ? gs_change+0x13/0x13<br>[614521.648230] INFO: task sheep:25482 blocked for more than 120 seconds.<br>
[614521.648369] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614521.648522] sheep D ffff880077c13780 0 25482 1 0x00000000<br>[614521.648534] ffff880072b1a080 0000000000000082 ffffffff810b938f ffffffff8160d020<br>
[614521.648546] 0000000000013780 ffff880044151fd8 ffff880044151fd8 ffff880072b1a080<br>[614521.648556] ffff880044151778 ffff880044151778 ffff88003740b8a0 ffff880077c13fd0<br>[614521.648566] Call Trace:<br>[614521.648581] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e<br>
[614521.648593] [<ffffffff810b47b3>] ? lock_page+0x20/0x20<br>[614521.648602] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>[614521.648611] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa<br>[614521.648619] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71<br>
[614521.648628] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73<br>[614521.648638] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a<br>[614521.648648] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f<br>
[614521.648659] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23<br>[614521.648668] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45<br>[614521.648676] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a<br>
[614521.648685] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0<br>[614521.648694] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6<br>[614521.648704] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c<br>
[614521.648713] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9<br>[614521.648722] [<ffffffff810364e8>] ? should_resched+0x5/0x23<br>[614521.648731] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa<br>
[614521.648740] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c<br>[614521.648750] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614521.648759] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136<br>
[614521.648768] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4<br>[614521.648777] [<ffffffff810f1912>] ? do_huge_pmd_anonymous_page+0xad/0x259<br>[614521.648788] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345<br>
[614521.648797] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a<br>[614521.648807] [<ffffffff8134f135>] ? page_fault+0x25/0x30<br>[614521.648824] INFO: task flush-43:0:2797 blocked for more than 120 seconds.<br>
[614521.648957] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.<br>[614521.649108] flush-43:0 D ffff880077c13780 0 2797 2 0x00000000<br>[614521.649118] ffff880072d71590 0000000000000046 0000000000000000 ffffffff8160d020<br>
[614521.649128] 0000000000013780 ffff880012501fd8 ffff880012501fd8 ffff880072d71590<br>[614521.649138] ffff880012501850 0000000112501850 ffff880072b7f4b0 ffff880077c13fd0<br>[614521.649147] Call Trace:<br>[614521.649155] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71<br>
[614521.649165] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f<br>[614521.649175] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c<br>[614521.649184] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c<br>
[614521.649193] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf<br>[614521.649201] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1<br>[614521.649211] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6<br>
[614521.649219] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff<br>[614521.649228] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5<br>[614521.649237] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22<br>
[614521.649247] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83<br>[614521.649256] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21<br>[614521.649264] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9<br>
[614521.649273] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b<br>[614521.649283] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52<br>[614521.649294] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc<br>
[614521.649303] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204<br>[614521.649314] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab<br>[614521.649323] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f<br>
[614521.649331] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17<br>[614521.649341] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8<br>[614521.649351] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6<br>
[614521.649361] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8<br>[614521.649370] [<ffffffff8105f48d>] ? kthread+0x76/0x7e<br>[614521.649379] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10<br>
[614521.649388] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139<br>[614521.649396] [<ffffffff81355cf0>] ? gs_change+0x13/0x13<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-01-30 Valerio Pachera <span dir="ltr"><<a href="mailto:sirio81@gmail.com" target="_blank">sirio81@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div>Hi all, I'm wondering if using dd on top of nbd may cause problems.<br></div>Most of all I wonder how it behaves with the non allocate space.<br><br></div>E.g.<br><br></div>
dog vdi create test 1G<br><br>lsmod | grep nbd || modprobe nbd<br><br></div>qemu-nbd -c /dev/nbd0 sheepdog:test<br><br></div>dd if=/dev/nbd0 of=/tmp/nbd0.img bs=1M<br><br></div>Is there any known issue using qemu-nbd or may I consider nbd0 as a "normal" block device?<br>
</div>
</blockquote></div><br></div>