[RFC] periodic self-tests on short-uptime machines

Lukasz Stelmach <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Hi.

The way `-s' directive in smartd.conf works is good for long-running
machines but somewhat inappropriate for desktops or laptops which may be
turned on and off and suspended quite often. This is the very same issue
that lead to development of special scripts that run daily (weekly,
monthly) cron jobs and save timestamps across reboots.

SMART self-test logs have the POH-based timestamps and smartd could
trigger the tests at specified intervals: e.g. every 100 power-on-hours.
I admit the implementation may not be as easy as it seems due to
differences in firmware (e.g. my OCZ SSD supports only xselftest and
Seagate HDD has selftest one).

Another problem issue is keeping the machine "alive" until a self-test
is over. It is where Inhibitor Locks[1] might be useful.

RFC.

[1] http://www.freedesktop.org/wiki/Software/systemd/inhibit/

Kind regards,
-- 
Było mi bardzo miło.                   Twoje oczy lubią mnie
>Łukasz<                                     i to mnie zgubi  (c)SNL

REKLAMA: http://ars-fabrica.eu/ sklep z rękodziełem

------------------------------------------------------------------------------

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
signature.asc (application/pgp-signature, 538 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUVKJuAAoJEAC2l2xjkdNx1FwH/i/OJ8CYcwEEFflU+ZrlbAWU
4wEOc15G/XQ4E/G+JkV6TH6qLP8JkUE36VJJx+N0hZFdqoXSHZAs83U4dPBYt1iz
l+142EFYvapGb1vank5BZtSVpciMqKIOXrnwiF7BMoHL+8A8zZ4LY6axAKuIKpjh
1/0auA3nvPutxbU1dlwPq9Q1tW9r7RlJwAesaBq6qaF7GisrqpA2r+/6hr1YIMGf
3BqycSwoc649Wy8Ie+QDq6mvTv0aWwSvdywCVVL9EegewKYoeURqNDym276OLPq6
LxURwyaMb7r7sKAFMNdf02Ss6TOe+PuYjGwQC18/vWvpOBfKbGrXVBE+KHYwDtw=
=lceP
-----END PGP SIGNATURE-----
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.