[Eisfair] SMART (smartcl 7.2 20201290 r5155)

Marcus Röckrath marcus.roeckrath at gmx.de
Sa Feb 26 08:43:16 CET 2022


Hallo Nils,

Nils Lange wrote:

> /dev/sda -d ata \
>           -o on -d removable -n sleep -H -I 194 \
>           -t -f -l error -l selftest -s (S/../.././02|L/../../6/03) \
>           -m root at localhost -M exec /var/install/bin/smartmon-mail \
>           -M test
> /dev/sdb -d ata \
>           -o on -d removable -n sleep -H -I 194 \
>           -t -f -l error -l selftest -s (S/../.././02|L/../../6/03) \
>           -m root at localhost -M exec /var/install/bin/smartmon-mail \
>           -M test
> /dev/sdc -d ata \
>           -o on -d removable -n sleep -H -I 194 \
>           -t -f -l error -l selftest -s (S/../.././02|L/../../6/03) \
>           -m root at localhost -M exec /var/install/bin/smartmon-mail \
>           -M test
> /dev/sdd -d ata \
>           -o on -d removable -n sleep -H -I 194 \
>           -t -f -l error -l selftest -s (S/../.././02|L/../../6/03) \
>           -m root at localhost -M exec /var/install/bin/smartmon-mail \
>           -M test
> 
> sdb ist die problematische Platte! Hatte vorher fälschlicherweise die
> sdd als problematisch bezeichnet. Die Konfiguration kommt vom Smartmon.
> 
> Was bedeutet der Selftest? Wie kann ich den aktivieren?

Der automatische Test wird von smartmon ajtiviert und zwar durch die
Kommandozeilenoption

selftest -s (S/../.././02|L/../../6/03)

Jeden Tag short um 2.xx Uhr, einmal die Woche log 3.xx Uhr.

In der messages findest du z. B. folgende Zeile:

Feb 26 02:21:54 eis smartd[6884]: Device: /dev/sda, starting scheduled Short
Self-Test. 
Feb 26 02:21:54 eis smartd[6884]: Device: /dev/sdb, starting scheduled Short
Self-Test. 
Feb 26 03:21:54 eis smartd[6884]: Device: /dev/sda, starting scheduled Long
Self-Test. 
Feb 26 03:21:54 eis smartd[6884]: Device: /dev/sdb, starting scheduled Long
Self-Test. 

Manuell startet man einen Test mit

smartctl -l short <device>

bzw.

smartctl -l long <device>

smartctl -a <device> zeigt am Ende des Outputs die Liste der letzten
Selftests.

Der Zeitstempel kann hier von Power-On-Zeitattribut abweichen, da es auch um
Überlaufe handeln kann, von dann wieder bei Zeit 0 begonnen wird.

Nach einem Selftest muss aber die erste Zeile der Selftest-Liste einen
höheren Zeitstempel aufweisen.

-- 
Gruß Marcus
[eisfair-Team]


Mehr Informationen über die Mailingliste Eisfair