]> code.delx.au - monosys/commitdiff
smartd.conf: -d removable
authorJames Bunton <jamesbunton@delx.net.au>
Tue, 12 Mar 2019 11:45:27 +0000 (22:45 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Tue, 12 Mar 2019 11:45:27 +0000 (22:45 +1100)
Don't complain if a scanned device is unplugged

etc/smartd.conf

index 804424f0f783475f4fbbaf7b205ea39a4aebd2e2..aef7dc484b77887dd74ddad254489eeffecbd538 100644 (file)
@@ -1,13 +1 @@
-# /etc/smartd.conf
-# See the manual for smartd.conf
-# 1) Scan for all devices (DEVICESCAN)
-# 2) Check the SMART health status (-H)
-# 3) Report increases in SMART error logs (-l)
-# 4) Check for failure of any Usage Attributes (-f)
-# 5) Run an Offline Immediate Test every six hours (O/../.././(00|06|12|18))
-# 6) Run a Short Self-Test every day at 0100 (S/../.././01)
-# 7) Run a Long Self-Test every Saturday at 0300 (L/../../6/03)
-# 8) Report any output by running scripts in /etc/smartmontools/run.d
-
-DEVICESCAN -H -l error -l selftest -f -s (O/../.././(00|06|12|18)|S/../.././01|L/../../6/03) -m root
-
+DEVICESCAN -d removable -H -l error -l selftest -f -s (O/../.././(00|06|12|18)|S/../.././01|L/../../6/03) -m root