Forcing MDRaid Restart after Disk Fail

From Zanecorpwiki

Jump to: navigation, search

First you'll probably want to go through When a RAID Array Refuses to Start. If the 'mdadm --assemble --scsan' fails, then reboot the system. You'll probably come up in rescue mode when the array fails to start on reboot. Then run:

mdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/sd[ad]1 --chunk=128 --parity=left-symmetric

The data in the above should match

cat /proc/mdstat

and

mdadm --examine /dev/sda1
Personal tools