Hardware Troubleshooting in Linux > Other Devices

recover/repair/remount an md0 device


Hi there,

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[0] sdc1[2] sdb1[1]
      11726848 blocks 256k chunks

unused devices: <none>

I'm not sure the order in the mdstat return is correct:   sda2[0] sdc1[2] sdb1[1] 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.

Thank you

Software raid? Man, that's nasty problem and badluck man.

Have you tried using use recovery cd (i.e sysrescuecd) while the disks are on the server and try to mount it and to forced fsck ?


[0] Message Index

Go to full version