LINUX.ORG.RU

Зависает iscsitarget

 


0

1

Здравствуйте.

Ubuntu 16.04 + iscsitarget, инициаторы - на винде.

Пару раз схватил такую ошибку, syslog:

Jul 24 18:47:21 fserver kernel: [32517.546779] INFO: task ietd:4218 blocked for more than 120 seconds.
Jul 24 18:47:21 fserver kernel: [32517.547110]       Tainted: G           OE   4.4.0-154-generic #181-Ubuntu
Jul 24 18:47:21 fserver kernel: [32517.547448] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 24 18:47:21 fserver kernel: [32517.547809] ietd            D ffff8801f6ebfd88     0  4218      1 0x00000000
Jul 24 18:47:21 fserver kernel: [32517.547813]  ffff8801f6ebfd88 ffffffff81737793 ffffffff81e13500 ffff8801f7be2a00
Jul 24 18:47:21 fserver kernel: [32517.547815]  ffff8801f6ec0000 ffffffffc049c2c4 ffff8801f7be2a00 00000000ffffffff
Jul 24 18:47:21 fserver kernel: [32517.547817]  ffffffffc049c2c8 ffff8801f6ebfda0 ffffffff8185f205 ffffffffc049c2c0
Jul 24 18:47:21 fserver kernel: [32517.547820] Call Trace:
Jul 24 18:47:21 fserver kernel: [32517.547826]  [<ffffffff81737793>] ? ___sys_recvmsg+0x163/0x1f0
Jul 24 18:47:21 fserver kernel: [32517.547830]  [<ffffffff8185f205>] schedule+0x35/0x80
Jul 24 18:47:21 fserver kernel: [32517.547832]  [<ffffffff8185f55e>] schedule_preempt_disabled+0xe/0x10
Jul 24 18:47:21 fserver kernel: [32517.547834]  [<ffffffff818613f7>] __mutex_lock_slowpath+0xb7/0x130
Jul 24 18:47:21 fserver kernel: [32517.547836]  [<ffffffff8186148f>] mutex_lock+0x1f/0x30
Jul 24 18:47:21 fserver kernel: [32517.547841]  [<ffffffffc048f258>] target_lookup_by_id+0x18/0x60 [iscsi_trgt]
Jul 24 18:47:21 fserver kernel: [32517.547845]  [<ffffffffc048d642>] ioctl+0x82/0x3b0 [iscsi_trgt]
Jul 24 18:47:21 fserver kernel: [32517.547848]  [<ffffffff8123d984>] ? mntput+0x24/0x40
Jul 24 18:47:21 fserver kernel: [32517.547851]  [<ffffffff8123051f>] do_vfs_ioctl+0x2af/0x4b0
Jul 24 18:47:21 fserver kernel: [32517.547854]  [<ffffffff817381f1>] ? __sys_recvmsg+0x51/0x90
Jul 24 18:47:21 fserver kernel: [32517.547856]  [<ffffffff81230799>] SyS_ioctl+0x79/0x90
Jul 24 18:47:21 fserver kernel: [32517.547859]  [<ffffffff81863b9b>] entry_SYSCALL_64_fastpath+0x22/0xcb
Jul 24 18:49:21 fserver kernel: [32637.537748] INFO: task ietd:4218 blocked for more than 120 seconds.
Jul 24 18:49:21 fserver kernel: [32637.538130]       Tainted: G           OE   4.4.0-154-generic #181-Ubuntu
Jul 24 18:49:21 fserver kernel: [32637.538522] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 24 18:49:21 fserver kernel: [32637.538936] ietd            D ffff8801f6ebfd88     0  4218      1 0x00000000
Jul 24 18:49:21 fserver kernel: [32637.538940]  ffff8801f6ebfd88 ffffffff81737793 ffffffff81e13500 ffff8801f7be2a00
Jul 24 18:49:21 fserver kernel: [32637.538942]  ffff8801f6ec0000 ffffffffc049c2c4 ffff8801f7be2a00 00000000ffffffff
Jul 24 18:49:21 fserver kernel: [32637.538944]  ffffffffc049c2c8 ffff8801f6ebfda0 ffffffff8185f205 ffffffffc049c2c0
Jul 24 18:49:21 fserver kernel: [32637.538947] Call Trace:
Jul 24 18:49:21 fserver kernel: [32637.538953]  [<ffffffff81737793>] ? ___sys_recvmsg+0x163/0x1f0
Jul 24 18:49:21 fserver kernel: [32637.538957]  [<ffffffff8185f205>] schedule+0x35/0x80
Jul 24 18:49:21 fserver kernel: [32637.538959]  [<ffffffff8185f55e>] schedule_preempt_disabled+0xe/0x10
Jul 24 18:49:21 fserver kernel: [32637.538962]  [<ffffffff818613f7>] __mutex_lock_slowpath+0xb7/0x130
Jul 24 18:49:21 fserver kernel: [32637.538964]  [<ffffffff8186148f>] mutex_lock+0x1f/0x30
Jul 24 18:49:21 fserver kernel: [32637.538969]  [<ffffffffc048f258>] target_lookup_by_id+0x18/0x60 [iscsi_trgt]
Jul 24 18:49:21 fserver kernel: [32637.538973]  [<ffffffffc048d642>] ioctl+0x82/0x3b0 [iscsi_trgt]
Jul 24 18:49:21 fserver kernel: [32637.538976]  [<ffffffff8123d984>] ? mntput+0x24/0x40
Jul 24 18:49:21 fserver kernel: [32637.538979]  [<ffffffff8123051f>] do_vfs_ioctl+0x2af/0x4b0
Jul 24 18:49:21 fserver kernel: [32637.538982]  [<ffffffff817381f1>] ? __sys_recvmsg+0x51/0x90
Jul 24 18:49:21 fserver kernel: [32637.538984]  [<ffffffff81230799>] SyS_ioctl+0x79/0x90
Jul 24 18:49:21 fserver kernel: [32637.538987]  [<ffffffff81863b9b>] entry_SYSCALL_64_fastpath+0x22/0xcb

Что это такое?


А что тут непонятного? Тред таргета встрял в ядре в uninterruptable sleep (он же D-state). Выкиньте IET и используйте родной LIO.

Nastishka ★★★★★ ()

Ну и проверьте собственно бакенд - нет ли там косяков с драйверами файловой системы если (например) таргеты бакэндятся в файлы

Nastishka ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.