summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 8e551a888..cc06411e1 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -189,6 +189,11 @@ sub detect_during_install {
foreach (@{allmodules()}) {
eval { modules::load($_) };
}
+
+ # udev may have started raids but failed due to not yet loaded modules and
+ # they remains inactive ("md: personality for level 1 is not loaded!")
+ stop_inactive_mds();
+
detect_during_install_once(@parts);
detect_during_install_once(@parts) if active_mds(); #- try again to detect RAID 10
stop_inactive_mds();