Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] disabling smartd temperature change reporting on scsi drives



I am trying to work out how to disable smartd temperature change
reporting on a scsi drive.  I found this comment in the smartd manual

       -I ID  Ignore   device  Attribute  ID  when  tracking  changes  in  the

              Attribute values.  ID must be a decimal  integer  in  the  range

              from  1  to  255.   This  Directive modifies the behavior of the

              '-p', '-u', and '-t' tracking Directives and has no effect with-

              out one of them.

              This  is useful, for example, if one of the device Attributes is

              the disk temperature (usually Attribute 194 or 231). It's annoy-

              ing  to  get  reports  each  time the temperature changes.  This

              Directive may appear multiple times for a single device, if  you

              want to ignore multiple Attributes.



But because I am using scsi drives there is not ID.

       -A, --attributes

              Prints   only   the   vendor  specific  SMART  Attributes.

              .

              .

              For SCSI devices the "attributes" are obtained from the tempera-

              ture and start-stop cycle counter log pages. Certain vendor spe-

              cific  attributes  are  listed if recognised. The attributes are

              output in a relatively  free  format  (compared  with  ATA  disk

              attributes).


Which translates to

# sudo smartctl -A /dev/sda
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Current Drive Temperature:     24 C
Drive Trip Temperature:        68 C
Vendor (Seagate) cache information
  Blocks sent to initiator = 3238614677
  Blocks received from initiator = 1120652624
  Blocks read from cache and sent to initiator = 1042920685
  Number of read and write commands whose size <= segment size = 162363213
  Number of read and write commands whose size > segment size = 156095
Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 12134.02
  number of minutes until next internal SMART test = 62

Anyone have any ideas how to do this.

Edward


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links