I created a new partition table on a newly plugged in device and it caused fdisk to hang (even force kill does not work). It also may be a bad drive or some other issue because fdisk -l hangs after the first 2 HDDs (totaly of 8 HDDs on this system):
[1232879.903596] INFO: task fdisk:27176 blocked for more than 120 seconds.
[1232879.903607] Tainted: P OE 3.16.0-38-generic #52~14.04.1-Ubuntu
[1232879.903609] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[1232879.903612] fdisk D ffff88102fd130c0 0 27176 27054 0x00000000
[1232879.903619] ffff880aaf987d50 0000000000000082 ffff880fff807010 ffff880aaf987fd8
[1232879.903622] 00000000000130c0 00000000000130c0 ffff880f7ec4dbb0 ffff880aaf987e78
[1232879.903626] ffff880aaf987e80 7fffffffffffffff ffff880fff807010 ffffffff81203970
[1232879.903629] Call Trace:
[1232879.903643] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1232879.903649] [<ffffffff817699f9>] schedule+0x29/0x70
[1232879.903653] [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
[1232879.903657] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1232879.903663] [<ffffffff815d14e5>] ? md_make_request+0xd5/0x220
[1232879.903666] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1232879.903671] [<ffffffff815e6027>] ? dm_request+0x107/0x1a0
[1232879.903674] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1232879.903678] [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
[1232879.903683] [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
[1232879.903688] [<ffffffff8134f35e>] submit_bio_wait+0x5e/0x70
[1232879.903693] [<ffffffff8135b4ca>] blkdev_issue_flush+0x5a/0x90
[1232879.903699] [<ffffffff81267f99>] ext4_sync_fs+0xe9/0x140
[1232879.903702] [<ffffffff81203990>] sync_fs_one_sb+0x20/0x30
[1232879.903707] [<ffffffff811d7cb2>] iterate_supers+0xb2/0x110
[1232879.903710] [<ffffffff81203a95>] sys_sync+0x55/0x90
[1232879.903715] [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
[1232999.926891] INFO: task fdisk:27176 blocked for more than 120 seconds.
[1232999.926902] Tainted: P OE 3.16.0-38-generic #52~14.04.1-Ubuntu
[1232999.926904] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[1232999.926907] fdisk D ffff88102fd130c0 0 27176 27054 0x00000000
[1232999.926914] ffff880aaf987d50 0000000000000082 ffff880fff807010 ffff880aaf987fd8
[1232999.926918] 00000000000130c0 00000000000130c0 ffff880f7ec4dbb0 ffff880aaf987e78
[1232999.926921] ffff880aaf987e80 7fffffffffffffff ffff880fff807010 ffffffff81203970
[1232999.926924] Call Trace:
[1232999.926938] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1232999.926945] [<ffffffff817699f9>] schedule+0x29/0x70
[1232999.926949] [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
[1232999.926952] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1232999.926959] [<ffffffff815d14e5>] ? md_make_request+0xd5/0x220
[1232999.926962] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1232999.926967] [<ffffffff815e6027>] ? dm_request+0x107/0x1a0
[1232999.926971] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1232999.926974] [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
[1232999.926980] [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
[1232999.926985] [<ffffffff8134f35e>] submit_bio_wait+0x5e/0x70
[1232999.926989] [<ffffffff8135b4ca>] blkdev_issue_flush+0x5a/0x90
[1232999.926995] [<ffffffff81267f99>] ext4_sync_fs+0xe9/0x140
[1232999.926999] [<ffffffff81203990>] sync_fs_one_sb+0x20/0x30
[1232999.927003] [<ffffffff811d7cb2>] iterate_supers+0xb2/0x110
[1232999.927007] [<ffffffff81203a95>] sys_sync+0x55/0x90
[1232999.927011] [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
[1233119.950269] INFO: task fdisk:27176 blocked for more than 120 seconds.
[1233119.950285] Tainted: P OE 3.16.0-38-generic #52~14.04.1-Ubuntu
[1233119.950290] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[1233119.950296] fdisk D ffff88102fd130c0 0 27176 27054 0x00000000
[1233119.950308] ffff880aaf987d50 0000000000000082 ffff880fff807010 ffff880aaf987fd8
[1233119.950316] 00000000000130c0 00000000000130c0 ffff880f7ec4dbb0 ffff880aaf987e78
[1233119.950323] ffff880aaf987e80 7fffffffffffffff ffff880fff807010 ffffffff81203970
[1233119.950330] Call Trace:
[1233119.950350] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1233119.950362] [<ffffffff817699f9>] schedule+0x29/0x70
[1233119.950370] [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
[1233119.950378] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1233119.950389] [<ffffffff815d14e5>] ? md_make_request+0xd5/0x220
[1233119.950396] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1233119.950405] [<ffffffff815e6027>] ? dm_request+0x107/0x1a0
[1233119.950413] [<ffffffff81203970>] ? do_fsync+0x80/0x80
[1233119.950420] [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
[1233119.950430] [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
[1233119.950439] [<ffffffff8134f35e>] submit_bio_wait+0x5e/0x70
[1233119.950447] [<ffffffff8135b4ca>] blkdev_issue_flush+0x5a/0x90
[1233119.950457] [<ffffffff81267f99>] ext4_sync_fs+0xe9/0x140
[1233119.950465] [<ffffffff81203990>] sync_fs_one_sb+0x20/0x30
[1233119.950473] [<ffffffff811d7cb2>] iterate_supers+0xb2/0x110
[1233119.950481] [<ffffffff81203a95>] sys_sync+0x55/0x90
[1233119.950490] [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
fdisk, wq, processi, partition, newly, plugged, hangs, hdds, totaly, info, task, blocked, tainted, oe, generic, ubuntu, quot, echo, proc, sys, kernel, hung_task_timeout_secs, disables, ffff, fd, aaf, fff, ec, dbb, fffffffffffffff, ffffffff, do_fsync, dd, schedule_timeout, md_make_request, xd, dm_request, wait_for_completion, xa, wake_up_state, submit_bio_wait, ca, blkdev_issue_flush, ext, _sync_fs, xe, sync_fs_one_sb, cb, iterate_supers, xb, sys_sync, system_call_fastpath,