Hi all,
I'm having some trouble with my server after a power cut.
It's an SME 8b6 (for some strange reason 7.* won't install on this machine, I've never understood why, but at the time I managed to install version 8, it was an earlier beta that I've since then updated from time to time). Only one SATA hard drive in it.
So, after that power cut, the system won't restart, throwing some errors about one of the partitions - I've seen these before and on a non-raid system I'd be able to repair (probably) but I know nothing about raid... It all ends with a recovery failure and a kernel panic. Here is some of the stuff I managed to copy (I've got only one screen for two computers and besides it goes fast...):
recovery required
exception Emask (followed by numbers)
I/O error, /dev/sda, sector xxxxxxx
failed to read block at offset...
JDB: recovery failed
Then the kernel panic.
I've tried using the rescue system on the installation CD, it claims I don't have Linux partitions on this machine.
There's nothing critical on that drive, still that's stuff I'd like to recover... Also, this is only a personal and test server, I can still temporarily survive without it, so all I'd like to do really is to backup the data that's on /dev/sda2 then I'll re-install it when I get the time, that's the easy part. And before anyone asks why I did not make backups earlier, I just didn't have the room for it... I've recently bought a new HD to replace the one on my workstation and now I have room to copy the data. Only I can't as long as I can't mount the partition.
So far all I've managed to do from the recovery CD is this:
mdadm --examine --scan /dev/sda1 /dev/sda2 >> /etc/mdadm.conf
This outputs a config file with 2 lines, concerning md1 and md2. Strangely both of them say there are two devices... While there are in fact 2 in total.
mdadm -A -s
cat /proc/mdstat
The raid appears to be started (but each array with 1 disk out of 2), the result of that cat command is 2 blocks of text concerning md1 and md2 that are declared active.
I can then mount /dev/md1 this appears to be the boot partition. /dev/md2 won't mount and I can't run fsck on it (some superblock error). I also have lots of /dev/md3 to 10 or even more I guessed I should ignore them.
All suggestions are welcome!
Thanks in advance.
Seb.