From 94eee92d36e72aabf62f2cbc64ac56c09646e2d2 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Thu, 21 May 2026 23:44:53 +0200 Subject: [PATCH] Fix software RAID creation with newer mdadm versions Recent mdadm versions introduced an interactive prompt when creating RAID arrays without an explicit bitmap configuration: "To optimize recovery speed, it is recommended to enable write-intent bitmap, do you want to enable it now? [y/N]?" This behavior was introduced by upstream change: https://github.com/md-raid-utilities/mdadm/commit/e97c4e18c847803016aa60066cb6e57c528d83a6 In non-interactive environments such as Anaconda, this prompt blocks installation and causes RAID creation to hang. Fix this by explicitly enabling the internal bitmap when creating RAID arrays. --- misc/swraid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/swraid b/misc/swraid index 1391d8c8..bb176a3f 100644 --- a/misc/swraid +++ b/misc/swraid @@ -10,7 +10,7 @@ for dev in $DEVICES; do wipefs -a -f $dev done # must use older metadata format to leave disks looking normal for uefi -mdadm -C /dev/md/raid $DEVICES -n $NUMDEVS -e 1.0 -l $RAIDLEVEL +mdadm -C /dev/md/raid $DEVICES -n $NUMDEVS -e 1.0 -l $RAIDLEVEL -b internal # shut and restart array to prime things for anaconda mdadm -S -s mdadm --assemble --scan