Sorry in advance if this is a stupid question. On my old Netgear ReadyNAS, I can schedule a RAID scrub to run periodically to search for and address defective blocks to reduce the probability of silent data corruption. Is there a way to do that in OMV?
Scrub?
-
-
I believe it is setup automatically to be done monthly, with mdadm, on Debian based systems.
-
Zitat von "tekkbebe"
I believe it is setup automatically to be done monthly, with mdadm, on Debian based systems.
How would you know if it's running? How can you see the results? -
You can tell by the status in the Raid tab in the OMV web interface. If there was a problem, it would probably be logged in /var/log/messages
Your old ReadyNas was probably using a much older version of mdadm. You probably don't need to worry that much about it. If you want to manually run a check (cron job), do:
/usr/share/mdadm/checkarray -a /dev/mdX
-
Zitat von "ryecoaaron"
You can tell by the status in the Raid tab in the OMV web interface. If there was a problem, it would probably be logged in /var/log/messages
Your old ReadyNas was probably using a much older version of mdadm. You probably don't need to worry that much about it. If you want to manually run a check (cron job), do:
/usr/share/mdadm/checkarray -a /dev/mdX
Yes, my ReadyNAS is still running Debian Etch, I believe. I guess things have evolved since then. Thanks for the help! -
OMV does a scrup every first Sunday in a month.
Code
Alles anzeigenroot@openmediavault:/etc/cron.d# cat mdadm # # 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
You can find the evidence in /var/log/messages and /var/log/daemon
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!