Re: How often to run self-tests?

Weedy <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <CAFE24U0kjZDF=i41yEjgDWPOhOGV2aGButDKn5On3eudyngWkg@mail.gmail.com>
On 15 Dec 2013 09:25, "Christian Franke" <[email protected]>
wrote:
>
> Ivan Lezhnjov Jr. wrote:
>
>> On Dec 15, 2013, at 4:58 AM, Weedy <...> wrote:
>>
>>> A very long time ago I found this and use it everywhere now. I don't
even remember what the options mean anymore.
>>> /dev/sda -d ata -o off -S on -a -s
(O/../../(7|3)/00|S/../.././12|L/../../6/03|C/../../7/03) -m root
>>
>> I read all man pages, was a bit painful haha but I can read that line
like English now :P
>
>
> You are welcome to provide (well tested and reviewed) patches(!) for the
man page files.
>
>
>
>> Stiil, wondering if there's any theory behind how fast these types of
checks should be run. One thing is obvious, SMART is meant to expose a
problem before it becomes a real problem of sorts. So, perhaps running the
tests somewhat often is a good idea. But how often that IS the question.
>
>
> It depends and may require some experiments.
>
> For servers running 7x24, one short test per day and one long test per
week is a good starting point.
>
> For desktop systems running 5x8, long tests may not work at all because:
> - OS accesses may slow down the self-test such that it cannot be
completed during working hours,
> and/or
> - the self-test may slow down the OS accesses such that the system is
unusable.
>
> This depends on the vendor specific self-test implementation in drive
firmware.
>
>
>
>>> I have a follow up question for this. I can drop the /dev/sdX and use
DEVICESCAN right?
>>
>> Absolutely
>
>
> Note that DEVICESCAN does not work for drives behind most RAID
controllers. Possible implementations would be vendor and platform specific.

Mdadm raid, soon to be brtfs raid. This isn't a problem

>>> How would I tell smartd to stagger the tests if I have a 4+ drive raid?
>
>
> Automatic staggering of tests is not possible yet. You need to add an
individual smartd.conf entry for each drive.
>
> I agree that this feature would make sense. Please create a ticket:
> https://sourceforge.net/apps/trac/smartmontools/newticket
Sure

>
> Thanks,
> Christian
>

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.