<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
Sorry for the delay.<br>
Thank you very much for this helpful answer.<br>
<br>
Yes, I use the debian based distribution: "MX Linux". So it's B).
And yes, I also found the file "/var/lib/smartmontools/smartd.*"<br>
<br>
1)<br>
Quote: "~B), but the test will be performed after second device
polling. "<br>
I do not understand "<b>second device polling</b>". I only let
monitor the device sda. I do not let monitor a <b>second device</b>
(HDD). (?) (Maybe you can tell it in German?)<br>
<br>
2)<br>
It looks like smartd is started automatically when I start Linux,
because I find it in Htop. But I do not know with which parameters
smartd starts. How can I find this out or even change it?<br>
<br>
Thank you.<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Am 19.07.20 um 11:57 schrieb Christian
Franke:<br>
</div>
<blockquote type="cite"
cite="mid:82f8bcc8-569a-f82d-d01f-5419cf797ed2@t-online.de">serando
wrote:
<br>
<blockquote type="cite">I want to use smartmontools on a PC and
not on a server, that runs all day.
<br>
My PC does not run all day at the same time. It's very
different. So
<br>
when a test is scheduled to run daily at 2:00 P.M., it can be,
that my
<br>
PC is off at that time, but maybe I turn on my PC at 4:00 P.M on
that
<br>
day. Nevertheless I want that the test is performed on this day.
<br>
<br>
<br>
When I use the command ...
<br>
/dev/sda -a -d sat -o on -S on -s (S/../.././09) -m root -M exec
<br>
/usr/share/smartmontools/smartd-runner
<br>
<br>
... then the short self-test will run daily at 9:00 A.M.
<br>
<br>
Question:
<br>
What happens, when the PC is off at 9:00 A.M.
<br>
But when I turn it on at 12:00 A.M.?
<br>
<br>
A) The test will not be performed on that day.
<br>
B) The test will be performed as soon as the PC is turned on.
<br>
</blockquote>
<br>
If state persistence is not enabled: A)
<br>
<br>
If state persistence is enabled: ~B), but the test will be
performed after second device polling. With default check
interval, this will be ~30 minutes after boot.
<br>
<br>
The smartd-runner script suggests that you are using Debian or
Ubuntu. Then state persistence is enabled by default
(/var/lib/smartmontools/smartd.*). See '-s' command line option in
'smartd -h' output or 'man smartd'.
<br>
<br>
<br>
<blockquote type="cite">I have not found the answer of this
question in "man". Did I miss it?
<br>
</blockquote>
<br>
$ man smartd.conf
<br>
...
<br>
If the scheduled tests are used in conjunction with state
persistence ('-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 ... of these tests is
run after second device polling.
<br>
,,,
<br>
<br>
Regards,
<br>
Christian
<br>
<br>
</blockquote>
<br>
</body>
</html>