Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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

  2. #2
    You cannot recover a failed RAID 0 device.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts