I had some problem with my server with lsi megaraid 9260 chip(no JBOD support). I cannot recall exactly but I think I had a single drive as r0, and it failed. I need to recover data from it, if possible. I'll describe what happened:
One day when I was working over SSH all my vms went down and the last thing I could get was
root@localhost:~# busybox sh
Bus error
root@localhost:~# busybox reboot
root@localhost:~# busybox reboot
root@localhost:~# busybox reboot
root@localhost:~# busybox reboot --help
Bus error
root@localhost:~# busybox reboot -f
Write failed: Broken pipe
Couldn't get dmesg. I know I should've done it with busybox as it was likely working... Cant tell now.
Back to problem: what I did next: I managed to mark it good again, now it's status is Unconfigured(good), Spun up
Drive LED is not red anymore.
Can I recover it and how? Currently I can't see it in /dev/ fs. The data there is pretty valuable. I know I should have had backups but it was all created in a course of few workdays without really concentrating on making this server production and setting up backups mechanism. No backups kept. What could be done with this drive? I do guess correctly that if I add it to any raid group right now I will lose all info there?
What steps can I take? What info should I provide? Thanks in advance.
-- update from answer
My current layout is:
disk 0 - "foreign", "unconfigured (good), spun up", was RAID0 single drive until "failed" and became "unconfigured (bad)" which I was lucky to be able to make "unconfigured (good)" now.
disk 1 and disk 2 are in RAID1 group, working good.
third slot is empty.
-- solution to problem is provided by Matt Dytkowski, with WebBIOS usage. I did NOT try the megacli! I used a foreign config import offered by WebBIOS as it was representing my supposed and most likely config of two groups, r1 and r0.
I remember one of drives simply went "Unconfigured (bad)" and there was no way to mark it good - it just wouldn't become "good". Had to trash it. This one doesn't feel good now but at least I can read it. In some places.