Re: Smart and the -i flag?

Joan <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <CAP4s+CENX8DKwc4TMYkby5czSC-NRRqJai2kabAkU26hf4L-tA@mail.gmail.com>
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 [email protected] -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 [email protected] -s (S/../.././02|L/../../6/04)
/dev/sdb -H -d ata -m [email protected] -s (S/../.././03|L/../../7/04)
/dev/sdc -H -d ata -m [email protected] -s (S/../.././02|L/../../6/04)
/dev/sdd -H -d sat -T permissive -m [email protected] -s
(S/../.././03|L/../../7/04)
/dev/sde -H -d ata -m [email protected] -s (S/../.././02|L/../../6/04)
/dev/sdf -H -d ata -m [email protected] -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 <[email protected]>:

> 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
>
>

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.