My Ubuntu server now fails to boot: It uses a RAID 5, and one of those drives failed. The OS is on the RAID array, and rebuilding now fails with the replacement drive.
I can't post pastebins or anything because I only have physical access using a live drive at the moment.
Using mdadm I see drive /dev/sde failed completely (won't show up on the system at all). Using mdadm - - examine I found out that the other drives still know that they belong to a RAID-5. And under array state I see drive three out of the six is missing (AA.AAA).
However, if I try to assemble it, it only wants to use drive three, which isn't enough to build the RAID-5 back up; even more, it wants to make it RAID-0.
How do I fix this?
Edit: this would be on ubuntu 18.04.3 live cd, running from usb
mdadm --detail /dev/md0
herecat /proc/mdstat
,mdadm --detail /dev/md0
,ls -l /dev/sd?
,fdisk -l /dev/sd?
will help to confirm that the 3rd disk in the array is actually /dev/sde.