Re: Smart and the -i flag?

Christian Franke <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[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


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
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.