![](https://seccdn.libravatar.org/avatar/c707e1599d8e9f78a390b0643118b43d.jpg?s=120&d=mm&r=g)
Bruno Friedmann wrote:
On Wednesday 04 March 2015 23.30:09 Yamaban wrote:
On Wed, 4 Mar 2015 22:41, Stanislav Brabec wrote: +1, maybe as the last of 'cron.daily' or what-ever systemd calls that now. +1, also as last of 'cron.monthly'
Not from cron. smartd itself has this capability. It is configured in /etc/smartd.conf. It starts it with delays, and check, whether the last check already finished.
Is it really the best way? If you have a whatever storage computer with lot of disk and there's a running backup at that time, it will kill all the io bandwidth.
This should not kill I/O bandwidth. Firmware should postpone the check until the device is idle.
The mention of that "behaviour for some" "bug for some other" will be hard to detect no?
It would not be our bug, but HDD manufacturers' bug. The last report about such bug in our Bugzilla is dated People will still have a chance to: - Upgrade HDD firmware - Notify HDD manufacturer about this problem. - Turn S.M.A.R.T. checks off. - Run checks manually when the system is idle. Well, I can imagine a test, that can detect broken firmware: 1. Start some I/O. 2. Start self test. 3. Start the same I/O as 1. did. If there is a big difference in speed, report bad firmware.
I guess that most real admin in charge of server/dekstop knows the perfect time to run full deep long test. We will impose 2 actions, remove default scripts and install theirs.
S.M.A.R.T. checks are fully configurable by /etc/smartd.conf. Are people aware that S.M.A.R.T. is configured to an inferior mode and cannot predict many failures? What is better? Risk slow down on some devices (and people no being aware of it source) or risk disk death that can be predicted but it is not (because self tests are not started)?
And what about smartd and udisk2 doing the same work? On most desktop udiskd2 is running and already doing smart check status ?
smartd is a hardware monitor that communicates with firmware using special commands. Disk health monitoring is the only purpose of smartd. It never reads any data from the disk. udisks2 is a standard block device manager. It does not any health checks. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +49 911 7405384547 190 00 Praha 9 fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org