Menachem Shapiro wrote:
Does anyone know of a way to simulate S.M.A.R.T. errors on my hard disk? Maybe get the drive to report an error, even though it doesn't have one?
There isn't a practical way to get that done outside expensive hardware, or a disk that's actually failing (but see below).
I want to confirm that S.M.A.R.T. monitoring is working properly, and maybe setup a script that will email me if a S.M.A.R.T. error occurs.
Logwatch under Red Hat-like systems by default outline these errors if they are encountered. You can, of course, run something like CRM114 on your log files to have it email you when it discriminates something from smartd being logged -- but this is a whole other can of worms. :)
Also, it's worth noting that SMART Predictive Failure Analysis isn't really worth much (as far as the numbers go). I've read a few articles that say SMART will detect no problems with a disk and then it will suddenly stop working. I've also seen it to where the PFA will choke on something and spew a stream of SMART errors, and the disk continue to work for years. So, I'm not sure how useful it really is beyond a, "you might have a problem, but then you might not" -- so, take SMART with a grain of salt, basically.
Cheers, -Kelsey -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
