Server wont boot after raid failure
I have a Fujitsu RX220 running with SATA disks and Software Raid 1. The second drive in the machine has failed (sdb). I have replaced it however the machine will not boot up correctly and allow me to rebuild the raid the usual way.
I get the following errors on the initramfs shell screen:
I have tried running the mdadm command to assemble the array from the shell:
Gave up waiting for root device
ALERT! Device /dev/md1 was not found! Dropping to shell!
Gives the error:
mdadm --assemble /dev/md1 /dev/sda1 /dev/sdb1
mdadm: cannot open device /dev/sda1: Device or resource busy
mdadm: /dev/sda1 has no superblock - assembly aborted
works as expected.
mdadm --misc --scan /dev/sda