Ruediger Meier wrote:
On Wednesday 04 March 2015, Stanislav Brabec wrote:
I propose to run Short Self Test once a day.
Maybe better once per (HD)-uptime-day. Machines with only 10 minutes uptime per day shouldn't do it every day. Also sleeping discs have to be ignored. The user should be able to set fixed times for the checks.
I just looked into the documentation of smartd.conf. It seems that this feature is not yet implemented. Ignoring sleeping discs is the default. See smartd.conf(8) -n POWERMODE. Some discs have had bad behavior in past - any S.M.A.R.T. command caused spinning it up.
I propose to run Long Self Test once a month.
Risks: There is a risk, that Long Self Test slows down I/O operation due to inferior firmware. But if the firmware is written in a smart way, any read or write request should pause the Self Test, and it should be resumed after some time of being idle. If we suppose well written firmware, it should cause minimal delays.
Has anybody checked if firmware is written in that smart way usually?
I have no positive verification. But the last report complaining on it was created in 2006: https://bugzilla.novell.com/show_bug.cgi?id=192591 It should be easy to write test that check the slowdown.
Self Tests resume after reboot.
I don't like seeing my machine busy right after boot-up, reminds me about the rug or beagle mess.
Self tests are hardware driven. If you does no power cycling, the self test may even not interrupt. If you do, then it depends on the firmware. ATA supports Selective Self Test. It could allow to implement for example checking of 20GB every day, but it would require additional coding (get the disk capacity, compute parts per day, store results, etc.) SCSI does not have this feature. -- 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