I had just created an mdadm raid and installed Linux Mint to it. I've seen this error about /dev/md/0 a few times. I have a:
/dev/md0
and
/dev/md0p1 (had to create or Linux Mints installer would not install to the raid)
So I went to generate an /etc/mdadm/mdadm.conf file with mdadm --detail --scan, but I wanted to check the output first before redirecting it to the conf file.
Code:
bullshark@mint /etc/mdadm $ sudo /sbin/mdadm --detail --scan
sudo: unable to resolve host mint
mdadm: cannot open /dev/md/0: No such file or directory
I checked for an existing mdadm.conf. First glance, I thought it was an example and all commented out. Second glance, I found out it wasn't and it contained the line:
Code:
ARRAY /dev/md/0 metadata=1.2 UUID=a193044d:832a36d7:990196e7:a143ef21 name=mint:0
So I thought I had found the source of the /dev/md/0 error. I made a backup and then blanked out the file. I ran the above command again. It is still looking for a /dev/md/0. I have no idea why, or if that file was to exist, why it would.