recover/repair/remount an md0 device
I have a huge problem: after a power fluctuation, my server crashed. The Centos linux was installed on a 3 USB sticks array : sda2 ,sdb1,sdc1 with a small boot partition on sda1. On reboot it gives me now a kernel panic error. As I still hope to recover some of my data (settings mostly) I'm trying to remount the drives on a laptop.
Got past some mdadm.conf problems, and now I get:
# mdadm --examine --scan
ARRAY /dev/md0 level=raid0 num-devices=3 UUID=68329964:dfc9489f:29b9f808:170413ab
# mount /dev/md0 /2
mount: you must specify the filesystem type
# mount -t ext2 /dev/md0 /2
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
# mdadm -A /dev/md0
mdadm: /dev/md0 has been started with 3 drives.
# cat /proc/mdstat
Personalities : [raid0]
md0 : active raid0 sda2 sdc1 sdb1
11726848 blocks 256k chunks
unused devices: <none>
I'm not sure the order in the mdstat return is correct: sda2 sdc1 sdb1 or the "256k chunks"
I'm not convinced that all data is lost so if you have any suggestion on what I may try to read something, I'll be eternally grateful.