Raid started with 4 out of 5 drives

    • OMV 4.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Raid started with 4 out of 5 drives

      Hello.

      My raid went suddently missing.. I googled some commands regarding a missing raid and I managed to start the raid again with mdadm --assemble /dev/md0. But..

      mdadm: /dev/md0 has been started with 4 drives (out of 5).

      My sdf drives wont start. mdadm: no RAID superblock on /dev/sdf

      SMART says nothing is wrong with the drive. How can I get superblocks on again and what is it?

      Thanks in advance.
    • Okey, I found out that I could "Recover" in OMV GUI under Raid management. Now it's clean again and running with 5 drives. But I keep getting emails from the NAS about the raid and my NAS is running slow. The connection is falling out sometimes and my Plex is lagging.

      Display Spoiler
      This is an automatically generated mail message from mdadm
      running on nas

      A SparesMissing event had been detected on md device /dev/md0.

      Faithfully yours, etc.

      P.S. The /proc/mdstat file currently contains the following:

      Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
      md0 : active raid5 sdc[3] sde[1] sdd[2] sdb[4] sdf[5]
      23441565696 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/5] [UUUUU]
      bitmap: 0/44 pages [0KB], 65536KB chunk

      unused devices: <none>


      How can I fix that?
    • Display Spoiler
      This is an automatically generated mail message from mdadm
      running on nas

      A SparesMissing event had been detected on md device /dev/md0.

      Faithfully yours, etc.

      P.S. The /proc/mdstat file currently contains the following:

      Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
      md0 : active raid5 sdc[3] sde[1] sdd[2] sdb[4] sdf[5]
      23441565696 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/5] [UUUUU]
      bitmap: 0/44 pages [0KB], 65536KB chunk

      unused devices: <none>


      "A SparesMissing event had been detected on md device /dev/md0."

      Output from mdadm.conf file:


      Is the definition correct or why do I keep getting emails from server?
      Images
      • 123.png

        4.6 kB, 851×44, viewed 22 times
    • henfri wrote:

      Do you have a spare?
      Do you know, what this means?

      A short search revealed:
      Remove the "SparesMissing event"
      Thanks for your answer. I guess I should have searched better before creating last post.

      I guess a spare means another HDD ready to kick-in, in case of another HDD failure? I do not have this, so I changed the spare=1 to 0.

      I guess the problem is fixed now. But my performance issue for the server in general is likely not.
    • henfri wrote:

      Correct for the spare.
      For the performance issue, you should search for guides.
      Isolate the problem. CPU (top), IO (iotop or copy a file on the command line), network (iperf), ...
      Yes I did see it. I will search for guides.

      Long story short. The server used to run without problems, but suddenly when I put "pressure" on the nas by adding torrents and moving files, I lose connection to the GUI and bittorrent for a while. But my plex server keeps running without problems even that I cannot log in or change page. I did some updates in the GUI a while ago. Other than updating and fixing the raid, I havent done anything else..? I also have added more RAM to the motherboard because I only had 3GB. But that was already when the problem was here.

      The post was edited 1 time, last by montrey ().