System with IMSM raid5 array gets hung during shutdown
Issue
- System with IMSM raid5 array gets hung during shutdown.
-
We updated the systemd rpm to
239-58.el8_6.7
version as suggested in KCS solution 6970749, but the same issue still persists.
There were following call traces logged on console during shutdown hang:dracut Warning: Killing all remaining processes XFS (dm-0): Unmounting Filesystem dracut Warning: Unmounted /oldroot. dracut: Disassembling device-mapper devices md: md120: resync interrupted. INFO: task reboot:7986 blocked for more than 120 seconds. Not tainted 4.18.0-372.9.1.el8.x86_64 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:reboot state stack: 0 pid: 7986 ppid: 1 flags:0x00004080 Call Trace: __schedule+0x2d1/0x830 schedule+0x35/0xa0 raid5_quiesce+0x12b/0x2d0 [raid456] ? finish_wait+0x80/0x80 __md_stop_writes+0x68/0x110 md_notify_reboot+0x51/0xf0 notifier_call_chain+0x47/0x70 blocking_notifier_call_chain+0x3e/0x60 kernel_restart_prepare+0x19/0x40 kernel_restart+0xe/0x30 __do_sys_reboot+0x1d2/0x210 ? __fput+0xd0/0x250 ? syscall_trace_enter+0x1fb/0x2c0 ? __audit_syscall_exit+0x249/0x2a0 do_syscall_64+0x5b/0x1a0 entry_SYSCALL_64_after_hwframe+0x65/0xca RIP: 0033:0x7f00c1c344b7
Environment
- Red Hat Enterprise Linux 8.6 and later
- systemd version
239-58.el8_6.7
and later
- systemd version
- mdraid array configured using Intel IMSM or VROC RAID
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.