Hello Alexander, On 10 October 2017 at 20:56, Alexander Shenkin <al@xxxxxxxxxxx> wrote: > On 10/10/2017 10:11 AM, Reindl Harald wrote: >> >> >> >> Am 10.10.2017 um 11:00 schrieb Alexander Shenkin: >>> >>> Thanks... I know nothing about "check scrubs". Could you point me to a >>> good resource? I've found https://raid.wiki.kernel.org/index.php/Scrubbing >>> and https://raid.wiki.kernel.org/index.php/Scrubbing_the_drives, but it's >>> hard to tell exactly how the system should be configured in order to run >>> these regularly. A weekly cron perhaps? And, should it be just check, or >>> repair? etc... Any help you could offer would be welcome. >> >> >> if your distribution don't install a cronjob for that you should blame >> them because RAID without regular scrub is asking for troubles >> >> [root@srv-rhsoft:~]$ rpm -q --file /etc/cron.d/raid-check >> mdadm-4.0-1.fc26.x86_64 >> >> [root@srv-rhsoft:~]$ cat /etc/cron.d/raid-check >> 30 4 * * Mon root /usr/sbin/raid-check > > > Thanks Reindl. Here's what I have installed (no evidence of raid-check > available on my system): > > $ cat /etc/cron.d/mdadm > 57 0 * * 0 root if [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le > 7 ]; then /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi > This is indicative of a Debian/Ubuntu distribution. The cron entry is not enough to enable md array checks, you have to edit /etc/default/mdadm and set AUTOCHECK=true >>> Is this something I should run now? I figure it's a bad idea to push an >>> array that is starting to degrade... haven't had a chance to replace the >>> drive yet, but will get to it this week. Probably best to start the >>> scrubbing routines once I have 4 good drives in there I figure... >> >> >> NO - never put any load you can avoid on degraded arrays > > > thanks, i won't. > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html