CentOS 6.7 - Missing md0 raid
I created a raid array using:
mdadm -Cv -l5 -c1024 -n3 -pls /dev/md0 /dev/sd{b,c,d}1 After reboot, the array /dev/md0 is missing. I searched the web, and found referencs to creating a CONF file, but not sure how to create it. Commands shown on the web don't work: mdadm --assemble --scan mdadm: No arrays found in config file or automatically mdadm --assemble --force /dev/mds0 /dev/sdb1 /dev/sdc1 /dev/sdd1 mdadm: /dev/sdb1 is busy - skipping mdadm: /dev/sdc1 is busy - skipping mdadm: /dev/sdd1 is busy - skipping |
`mdadm --detail --scan` should give you a starting point for a working config file.
You only really need the UUID without any other conditions (remove metadata, host, level, ...). You might want to add your email address so mdadm can notify you of problems the moment they occur (provided you have a working sendmail). Code:
DEVICE /dev/sd* If you are using initrd you might have to update that as well after changing mdadm.conf |
You could also write a config file with the following:
Code:
mdadm --detail --scan >> /etc/mdadm/mdadm.conf |
All times are GMT -5. The time now is 06:46 PM. |