From 5edfa9543b7911467468db09c4717cb878c76871 Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Mon, 21 Jun 2021 17:04:50 -0700 Subject: Activate mdadm arrays on boot --- core-services/03-filesystems.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit 1.4.1