[OpenIndiana-discuss] Hard Drive Temp

Jim Klimov jimklimov at cos.ru
Tue May 22 10:16:55 UTC 2012


2012-05-22 13:05, andre at ak47.co.za написал:
> On 22.05.2012 10:48, Jim Klimov wrote:
>
> 2012-05-22 12:07,andre at ak47.co.za  <mailto:andre at ak47.co.za>wrote:
>
> Hi Does anybody know of an app that can be used to check hard drive temps?
>
> smartmontools can do that, I've recently checksed - it is
> not hard to compile in OpenSolaris (though I checked that
> on an older release). It is not (yet) provided in illumos,
> but I've made a bug to track the compile options and so on,
> in case I or anybody else before me, comes to integrate the
> package :)
>
> https://www.illumos.org/issues/2723
>
> I installed smartmontool this morning, but I can not get it to work. It does not recognize the OI devices:
>
> Searching for disks...done
>
>
> AVAILABLE DISK SELECTIONS:
>               0. c7d0<ST1500DL-                  5YD1WA9-0001-1.36TB>
>                     /pci at 0,0/pci-ide at 11/ide at 0/cmdk at 0,0
>               1. c7d1<Unknown-Unknown-0001 cyl 9722 alt 2 hd 255 sec 63>
>                     /pci at 0,0/pci-ide at 11/ide at 0/cmdk at 1,0
>               2. c9d1<SAMSUNG-S1XWJD5ZC0062-0001-1.36TB>
>                     /pci at 0,0/pci-ide at 11/ide at 1/cmdk at 1,0
>               3. c10d0<SAMSUNG-S1XWJD5ZC0062-0001-1.36TB>
>                     /pci at 0,0/pci-ide at 14,1/ide at 0/cmdk at 0,0
>               4. c10d1<ST315003-                  9VS2L54-0001-1.36TB>
>                     /pci at 0,0/pci-ide at 14,1/ide at 0/cmdk at 1,0
>
> 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

Well, from the "cmdk" device paths and "cXdY" disk names it
seems that the disks are used in IDE mode (as ATA connection
in smartmontools also confirms). I believe disks of this size
are "bound to be" SATA or SAS, if you change the BIOS modes
accordingly. There may be a problem when changing the rpool
from IDE to SATA and back, but it is one with known solutions.
I believe using native SATA mode can have benefits absent in
IDE and/or hampered by translation like command queuing and
higher IO speeds.

I am not sure if the IDE-SATA translation in the motherboard
does/should pass all commands, like the optional SMART ones,
as well.

Also you may have to play around with smartctl -d option to
pick a disk access mode (i.e. "-d scsi" is often needed for
my SATA disks); perhaps you'd find a mode which works in
your current setup.


HTH,
//Jim Klimov



More information about the OpenIndiana-discuss mailing list