I have a blade server on Rocky Linux 8 with 5 18TB WD Gold HDDs in a software RAID0 built with mdadm. I will accept all the lectures on this and change my ways if you all can help. I needed coffee while I was investigating what appeared to be an empty HD slot (the LED was off) and I popped out one of the drives in the RAID. I quickly put it back in and did a reboot.. to find that I am booting into emergency mode.
Emergency mode
The /var/log/messages file indicates that the NTFS filesystem on the RAID is unavailable, and the system cannot open the RAID component /dev/sde. Checking fdisk also reports that the backup GPT table is not on the end of dev/sdf.
cat /var/log/messages
fdisk -l
The output of cat /proc/mdstat shows the following configuration. I recall that I had md126 and md127 mounted. However, md127 shows status inactive.
cat /proc/mdstat
When I examine /dev/md127 with mdadm, it gives the following output:
mdadm --examine /dev/md127
I haven't taken any steps to resolve the issue as I would like to understand what happened first. I am concerned about losing the data, but not concerned enough to pay for data recovery. I just don't know enough about RAID and particularly software RAID to feel confident taking action. So how bad is this and what is the safest way to proceed?
EDIT: I see the title of this post has been edited by a user from "Temporary disconnect of HDD in RAID 0 array" to "Destroyed RAID 0 array". Is the RAID definitely destroyed? Any insights would be appreciated.