This implements "camcontrol smart", which can be used to check
status of ATA drives.
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential D29992
camcontrol(8): add "smart" command trasz on Apr 26 2021, 1:11 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions I am not sure how useful it is to report only SMART status. I barely remember any cases when SMART reported actual error. Much more often we start replacing drives preventivelywhen they start reallocating and loose performance. But is you wish, I have no objections.
Comment Actions I concur, at least consumer devices only start reporting SMART errors, after they have actually failed and data is no longer recoverable - but even then, its possible to NOT get a smart error. Getting the full statistics - to the extent the device is willing to provide them - does allow a proactive approach. Dumping the statistics in a verbose mode would be helpful there. Comment Actions I have to echo the comments here. fatal error only is useless on the vast majority of devices. We run a lot of our devices well past the time smart alerts (because the alert turned out to be bogus). Without statistics, this functionality is really useless. SATL devices are SATA devices, and should be supported. We should consider adding libxo so that the verbose stats from this (and other) commands can be output in a structured way.
|