From: Bruce Allen <ballen@gr...> - 2002-10-26 12:47:15
> > My question concerns syntax. I was thinking about having something
> > like this in /etc/smartd.conf
> > /dev/hda -p -n 194 -n 231
> > -p would mean "only watch prefailure attributes"
> > -n would mean "no report on changes of the following attribute"
> If you use that syntax to ignore a dozen attributes then it'll be a very long
> May be best to have something similar to that but also to combine the
> parameters from multiple entries for the same device, so the above could
> /dev/hda -p
> /dev/hda -n 194
> /dev/hda -n 231
This will be hard for me to parse. But I could allow the use of line
continuation characters so you'd have:
/dev/hda -p \
-n 194 \
-n 231 \
and so on...
Do you think this would be OK?
About the options for smartd.conf, I am thinking
-c # report smart status fail
-v # report prefail attributes <= threshold
-a # report all attributes <= threshold
-L # report ATA self-test errors logged in past hour (2 x checktime)
-l # report ATA errors logged in past hour (2 x checktime)
-t # report changes in attributes
-n int # ignore attribute int for -t option
-N int # ignore attribute int for -v and -a options
Please give this some thought also.
Get latest updates about Open Source Projects, Conferences and News.