So you’ve grown, shrunk, or reshaped your array and after rebooting, it just won’t continue booting correctly? You likely forgot to update the cached mdadm.conf in the initramfs image. Luckly this is easy.
First, we have to fix your boot issue. Reboot and when you see the grub menu, hit a key. This will take you to an interactive mode. Go ahead and edit the kernel line and change the end of it from ‘rhgb quiet’ to ‘rdshell’. Go ahead and boot that configuration. It will still fail, but rather then stopping forever, it will give you a shell. You now have to manually assemble the array by hand. Example:
mdadm --assemble
/dev/md0
/dev/sda1
/dev/sdb1
dracut --force --mdadmconf
/boot/initramfs-
`
uname
-r`.img `
uname
-r`