[OpenIndiana-discuss] Hard Drive Temp

Jim Klimov jimklimov at cos.ru
Tue May 22 10:57:47 UTC 2012


2012-05-22 14:31, Jim Klimov написал:
> 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.

Ok, I've tried it now on my home box (oi_151a) and the compilation
worked without a hitch.

# ./smartctl /dev/rdsk/c7t0d0 -dscsi -a
smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

User Capacity:        2,000,398,934,016 bytes [2.00 TB]
Logical block size:   512 bytes
Serial number:                    5YD217ZL
Device type:          disk
Local Time is:        Tue May 22 14:53:24 2012 MSK
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
SMART Health Status: OK

Current Drive Temperature:     41 C
Manufactured in week 00 of year 0000
Specified cycle count over device lifetime:  100
Accumulated start-stop cycles:  0

Error Counter logging not supported
No self-tests have been logged


Interestingly, for my rpool disk it wanted the slice device, oh well:

# ./smartctl /dev/rdsk/c4t1d0 -dscsi -a
smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl open device: /dev/rdsk/c4t1d0 failed: No such device

# ./smartctl /dev/rdsk/c4t1d0s0 -dscsi -a
smartctl 5.42 2011-10-20 r3458 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

User Capacity:        80,026,361,856 bytes [80.0 GB]
Logical block size:   512 bytes
Serial number:                    5LR557KB
Device type:          disk
Local Time is:        Tue May 22 14:55:42 2012 MSK
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
SMART Health Status: OK

Current Drive Temperature:     <not available>
Manufactured in week 00 of year 0000
Specified cycle count over device lifetime:  100
Accumulated start-stop cycles:  0

Error Counter logging not supported
No self-tests have been logged


As with other SMART things, the standard is optional and
not all vendors implement it the same way and/or fully
on all disk models. More nits on the smartmontools page
and even more - on that of its GUI sister-project :)

//Jim Klimov




More information about the OpenIndiana-discuss mailing list