Hi Christian,

Am 16.03.2010 18:19, schrieb Christian Franke:
> Try smartd.conf:
> 
> /dev/sda -a -C 0 -U 0 -R 208 -R 209

thanks! /var/log/messages looks like:

Mar 17 23:20:45 lake smartd[2923]: Device: /dev/sda [SAT], SMART Usage 
Attribute: 208 Average_Erase_Count changed from 97 (Raw) to 98 (Raw)
...
Mar 18 02:50:45 lake smartd[2923]: Device: /dev/sda [SAT], SMART Usage 
Attribute: 208 Average_Erase_Count changed from 98 (Raw) to 99 (Raw)
...
Mar 18 13:20:45 lake smartd[2923]: Device: /dev/sda [SAT], SMART Usage 
Attribute: 208 Average_Erase_Count changed from 99 (Raw) to 100 (Raw)
Mar 18 13:20:45 lake smartd[2923]: Device: /dev/sda [SAT], SMART Usage 
Attribute: 209 Remaining_Lifetime_Perc changed from 100 (Raw) to 99 (Raw)
...
Mar 18 18:50:45 lake smartd[2923]: Device: /dev/sda [SAT], SMART Usage 
Attribute: 208 Average_Erase_Count changed from 100 (Raw) to 101 (Raw)
...
Mar 18 20:50:45 lake smartd[2923]: Device: /dev/sda [SAT], SMART Usage 
Attribute: 208 Average_Erase_Count changed from 101 (Raw) to 102 (Raw)

now. This would be a useful default setting for me:)



>> 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.

Yes, added, this gives:

  1 Raw_Read_Error_Rate     0x0000   ---   ---   ---    Old_age   Offline      
-       6
  9 Power_On_Hours          0x0000   ---   ---   ---    Old_age   Offline      
-       163
...
209 Remaining_Lifetime_Perc 0x0000   ---   ---   ---    Old_age   Offline      
-       99
211 Unknown_Attribute       0x0000   ---   ---   ---    Old_age   Offline      
-       0
212 Unknown_Attribute       0x0000   ---   ---   ---    Old_age   Offline      
-       0
213 Unknown_Attribute       0x0000   ---   ---   ---    Old_age   Offline      
-       0


Another note from the "trying to treat the drive like a raw egg" section,
I edited /etc/init.d/boot.local to contain:

echo 0 > /sys/block/sdb/queue/rotational
echo deadline > /sys/block/sda/queue/scheduler


Greetings,
Frieder

------------------------------------------------------------------------------
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