Results 1 to 5 of 5

Thread: Linux RAID will not mount - missing Superblock

  1. #1
    Join Date
    Aug 2014
    Beans
    8

    Linux RAID will not mount - missing Superblock

    hi all,
    I have an old RAID 5 (I know..) set up on a media server and following a power down am getting the following when I try and mount the raid:

    xxx@xxx:~$ sudo mount /dev/md0 /var/data
    mount: /var/data: can't read superblock on /dev/md0.

    some info on the raid:

    xxx@xxx:~$ cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md0 : inactive sdd[3] sdc[1]
    5860271024 blocks super 1.2

    xxx@xxx:~$ sudo mdadm --verbose --assemble /dev/md0 /dev/sdb /dev/sdc /dev/sdd
    mdadm: looking for devices for /dev/md0
    mdadm: no recogniseable superblock on /dev/sdb
    mdadm: /dev/sdb has no superblock - assembly aborted


    xxx@xxx:~$ sudo mdadm --verbose --assemble /dev/md0 /dev/sdc /dev/sdd
    mdadm: looking for devices for /dev/md0
    mdadm: /dev/sdc is busy - skipping
    mdadm: /dev/sdd is busy - skipping


    running smartctl -d ata -a /dev/sdx against the 3 drives returns: SMART overall-health self-assessment test result: PASSED

    is there anyone who can help me out? I'm ok with terminal but not a linux or raid expert by a long stretch.

    thanks in advance!

  2. #2
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    3,988
    Distro
    Xubuntu

    Re: Linux RAID will not mount - missing Superblock

    "Bad superblock" in 99.9% of the cases means that the HD has failed. You may be able redo the drive and use it, but I would not trust it again.

  3. #3
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Linux RAID will not mount - missing Superblock

    For future reference, it's usually a better idea to combine partitions via mdadm than whole drives.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Aug 2014
    Beans
    8

    Re: Linux RAID will not mount - missing Superblock

    have got it sorted out now.

    I had to stop the raid then zero the superblock on /dev/sdb, assemble with the 2 remaining good drives and add the missing one again. took 10 hrs to sync but all seems well now.
    will run some tests on the drives to see if any need replacing.
    Last edited by trisgti2; June 1st, 2021 at 11:09 PM.

  5. #5
    Join Date
    Aug 2014
    Beans
    8

    Re: Linux RAID will not mount - missing Superblock

    Quote Originally Posted by SeijiSensei View Post
    For future reference, it's usually a better idea to combine partitions via mdadm than whole drives.
    thanks, will remember that next time.

Tags for this Thread

Bookmarks

Posting Permissions

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