Hi folks,

One of my servers has a problem with its harddrive. To receive a warning on
harddrive failures, I usually have the following as a cronjob:
/sbin/atactl /dev/wd0c smartstatus >> /dev/null 2>&1
The output of /sbin/atactl /dev/wd0c smartstatus on that server is: No SMART
threshold exceeded

However, if i use: /sbin/atactl /dev/wd0c readattr
I receive this:
Attributes table revision: 16
ID      Attribute name                  Threshold       Value   Raw
  1     Raw Read Error Rate               16            100
0x000000000000
  2     Throughput Performance         50            100     0x000000000000
  3     Spin Up Time                            24            120
0x000300a600a5
  4     Start/Stop Count                         0            100
0x00000000001b
  5    *Reallocated Sector Count        5              1     0x00000000075b
  7     Seek Error Rate                         67            100
0x000000000000
...
One or more threshold values exceeded!

I had a look at atactl.c and noticed, that the threshold check is completely
different! [1]

Could someone explain the difference to me please? I just do not understand
how the smartstatus check works!

Thanks!

Cheers,
Vincent

[1]
http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sbin/atactl/atactl.c?rev
=1.42;content-type=text%2Fplain

Reply via email to