I ran these commands:
$ sudo mdadm --verbose --create /dev/md0 --level=10 --chunk=256 --raid-devices=4 /dev/sdh1 /dev/sdh2 /dev/sdh3 /dev/sdh4 $ echo 'DEVICE /dev/sdh1 /dev/sdh2 /dev/sdh3 /dev/sdh4' | sudo tee -a /etc/mdadm.conf $ sudo mdadm --detail --scan | sudo tee -a /etc/mdadm.conf
It seems that my system can no longer find the RAID device after reboot.
mdadm -Q /dev/sdh1 outputs
/dev/sdh1: is not an md array /dev/sdh1: device 0 in 4 device unknown raid10 array. Use mdadm --examine for more detail.
mdadm -Q /dev/md0 outputs
mdadm: cannot open /dev/md0: No such file or directory
/etc/rc.sysinit has this line:
# Start any MD RAID arrays that haven't been started yet [ -r /proc/mdstat -a -r /dev/md/md-device-map ] && /sbin/mdadm -IRs
I'm not sure what this does but I do not have a
/dev/md directory. I'm running an Amazon Linux.
Any advice on what I can do? Could the kernel have renamed the RAID device? Should I modify my