From: Manfred S. <man...@gm...> - 2007-02-25 12:27:25
|
List, Christian, I tried the new scttemp feature of smartctl, and had some issues. On two of my disks, I have (with CVS from yesterday) SCT capabilities: (0x003f) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. but when I try to query, I get # ./smartctl -l scttemp /dev/hda smartctl version 5.38 [i686-suse-linux] Copyright (C) 2002-7 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === Error Write SCT Data Table command failed: Invalid argument However, reading sts works: # ./smartctl -l scttempsts /dev/hda smartctl version 5.38 [i686-suse-linux] Copyright (C) 2002-7 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SCT Status Version: 2 SCT Version (vendor specific): 258 (0x0102) SCT Support Level: 1 Device State: SMART Off-line Data Collection executing in background (4) Current Temperature: 39 Celsius Power Cycle Min/Max Temperature: 0/48 Celsius Lifetime Min/Max Temperature: 0/48 Celsius Under/Over Temperature Limit Count: 0/0 And hist fails: # ./smartctl -l scttemphist /dev/hda smartctl version 5.38 [i686-suse-linux] Copyright (C) 2002-7 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === Error Write SCT Data Table command failed: Invalid argument So I think contents of scttempsts should be printed out when querying scttemp, even when scttemphist fails. Both disks are driven by linux IDE driver (2.6.16), could there be a problem with this? On other disks, connected via libata (also 2.6.16), everything works (they have no SCT Feature Control Support however): SCT capabilities: (0x0021) SCT Status supported. SCT Data Table supported. # ./smartctl -l scttemp /dev/sda smartctl version 5.38 [i686-suse-linux] Copyright (C) 2002-7 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SCT Status Version: 2 SCT Version (vendor specific): 1 (0x0001) SCT Support Level: 1 Device State: Active (0) Current Temperature: 30 Celsius Power Cycle Min/Max Temperature: 0/33 Celsius Lifetime Min/Max Temperature: 0/85 Celsius Under/Over Temperature Limit Count: 0/0 SCT Temperature History Version: 2 Temperature Sampling Period: 1 minute Temperature Logging Interval: 1 minute Min/Max recommended Temperature: 0/60 Celsius Min/Max Temperature Limit: 0/60 Celsius Temperature History Size (Index): 478 (477) Error invalid Temperature History Size or Index Note however the ridiculous max temperature of 85 degrees. I can almost guarantee that this disk has never seen temperatures over 35 degrees (and Under/Over count is 0/0). This is a Maxtor 7L300S0. Regards, Manfred -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out |