From: fortaisur <glu...@de...> - 2013-01-02 04:18:33
|
Christian Franke <Chr...@t-...> wrote: >fortaisur wrote: >> The Samsung 830 SSD reports temperature as Attribute 190: >> >> 190 Airflow_Temperature_Cel 0x0032 070 057 000 Old_age Always - 30 >> >> I'd like to monitor if it gets too hot. Per smartmontools 6.0 >> smartd.conf man page, I tried this in /etc/smartd.conf: >> >> DEFAULT -a -I 190 -v 190,tempminmax -W 0,40,50 >> >> The -I 190 is so I don't get bogus syslog entries when the >> normalized temperature value changes (it seems to be 100 minus >> the raw value); the rest is to still log if raw value shows it >> getting too warm or hot. >> >> But, it doesn't work, says at startup: >> >> smartd[7056]: Device: /dev/sda [SAT], SAMSUNG SSD 830 Series, S/N:S0WENEAC702034, WWN:5-002538-043584d30, FW:CXM03B1Q, 128 GB >> smartd[7056]: Device: /dev/sda [SAT], found in smartd database: Samsung based SSDs >> smartd[7056]: Device: /dev/sda [SAT], can't monitor Temperature, ignoring -W 0,40,50 >> > >Should be fixed in r3740. Does not require a -v directive. > >Please test smartd from current SVN if possible. > >Thanks, >Christian > Thank you very much, seems to work fine: Jan 1 13:00:37 localhost smartd[12313]: smartd 6.1 2013-01-01 r3740 [x86_64-linux-2.6.18-274.el5] (local build) Jan 1 13:00:37 localhost smartd[12313]: Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org Jan 1 13:00:37 localhost smartd[12313]: Opened configuration file /etc/smartd.conf Jan 1 13:00:37 localhost smartd[12313]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices Jan 1 13:00:37 localhost smartd[12313]: Device: /dev/sda, type changed from 'scsi' to 'sat' Jan 1 13:00:37 localhost smartd[12313]: Device: /dev/sda [SAT], opened Jan 1 13:00:37 localhost smartd[12313]: Device: /dev/sda [SAT], SAMSUNG SSD 830 Series, S/N:S0WENEAC702034, WWN:5-002538-043584d30, FW:CXM03B1Q, 128 GB Jan 1 13:00:37 localhost smartd[12313]: Device: /dev/sda [SAT], found in smartd database: Samsung based SSDs Jan 1 13:00:37 localhost smartd[12313]: Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list. Jan 1 13:00:37 localhost smartd[12313]: Monitoring 1 ATA and 0 SCSI devices Jan 1 13:00:37 localhost smartd[12313]: Device: /dev/sda [SAT], initial Temperature is 31 Celsius (Min/Max ??/31) Jan 1 13:00:37 localhost smartd[12315]: smartd has fork()ed into background mode. New PID=12315. Jan 1 13:30:37 localhost smartd[12315]: Device: /dev/sda [SAT], Temperature 43 Celsius reached limit of 40 Celsius (Min/Max 43!/43!) Jan 1 14:00:37 localhost smartd[12315]: Device: /dev/sda [SAT], Temperature 43 Celsius reached limit of 40 Celsius (Min/Max 43/43) Jan 1 14:30:37 localhost smartd[12315]: Device: /dev/sda [SAT], Temperature 44 Celsius reached limit of 40 Celsius (Min/Max 43/44!) Jan 1 15:00:38 localhost smartd[12315]: Device: /dev/sda [SAT], Temperature 42 Celsius reached limit of 40 Celsius (Min/Max 42!/44) Jan 1 15:30:37 localhost smartd[12315]: Device: /dev/sda [SAT], Temperature 42 Celsius reached limit of 40 Celsius (Min/Max 42/44) Jan 1 16:00:37 localhost smartd[12315]: Device: /dev/sda [SAT], Temperature 43 Celsius reached limit of 40 Celsius (Min/Max 42/44) |