Remove the "SparesMissing event"

    • OMV 0.5
    • core

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

    • Remove the "SparesMissing event"

      Remove the "SparesMissing event"

      Description
      If you receive an "SparesMissing event", here´s how to remove it by @SerErris.

      Example "SparesMissing event":

      SparesMissing event on /dev/md/storage:openmediavault

      This is an automatically generated mail message from mdadm
      running on openmediavault

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

      Faithfully yours, etc.

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

      Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
      md127 : active raid5 sda[0] sdd[4] sdc[2] sdb[1]
      5860540032 blocks super 1.2 level 5, 128k chunk, algorithm 2 [4/4] [UUUU]

      unused devices: <none>


      The Problem

      In /etc/mdadm/mdadm.conf you can find the entry for your md ARRAY:

      Source Code

      1. # definitions of existing MD arrays
      2. ARRAY /dev/md/storage metadata=1.2 [color=#FF0000][b]spares=1[/b] [/color]name=openmediavault:storage UUID=6a35a589:d9c8a30b:a61a95bf:XXXXXXXX

      As long as this line states "spares=1" the message will arrive, as mdadm looks after a spare disk.



      Solution
      1. Set the parameter to spares=0
      2. Done. :thumbup:

      For example:
      Before
      ARRAY /dev/md/storage metadata=1.2 spares=1 name=openmediavault:storage UUID=6a35a589:d9c8a30b:a61a95bf:XXXXXXXX
      After
      ARRAY /dev/md/storage metadata=1.2 spares=0 name=openmediavault:storage UUID=6a35a589:d9c8a30b:a61a95bf:XXXXXXXX



      Questions / Problems / Discussions
      Click HERE to get to the diskussions thread.


      Version 1.0 // 16.09.2014
      OMV stoneburner | HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV erasmus| Odroid XU4 | 5TB Data drive | 500GB Backup drive