[Eisfair_dev] E1 smartmon 1.6.3

Thomas Zweifel t2fel at gmx.net
Sa Okt 14 15:16:59 CEST 2017


Hallo Marcus

Am 14.10.2017 um 11:37 schrieb Marcus Roeckrath:
>> Mich würde interessieren, bei welchem SMART-Attribut das auftritt.
>>
>> Machst Du mal ein
>>
>> smartctl -A <device>

Das betrifft die Sektion darunter:

eis 2.7.12 # smartctl --all /dev/sdb
...
=== START OF INFORMATION SECTION ===
...
=== START OF READ SMART DATA SECTION ===
...
SMART Attributes Data Structure revision number: 16
...
  9 Power_On_Hours  0x0032 090 090 000  Old_age   Always - 7341
...
SMART Error Log Version: 1
ATA Error Count: 703 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 703 occurred at disk power-on lifetime: 7319 hours (304 days + 23
hours)
  When the command that caused the error occurred, the device was active
or idle
...
SMART Self-test log structure revision number 1
...
SMART Selective self-test log data structure revision number 1
...

Das passt zeitlich zu der Infomail.


>> und postest auch die gesamte Mail.

This email was generated by the smartd daemon running on:

   host name: eis
  DNS domain: irgend.wo
  NIS domain: (none)

The following warning/error was logged by the smartd daemon:

Device: /dev/sdb, ATA error count increased from 667 to 670

For details see host's SYSLOG (default: /var/log/messages).

You can also use the smartctl utility for further investigation.
No additional email messages about this problem will be sent.
-------------------------------------------------------
The following partitions are affected:
Device /dev/sdb is part of following software-raid(s)
 - /dev/md6 mounted on
 - /dev/md5 mounted on
 - /dev/md9 mounted on
 - /dev/md8 mounted on
 - /dev/md7 mounted on
 - /dev/md3 mounted on /
 - /dev/md2 mounted on
 - /dev/md1 mounted on /boot
-------------------------------------------------------

The EIS/FAIR S.M.A.R.T. Daemon



> Mir ist auch nach mehrfacher Durchsicht schleierhaft, was da schief läuft;
> möglicherweise liegt auch ein Bug in den smartmontools vor, die in
> bestimmten Fällen misformatierte Umgebungsvariablen erzeugen.
> 
> Du könntest auch mal in /var/install/bin/smartmon-mail folgendes direkt
> hinter der Zeile
> 
>   echo "The EIS/FAIR S.M.A.R.T. Daemon"
> 
> einfügen:
> 
> echo "failtype:${SMARTD_FAILTYPE}:end_of failtype"
> 
> Das ist die von smartmontools erzeugte Umgebungsvariable, die ich im
> Verdacht hätte, dass sie unter gewissen Umständen Dinge enthält, die falsch
> interpretiert werden.

Hab ich eingefügt.

TEST EMAIL from smartd for device: /dev/sdb
...
The EIS/FAIR S.M.A.R.T. Daemon
failtype:EmailTest:end_of failtype




Gruss Thomas


Mehr Informationen über die Mailingliste Eisfair_dev