The current line in my smartd.conf is this (it has been like this since the begin)
> /dev/sda -i 167 -H -d ata -m user@example.com -s (S/../.././02|L/../../6/04)

The following warning/error was logged by the smartd daemon:
> Device: /dev/sda [SAT], Failed SMART usage Attribute: 167 Unknown_Attribute.

Also sent via mail:
> The following warning/error was logged by the smartd daemon:
> Device: /dev/sda [SAT], Failed SMART usage Attribute: 167 Unknown_Attribute.

It seems to me that it's ignoring the flag, but I don't see how to proceed.

The whole config (sdd is a remoable external usb)
$ cat /etc/smartd.conf  | egrep -v "(^$|^#)"
/dev/sda -i 167 -H -d ata -m user@example.com -s (S/../.././02|L/../../6/04)
/dev/sdb -H -d ata -m user@example.com -s (S/../.././03|L/../../7/04)
/dev/sdc -H -d ata -m user@example.com -s (S/../.././02|L/../../6/04)
/dev/sdd -H -d sat -T permissive -m user@example.com -s (S/../.././03|L/../../7/04)
/dev/sde -H -d ata -m user@example.com -s (S/../.././02|L/../../6/04)
/dev/sdf -H -d ata -m user@example.com -s (S/../.././03|L/../../7/04)
DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner


2014-05-24 21:14 GMT+02:00 Christian Franke <Christian.Franke@t-online.de>:
Joan wrote:
Good morning, I'm trying to ignore an attribute that is triggering errors in a sata disc (precisely a Transcend TS8GHSD310 that issues an error for attribute 167)

On the smartd.conf manual I can read
       -i ID  [ATA only] Ignore device  Attribute  number  ID  when  checking  for  failure  of  Usage
              Attributes. ...


But according to the init script -i seems to be used for interval checking
    #/etc/init.d/smartd
    if test -n "$SMARTD_CHECK_INTERVAL" -a "$SMARTD_CHECK_INTERVAL" != 1800 ; then
       smartd_opts=" -i $SMARTD_CHECK_INTERVAL"
    fi


Please note the difference between smartd command line options (man smartd) and smartd.conf directives (man smartd.conf).



I am using smartd 5.41+svn3365-1 from debian squeeze, but the same manual is active for 6.2+svn3841-1.2 (on debian testing)
So my question is, what is the proper way to avoid triggering error for a faulty attribute?


Add "-i ID" to smartd.conf configuration line of this specific device.

Thanks,
Christian