From: Daniel Molkentin Date: Mon, 30 Jan 2017 10:10:40 +0000 (+0100) Subject: Allow booting from degraded MD RAID arrays X-Git-Tag: 045~19^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F198%2Fhead;p=thirdparty%2Fdracut.git Allow booting from degraded MD RAID arrays bnc#1017695 --- diff --git a/modules.d/90mdraid/module-setup.sh b/modules.d/90mdraid/module-setup.sh index cecf3bf8e..9015fd31b 100755 --- a/modules.d/90mdraid/module-setup.sh +++ b/modules.d/90mdraid/module-setup.sh @@ -130,6 +130,12 @@ install() { if [ -e $systemdsystemunitdir/mdmon@.service ]; then inst_simple $systemdsystemunitdir/mdmon@.service fi + if [ -e $systemdsystemunitdir/mdadm-last-resort@.service ]; then + inst_simple $systemdsystemunitdir/mdadm-last-resort@.service + fi + if [ -e $systemdsystemunitdir/mdadm-last-resort@.timer ]; then + inst_simple $systemdsystemunitdir/mdadm-last-resort@.timer + fi fi inst_hook pre-shutdown 30 "$moddir/mdmon-pre-shutdown.sh" dracut_need_initqueue