Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #235719

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

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: how to let smartmontool / smartd ignore specific hard disk?
Date 2021-05-31 07:30 +0200
Message-ID <CkIEV-7m8-1@gated-at.bofh.it> (permalink)
References <CkHpw-6Cc-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to let smartmontool / smartd ignore specific hard disk? Robbi Nespu <robbinespu@gmail.com> - 2021-05-31 06:10 +0200
  Re: how to let smartmontool / smartd ignore specific hard disk? Reco <recoverym4n@enotuniq.net> - 2021-05-31 07:30 +0200
    Re: how to let smartmontool / smartd ignore specific hard disk? Robbi Nespu <robbinespu@gmail.com> - 2021-06-01 15:50 +0200

csiph-web