[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smartmontools-support
Subject:    Re: [smartmontools-support] What will be if PC was odd during test time?
From:       Christian Franke <Christian.Franke () t-online ! de>
Date:       2015-11-02 17:47:10
Message-ID: 5637A19E.1080404 () t-online ! de
[Download RAW message or body]

Yan Pashkovsky wrote:
> I have entered this options in /etc/smard.conf : "DEVICESCAN -a -s
> L/../01/./.."
>
> This means that long tests would be performed every 1st day of every
> month in midnight (00:00)
> I'm curios what will happen if my computer will be turned off whole 1st
> of December.

This depends on smartd '-s PREFIX' command line option and compile time 
configuration:


> When I turn it on on the 2nd of December - will the test
> begin?

Yes - if '-s PREFIX' is specified or configured during compile time,


>   Or the next test will start at 1st January?

Yes - otherwise.


> It would be fine if this answer will be placed to smartd.conf man, in
> section "-s REGEXP"

$ man smartd.conf
...
-s REGEXP
...
     If  the  scheduled tests are used in conjunction with state per-
     sistence ( ´-s ´ option), smartd will also try to match the  hours
     since last shutdown (or 90 days at most). If any test would have
     been started during downtime, the longest (see above) of  these
     tests is run after second device polling.

     If  the   ´-n ´  directive  is  used  and any test would have been
     started during disk standby time, the longest of these tests  is
     run when the disk is active again.


Regards,
Christian


------------------------------------------------------------------------------
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic