openSUSE Forums > Hardware » HDD SMART Temperature

Go Back   openSUSE Forums > Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read

Hardware Questions about drivers, peripheral cabling, configuration

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13-Apr-2009, 21:02
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 13
gzdenek hasn't been rated much yet
Default HDD SMART Temperature

My system is currently logging a few dozen errors every 24 hours along the lines of:

Device: /dev/sda, SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 72 to 73.

I checked my drives and they are not 158 degrees F. I ran HDDTemp and it reports 30 deg C which is much more reasonable.

I use logdigest to email me logs every day and would like to monitor the system temperature rather than ignore these errors.

Any advice where to look to correct this?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 14-Apr-2009, 03:25
Puzzled Penguin
 
Join Date: Apr 2009
Posts: 6
tului hasn't been rated much yet
Default Re: HDD SMART Temperature

I believe smartctl and smartd are a start for what you're looking for.(along with their configurations)

from the smartd manpage

-I ID
Ignore device Attribute ID when tracking changes in the Attribute values. ID must be a decimal integer in the range from 1 to 255. This Directive modifies the behavior of the '-p', '-u', and '-t' tracking Directives and has no effect without one of them.

This is useful, for example, if one of the device Attributes is the disk temperature (usually Attribute 194 or 231). It's annoying to get reports each time the temperature changes. This Directive may appear multiple times for a single device, if you want to ignore multiple Attributes.

Last edited by tului; 14-Apr-2009 at 03:26. Reason: forgot info
Reply With Quote
  #3 (permalink)  
Old 19-Apr-2009, 13:13
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 13
gzdenek hasn't been rated much yet
Default Re: HDD SMART Temperature

In case anyone else was trying to figure this out, here is what I found. The smartd temperature reports are a not right for many drives. The number shown is actually a composite of several temperatures.

Several sources on the net people suggest -I 190 and -I 194 as you suggest. However I did find that the -w flag seems to track temperature changes more accurately so I ended up using -w 4,45,55. I believe this will only record changes >4 degrees, and log an alarm at 45. My full config ( /etc/smartd.conf) per drive is:

/dev/sda -a -o on -S on -s (S/../.././02||L/../../6/03) -I 190 -I 194 -w 4,45,55

I have it set to do a short test each day at 2AM and a long test Saturday at 3AM.

I found this article to be very helpful: Monitoring Hard Disks with SMART

Thanks for the help.
Reply With Quote
  #4 (permalink)  
Old 17-May-2009, 22:49
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 5
henrymitchel hasn't been rated much yet
Wink Re: HDD SMART Temperature

@gzdenek

Thank you for taking the time to repost. I am having similar problems and found your info very helpful.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2