Re: SMART detects pending sectors; take offline?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux