Pinned Unexpected RAID Rebuild?

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

    • Re: Unexpected RAID Rebuild?

      Never knew that. Good to know :)

      /proc/mdstat uses the term check. Maybe the term recovering could be changed to checking??
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: Unexpected RAID Rebuild?

      Sorry to bring up this old topic, but as I have brother systems with the same setup, having a "clean recovery" running at the very same time is not convenient (in case something happen, or even just no to have 100% CPU running at the same time).
      How can we customise this? It should be set to random day if you ask me...
    • Re: Unexpected RAID Rebuild?

      Mine appears to want to run at 3:57AM on the first Sunday. Note though I do not have a raid setup. Noticed the entry in the log files.

      WARNING: You are on your own on this. Because it may be possible to lose your data if the wrong changes are made.

      You might want to look at the cron jobs in /etc/cron.d and look at the file mdadm

      Make a back up of the mdadm file - in case something goes wrong

      You could then change the time and day it runs.

      Also a version update to OMV may overwrite any changes made.

      It would be nice if the GUI of OMV had an options page where we could change when internal OMV cron jobs are run. OS (Debian) cron jobs though OMV should not list as they could be changed with OS updates. The OS ones then fall on to us to control.
      New to OMV? Take a look at our Tutorials and How To's: http://forums.openmediavault.org/viewtopic.php?f=13&t=1289
      USB Sticks/CF Cards Should not be used as System Drive http://forums.openmediavault.org/viewtopic.php?f=12&t=1673
      No Support through PM. Please open a new thread.

      OMV 0.4.38 64bit (Fedaykin), Plex Media Server, miniDLNA
      Athlon II X2 3.4ghz, 8gb mem, 160gb WD Black system drive, 2 1tb WD Black storage drives - JBOD no LVM

      Mountain Dew - Because man does not live by bread alone!
    • Since when has this been an auto job? this is the first time it has ran for me since I have set up my raid5 more than 6 months ago. It does not show up on any job schedule on the GUI I have this running on an RPI3 and checking this uses about 72 hours of cpu load resources once a month now? I would at most want to run this quarterly or even bi annually at most. anyone please advise on how to change this.
    • This is what my /etc/cron.d/mdadm had in it.
      I changed this to run twice a year. Monthly was way too much for me.
      Does anyone see issues with this?

      Thank you in advance.

      D

      # cron.d/mdadm -- schedules periodic redundancy checks of MD devices
      #
      # Copyright © martin f. krafft <madduck@madduck.net>
      # distributed under the terms of the Artistic Licence 2.0
      #

      # By default, run at 00:57 on every Sunday, but do nothing unless the day of
      # the month is less than or equal to 7. Thus, only run on the first Sunday of
      # each month. crontab(5) sucks, unfortunately, in this regard; therefore this
      # hack (see #380425).
      #57 0 * * 0 root if [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi

      #changed to do this 2x year
      * * * 1,7 * root /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi
    • dereknotz wrote:

      I have set up my raid5 more than 6 months ago ... I have this running on an RPI3 and checking this uses about 72 hours of cpu load resources once a month
      @votdev: is it possible to prevent mdadm being installed on certain platforms? Or a UI tweak requiring people who want to play RAID to accept a dialog reading 'RAID on toys does not work. I understand that I will lose my data later'?

      IMO on every platform accepting a dialog 'I understand that RAID is not backup' is also needed.
    • tkaiser wrote:

      is it possible to prevent mdadm being installed on certain platforms?
      No, it's not possible, or more precise too much work and ugly workarounds.


      tkaiser wrote:

      Or a UI tweak requiring people who want to play RAID to accept a dialog reading 'RAID on toys does not work. I understand that I will lose my data later'?
      Hmm, maybe, but i really do not like this idea. If i want to use a feature as user, i should get some information before if it matches my requirements. We can not prevent users from doing bad things. Sometimes you just have to learn from pain.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Users Online 1

      1 Guest