Help recovering RAID file system

  • My plex went down, and i realized that the file system was missing in ovm. After googling and trying many things I am here. I seem to have 1 or even 2 bad disks. I have a few extra disks I can replace them with, but its difficult to identify the bad one(s)


    I have been able to do the following

    mdadm --stop /dev/md0


    mdadm --assemble --run --force /dev/md0 /dev/sd[acdfghijkl]


    It comes back online but in a clean/degraded state. I then try to add. either sdj or sdd, it starts recovery, but then fails and I end up in a clean, FAILED state. I think i still have a bad disk in there, but I'm not sure how determine which is bad. I really would like to not lose all of my music. Any help would be appreciated


  • crashtest

    Approved the thread.
  • Based on what I am seeing there, it looks like you have a 10 drive raid 5 that has 2 drives missing/removed/failed, with 2 spare drives that have not been engaged,. Raid 5 only allows for 1 drive to fail before all data is lost.


    However, I am confused with the

    Raid Devices : 10

    Total Devices : 11


    and the

    10 8 144 - spare /dev/sdj

    11 8 48 - spare /dev/sdd



    If you have lost 2 drives without engaging replacements as the info suggests, there is nothing left to recover, however the info is somewhat confusing.


  • superkeest Your situation is why users should never loose sight of the fact that RAID is not a backup. Having 8? drives in a RAID5 array is risky, RAID6 would have been a better choice. It might look like you've lost two drives from your RAID5 array, and so its dead, but I wonder if that's really the case?


    It comes back online but in a clean/degraded state. I then try to add. either sdj or sdd, it starts recovery, but then fails and I end up in a clean, FAILED state. I think i still have a bad disk in there, but I'm not sure how determine which is bad. I really would like to not lose all of my music.


    If you had reached the point that array was back online but degraded, then only one drive could have been faulty at this point. How many disk were in the original array? Have you physically removed any of the original drives? Why did you include sda in the re-build, what drive is the OS installed on? It may be possible to re-build your array if the correct disks are picked getting back to clean degraded. Whether the filesystem is intact and mountable is another question. ( Have a look at this thread: 8Tb RAID 5 array is Clean, FAILED. Pls help before I do something to make things worse. )

    • New
    • Official Post

    What makes no sense here is that the array size is 3Tb but the array consists of 10/11 drives suggesting the drives are small in capacity and are probably of mismatched sizes and there is no mention of the hardware that this is running on or how it's set up.


    This has been set up on the assumption that data cannot be lost on a raid set up!! Having more than 4 drives in a Raid 5 is risky 10 is suicidal

    Raid is not a backup! Would you go skydiving without a parachute?


    OMV 7x amd64 running on an HP N54L Microserver

  • Having more than 4 drives in a Raid 5 is risky 10 is suicidal

    I don’t agree with that completely, but I do echo your concern.


    I have been running a 6 drive raid 5 for years without an issue, but I do also adhere to the guidelines for RAID. All drives are NAS/RAID rated. All drives are the same make, size, model and firmware. However, 5 or 6 drives is the largest I would go before looking at RAID 6 or even 60

    • New
    • Official Post

    I don’t agree with that completely

    I understand what you're saying but we know what we are doing and we know the importance of a backup, but these 10 drives in a Raid5 and the array is 3Tb, the OP has created this from a bunch of drives he has lying around and assumes his data is safe because he has set up a raid

  • Yea I'm a total noob here and I'm going to take my licks on this one. it was 12 320 gig drives set up in a budget box. I got the drives free from work and they were all maybe 8 year old mechanical drives. The whole thing was a recipe for disaster. It was kind of a hobby project, as in what can i do with 12 2.5 inch drives. the raid itself was originally only 10 drives, because it was detecting a couple of them with identical serial numbers. I am going to yank them all and stick a single 2TB ssd in there and rebuild my music library. It was fun while it lasted.

  • macom

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!