[OpenIndiana-discuss] Hard Drive Temp

Scott LeFevre slefevre at indy.rr.com
Tue May 22 10:53:27 UTC 2012


I've been using smartmontools 5.40 for a while with few issues.  I have
9 drives between two SATA controllers and use the following line in
smartd.conf to run the self tests:

/dev/rdsk/c1t0d0 -d sat,12 -o on -S on -t -I 194 -I 231 -I 9 -l error -l selftest -s (S/../.././02|L/../../4/04) -m slefevre at example.com


This line is repeated once for each drive.

To get the temperature for a drive, a simple one-liner works:

smartctl -A -d sat,12 /dev/rdsk/c1t0d0 | grep ^194 | awk '{print $10}'


Cheers,
Scott LeFevre


On Tue, 2012-05-22 at 14:31 +0400, Jim Klimov wrote:

> 2012-05-22 13:05, andre at ak47.co.za wrote:
> > smartctl /dev/rdsk/c10d1
> > smartctl 5.40 2010-10-16 r3189 [i386-pc-solaris2.11] (local build)
> > Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
> 
> It might also matter that you have an older version of the tools.
> The one I fetched recently from SourceForge and compiled was 5.42:
> 
> smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build)
> Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
> 
> But still not everything works for me, i.e. I can't initiate
> SMART self-tests (scrubs of disk media by disk itself) on a
> particular box.
> 
> HTH,
> //Jim Klimov
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the OpenIndiana-discuss mailing list