From a919e00a9b2d138bedb4d5c6ba322ba44512a97d Mon Sep 17 00:00:00 2001 From: bwaegeneire Date: Thu, 2 Sep 2021 17:12:39 +0200 Subject: [PATCH] Ajout section ignorer disque par smartd --- HowtoSmart.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/HowtoSmart.md b/HowtoSmart.md index 06b3a594..69e7390a 100644 --- a/HowtoSmart.md +++ b/HowtoSmart.md @@ -370,6 +370,17 @@ Puis on peut personnaliser l'adresse email de réception des alertes via `/etc/s DEVICESCAN -d removable -n standby -m monitoring@example.com -M exec /usr/share/smartmontools/smartd-runner ~~~ +### Ignorer un disque + +Pour faire ignorer un disque à smartd il faut rajouter dans `/etc/smartd.conf` avant la directive `DEVICESCAN` une ligne commencant avec le periphérique, suivi par des options pouvant spécifier encore plus quel periphérique on souhaite désactiver et se terminant par `-d ignore +`. Par exemple : + +``` +/dev/bus/0 -d megaraid,1 -d ignore +``` + +Ici on désactive le second disque connecté au controleur RAID /dev/bus/0. + ## FAQ Voir