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

Re: how to let smartmontool / smartd ignore specific hard disk?



	Hi.

On Mon, May 31, 2021 at 12:04:20PM +0800, Robbi Nespu wrote:
> Could you spot what I missed and guide me? Thanks in advance

Your smartd.conf has this:

> DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
...
> /dev/sdb -d ignore

smartd.conf(5), on the other hand, specify that:

  ignore  -  the device specified by this configuration entry should be
ignored.  This allows to ignore specific devices which are detected by a
following DEVICESCAN configuration line.

I.e you should probably specify DEVICESCAN and -d in other order, i.e.

> /dev/sdb -d ignore
> DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner

Reco


Reply to: