I had this same problem. The issue is the rockpi-sata.service must be running before you can mount the RAID. I couldnât figure out how to accomplish this while still using fstab to mount the drive, but Iâve figured out how to mount the raid using systemd instead. systemd allows you to configure dependencies and boot orders. Here is an article that helped me figure it out Mounting Linux Volumes with systemd vs fstab. and here is my nas.mount file:
[Unit]
DefaultDependencies=no
Conflicts=umount.target
After=rockpi-sata.service
Before=local-fs.target umount.target
[Mount]
What=/dev/md0
Where=UUID="a545f596-12fb-4e1e-ab6f-a3183a0efbce"
Type=ext4
Options=defaults,noatime
# Make 'systemctl enable nas.mount' work:
[Install]
WantedBy=local-fs.target