about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--core-services/03-filesystems.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/core-services/03-filesystems.sh b/core-services/03-filesystems.sh
index df40ff7..bb7eac0 100644
--- a/core-services/03-filesystems.sh
+++ b/core-services/03-filesystems.sh
@@ -10,6 +10,11 @@ if [ -x /sbin/dmraid -o -x /bin/dmraid ]; then
     dmraid -i -ay
 fi
 
+if [ -x /bin/mdadm ]; then
+    msg "Activating software RAID arrays..."
+    mdadm -As
+fi
+
 if [ -x /bin/btrfs ]; then
     msg "Activating btrfs devices..."
     btrfs device scan || emergency_shell