> > Setup: > amd Athlon64 2.2Ghz +3400 - Aopen Ak-86 mobo > > Can anyone tell me if there is some application that can tell the > temperatures of my harddrives? > > Do we have anthing like lm_sensors in the linux world? > > Anyway at all short of booting to BIOS?
SMART firmware based disks can be queried with smartctl. You can find SMARTmontools at : i386: http://blastwave.network.com/csw/unstable/i386/5.11/ smartmontools-5.36,REV=2006.09.11-SunOS5.8-i386-CSW.pkg.gz sparc : http://blastwave.network.com/csw/unstable/sparc/5.11/ smartmontools-5.36,REV=2006.09.11-SunOS5.8-sparc-CSW.pkg.gz The latest rev is smartmontools-5.38 which I have sitting in the Blastwave farm. It will be out sometime this week or next week most likely. How to run it : # /opt/csw/bin/pkgutil --install smartmontools MD5 for CSWsmartmontools matched. Installing CSWsmartmontools Processing package instance <CSWsmartmontools> from </var/opt/csw/pkgutil/packages/smartmontools-5.36,REV=2006.09.11-SunOS5.8-i386-CSW.pkg> smartmontools - S.M.A.R.T. utility toolset (i386) 5.36,REV=2006.09.11 ## Processing package information. ## Processing system information. 11 package pathnames are already properly installed. ## Verifying package dependencies. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. Installing smartmontools - S.M.A.R.T. utility toolset as <CSWsmartmontools> ## Installing part 1 of 1. /etc/init.d/smartd /etc/rc0.d/K05smartd <symbolic link> /etc/rc1.d/K05smartd <symbolic link> /etc/rc2.d/K05smartd <symbolic link> /etc/rc3.d/S95smartd <symbolic link> /etc/rcS.d/K05smartd <symbolic link> /opt/csw/etc/smartd.conf.CSW /opt/csw/sbin/smartctl /opt/csw/sbin/smartd /opt/csw/share/doc/smartmontools/AUTHORS /opt/csw/share/doc/smartmontools/CHANGELOG /opt/csw/share/doc/smartmontools/COPYING /opt/csw/share/doc/smartmontools/INSTALL /opt/csw/share/doc/smartmontools/NEWS /opt/csw/share/doc/smartmontools/README /opt/csw/share/doc/smartmontools/TODO /opt/csw/share/doc/smartmontools/WARNINGS /opt/csw/share/doc/smartmontools/examplescripts/Example1 /opt/csw/share/doc/smartmontools/examplescripts/Example2 /opt/csw/share/doc/smartmontools/examplescripts/Example3 /opt/csw/share/doc/smartmontools/examplescripts/README /opt/csw/share/doc/smartmontools/smartd.conf /opt/csw/share/man/man1m/smartctl.1m /opt/csw/share/man/man1m/smartd.1m /opt/csw/share/man/man4/smartd.conf.4 [ verifying class <none> ] Installation of <CSWsmartmontools> was successful. # # ldd /opt/csw/sbin/smartctl libnsl.so.1 => /usr/lib/libnsl.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 # # format -e Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c1t0d0 <DEFAULT cyl 1103 alt 2 hd 255 sec 63> /p...@0,0/pci9004,7...@8/s...@0,0 1. c2t0d0 <SEAGATE-ST39102LW-8320 cyl 6921 alt 2 hd 12 sec 214> /p...@0,0/pci1011,2...@11/pci1000,1...@4/s...@0,0 2. c2t2d0 <DEFAULT cyl 8921 alt 2 hd 255 sec 63> /p...@0,0/pci1011,2...@11/pci1000,1...@4/s...@2,0 3. c3t1d0 <DEFAULT cyl 4424 alt 2 hd 255 sec 63> /p...@0,0/pci9004,7...@12/s...@1,0 Specify disk (enter its number): ^D So pick a disk. # /opt/csw/sbin/smartctl -a /dev/rdsk/c3t1d0s0 smartctl version 5.36 [i386-pc-solaris2.8] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: SEAGATE ST336704LSUN36G Version: 032C Serial number: 3CD0T8N600007120H9DU Device type: disk Local Time is: Thu Mar 26 11:12:10 2009 EDT Device supports SMART and is Enabled Temperature Warning Enabled SMART Health Status: OK Current Drive Temperature: 42 C Drive Trip Temperature: 65 C Manufactured in week 46 of year 2000 Current start stop count: 42 times Recommended maximum start stop count: 10000 times Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 1196304931 Blocks received from initiator = 697150337 Blocks read from cache and sent to initiator = 216591399 Number of read and write commands whose size <= segment size = 7837521 Number of read and write commands whose size > segment size = 0 Vendor (Seagate/Hitachi) factory information number of hours powered up = 11032.38 number of minutes until next internal SMART test = 42 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 816 0 0 816 816 723.602 0 write: 0 0 0 0 0 367.204 0 Non-medium error count: 1 [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'] SMART Self-test log Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ] Description number (hours) # 1 Background short Completed - 0 - [- - -] # 2 Background short Completed - 0 - [- - -] # 3 Background short Completed - 0 - [- - -] # 4 Background short Completed - 0 - [- - -] # 5 Background short Completed - 0 - [- - -] # 6 Background short Completed - 0 - [- - -] Long (extended) Self Test duration: 1350 seconds [22.5 minutes] # So that tells you a lot. Current Drive Temperature: 42 C Dennis _______________________________________________ opensolaris-discuss mailing list [email protected]
