Frieder Ferlemann wrote:
> Hi,
>
> just had a look into the output of smartd in /var/log/messages.
>
> Seems like the log mistakenly contains 198 Read_Sectors_Tot_Ct
> as Offline uncorrectable sectors?
>
>    

Yes. The defaults 197/198 of -C/-U directives do not make sense here.


> ...
>
>
> It would be really nice if:
>
> 208 Average_Erase_Count
> 209 Remaining_Lifetime_Perc
>
> would instead be reported in the log:)
>
>    

Try smartd.conf:

/dev/sda -a -C 0 -U 0 -R 208 -R 209


BTW:
> SMART Attributes Data Structure revision number: 16
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  
> WHEN_FAILED RAW_VALUE
>    1 Raw_Read_Error_Rate     0x0000   006   000   000    Old_age   Offline    
>   -       0
>    9 Power_On_Hours          0x0000   ---   ---   ---    Old_age   Offline    
>   -       126
> ...
> 209 Remaining_Lifetime_Perc 0x0000   ---   ---   ---    Old_age   Offline     
>  -       100
> 211 Unknown_Attribute       0x0000   000   000   000    Old_age   Offline     
>  -       0
> 212 Unknown_Attribute       0x0000   000   000   000    Old_age   Offline     
>  -       0
> 213 Unknown_Attribute       0x0000   000   000   000    Old_age   Offline     
>  -       0
>    

Likely all attributes use the raw64 format. I would suggest to add

   -v 1,raw64 -v 211,raw64 -v 212,raw64 -v 213,raw64

to drivedb.h entry.


Cheers,
Christian


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Smartmontools-database mailing list
Smartmontools-database@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-database

Reply via email to