Does "systemctl status raid5.service" show any errors from the commands when they are run? - Are there any errors in the systemd journal or showing in dmesg? I'm wondering whether some sleep delays might be required space out commands? - filesystem tasks can need time to complete/settle before you run the next command; systemd ExecStart sequences need the same considerations as putting commands in a bash script.
After I fixed the error in your file (using `use` to `usr`) and the error in `bin/mdadm` to `sbin/mdadm`, which sky42 pointed out, it actually works now ![]()
God bless the king!
Many thanks to both of you for the great help.