mdadm: error opening /dev/md0: No such file or directory
after doing some more digging I found this error (a triple-entry for md0) in mdadm.conf
.
# This configuration was auto-generated on Fri, 06 Mar 2020 22:24:51 -0800 by mkconf
ARRAY /dev/md0 metadata=1.2 name=nas:0 UUID=6e49ac17:91ff6793:a755436d:56c8a49c
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2 name=nas:0 UUID=6e49ac17:91ff6793:a755436d:56c8a49c
devices=/dev/sda,/dev/sdb
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2 name=nas:0 UUID=6e49ac17:91ff6793:a755436d:56c8a49c
devices=/dev/sda,/dev/sdb
so I modified it to
# This configuration was auto-generated on Fri, 06 Mar 2020 22:24:51 -0800 by mkconf
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2 name=nas:0 UUID=6e49ac17:91ff6793:a755436d:56c8a49c
devices=/dev/sda,/dev/sdb
and ran sudo update-initramfs -u
and sudo mdadm --assemble --scan
which resulted in:
mdadm: /dev/md0 has been started with 2 drives.
and now I go my drive back