I'm following this guide:
https://wiki.archlinux.org/index.php/RAID
I have managed to create my array and I can assemble it and mount it on my Cubox running Archlinux ARM (systemd).
My problem is that I can't get it to automount on boot though.
I couldn't add mdadm.conf to my initrd, because:
mkinitcpio -p linux
#> Preset not found: '/etc/mkinitcpio.d/linux.preset'
Diagnostics:
--------------
/etc/fstab:
UUID=xx-x-x-x-xx mywd ext4 defaults,relatime,nofail 0 0
/etc/mdadm.conf:
ARRAY /dev/md/myraid metadata=1.2 UUID=xx:xx:xx:xx name=mycubox:myraid
systemctl status mywd.mount:
ExecMount=/bin/mount /dev/disk/by-uuid/33f93984-2fcb-40f6-be0a-15ca4324f9de /mywd -t ext4 -o defaults,relatime,nofail (code=exited, status=32)
mount: /dev/md127 is already mounted or /mywd busy
Failed to mount /mywd.