Discussion:
smartctl Interpretationshilfe
(zu alt für eine Antwort)
Andre Bischof
2007-01-07 13:10:07 UTC
Permalink
Hallo zusammen,

smartctl fängt an für meine hdc Fehler zu melden (s.u.), wenn ich das
richtig sehe lief die gut 432 Tage ohne Probleme, jetzt (Tag 489 am
04.01.2007) wird's langsam mehr, die letzten beiden Fehler auch am
gleichen Tag (Fehler 4 und 5).

Bei den Prefail-Attributen scheinen mir alle über dem Schwellenwert zu
liegen.

Auf hdc liegen /var und /opt, die sollte ich dann wohl mal auf 'ne neue
Platte kopieren, oder? Am besten von einer boot-cd, damit keine
Schreibzugriffe erfolgen?

Oder interpretiere ich hier vorschnell bzw. falsch? Sollte ich weiter
Tests machen? Wenn ja, welche?

Danke schonmal
Andre



=== START OF INFORMATION SECTION ===
Model Family: Maxtor DiamondMax Plus 9 family
Device Model: Maxtor 6Y120L0
Serial Number: Y3398MBE
Firmware Version: YAR41BW0
User Capacity: 122.942.324.736 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 0
Local Time is: Sun Jan 7 13:34:02 2007 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection:
Enabled.
Self-test execution status: ( 0) The previous self-test routine
completed
without error or no self-test
has ever
been run.
Total time to complete Offline
data collection: ( 242) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection
on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 54) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
3 Spin_Up_Time 0x0027 204 203 063 Pre-fail
Always - 11949
4 Start_Stop_Count 0x0032 253 253 000 Old_age
Always - 109
5 Reallocated_Sector_Ct 0x0033 253 253 063 Pre-fail
Always - 0
6 Read_Channel_Margin 0x0001 253 253 100 Pre-fail
Offline - 0
7 Seek_Error_Rate 0x000a 253 252 000 Old_age
Always - 0
8 Seek_Time_Performance 0x0027 252 243 187 Pre-fail
Always - 41911
9 Power_On_Minutes 0x0032 217 217 000 Old_age
Always - 593h+47m
10 Spin_Retry_Count 0x002b 253 252 157 Pre-fail
Always - 0
11 Calibration_Retry_Count 0x002b 253 252 223 Pre-fail
Always - 0
12 Power_Cycle_Count 0x0032 253 253 000 Old_age
Always - 147
192 Power-Off_Retract_Count 0x0032 253 253 000 Old_age Always
- 0
193 Load_Cycle_Count 0x0032 253 253 000 Old_age Always
- 0
194 Temperature_Celsius 0x0032 253 253 000 Old_age Always
- 36
195 Hardware_ECC_Recovered 0x000a 253 252 000 Old_age Always
- 20103
196 Reallocated_Event_Count 0x0008 253 253 000 Old_age
Offline - 0
197 Current_Pending_Sector 0x0008 253 253 000 Old_age
Offline - 0
198 Offline_Uncorrectable 0x0008 253 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0008 199 199 000 Old_age
Offline - 0
200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age Always
- 0
201 Soft_Read_Error_Rate 0x000a 253 248 000 Old_age Always
- 62
202 TA_Increase_Count 0x000a 253 252 000 Old_age Always
- 0
203 Run_Out_Cancel 0x000b 253 252 180 Pre-fail Always
- 4
204 Shock_Count_Write_Opern 0x000a 253 252 000 Old_age Always
- 0
205 Shock_Rate_Write_Opern 0x000a 253 252 000 Old_age Always
- 0
207 Spin_High_Current 0x002a 253 252 000 Old_age Always
- 0
208 Spin_Buzz 0x002a 253 252 000 Old_age Always
- 0
209 Offline_Seek_Performnce 0x0024 195 190 000 Old_age
Offline - 0
99 Unknown_Attribute 0x0004 253 253 000 Old_age
Offline - 0
100 Unknown_Attribute 0x0004 253 253 000 Old_age
Offline - 0
101 Unknown_Attribute 0x0004 253 253 000 Old_age
Offline - 0

SMART Error Log Version: 1
ATA Error Count: 5
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 5 occurred at disk power-on lifetime: 11745 hours (489 days + 9 hours)
When the command that caused the error occurred, the device was in an
unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 05 d0 43 dd e1 Error: UNC 5 sectors at LBA = 0x01dd43d0 = 31278032

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 d0 43 dd e1 08 41d+16:26:38.688 READ DMA
c8 00 08 58 7b 88 e1 08 41d+16:26:38.672 READ DMA
c8 00 08 60 17 4f e1 08 41d+16:26:38.656 READ DMA
c8 00 08 e0 14 4e e1 08 41d+16:26:38.656 READ DMA
c8 00 08 28 68 82 e1 08 41d+16:26:38.656 READ DMA

Error 4 occurred at disk power-on lifetime: 11745 hours (489 days + 9 hours)
When the command that caused the error occurred, the device was in an
unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 0e d0 43 dd e1 Error: UNC 14 sectors at LBA = 0x01dd43d0 =
31278032

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 10 d0 43 dd e1 08 41d+16:26:37.200 READ DMA
c8 00 10 38 49 dd e1 08 41d+16:26:37.200 READ DMA
c8 00 10 28 49 dd e1 08 41d+16:26:37.200 READ DMA
c8 00 08 50 7b d6 e1 08 41d+16:26:37.184 READ DMA
c8 00 10 e8 48 dd e1 08 41d+16:26:37.184 READ DMA

Error 3 occurred at disk power-on lifetime: 11067 hours (461 days + 3 hours)
When the command that caused the error occurred, the device was in an
unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 3b 60 1e 2e e1 Error: UNC 59 sectors at LBA = 0x012e1e60 =
19799648

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 00 60 1e 2e e1 08 8d+18:47:36.944 READ DMA
c8 00 00 60 1d 2e e1 08 8d+18:47:36.720 READ DMA
c8 00 00 60 1c 2e e1 08 8d+18:47:36.624 READ DMA
c8 00 00 60 1b 2e e1 08 8d+18:47:36.624 READ DMA
c8 00 00 60 1a 2e e1 08 8d+18:47:36.624 READ DMA

Error 2 occurred at disk power-on lifetime: 10501 hours (437 days + 13
hours)
When the command that caused the error occurred, the device was in an
unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 61 e0 1c 2e e1 Error: UNC 97 sectors at LBA = 0x012e1ce0 =
19799264

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 00 e0 1c 2e e1 08 2d+09:20:19.552 READ DMA
c8 00 00 e0 1b 2e e1 08 2d+09:20:19.552 READ DMA
c8 00 00 e0 1a 2e e1 08 2d+09:20:19.536 READ DMA
c8 00 00 e0 19 2e e1 08 2d+09:20:19.536 READ DMA
c8 00 00 e0 18 2e e1 08 2d+09:20:19.536 READ DMA

Error 1 occurred at disk power-on lifetime: 10391 hours (432 days + 23
hours)
When the command that caused the error occurred, the device was in an
unknown state.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 90 66 7e e1 Error: UNC 8 sectors at LBA = 0x017e6690 = 25061008

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 10 90 66 7e e1 08 41d+14:08:02.096 READ DMA
c8 00 10 80 66 7e e1 08 41d+14:08:02.080 READ DMA
c8 00 10 50 66 7e e1 08 41d+14:08:02.080 READ DMA
c8 00 10 40 66 7e e1 08 41d+14:08:02.080 READ DMA
c8 00 10 70 b1 76 e1 08 41d+14:08:02.080 READ DMA

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

***@linux:~# smartctl -t /dev/hdc
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=======> INVALID ARGUMENT TO -t: /dev/hdc
=======> VALID ARGUMENTS ARE: offline, short, long, conveyance,
select,M-N, pending,N, afterselect,on, afterselect,off <=======

Use smartctl -h to get a usage summary

***@linux:~#
--
Personal weblog and more: http://bischof.homelinux.net

Stilblüten aus Schreiben von Versicherungsnehmern:
Der Kraftsachverständige war völlig ungehalten, als er auf mein
Vorderteil blickte.
--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-***@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an ***@lists.debian.org (engl)
Florian Tham
2007-01-07 16:10:12 UTC
Permalink
Hallo Andre,
Post by Andre Bischof
Hallo zusammen,
smartctl fängt an für meine hdc Fehler zu melden (s.u.), wenn ich das
richtig sehe lief die gut 432 Tage ohne Probleme, jetzt (Tag 489 am
04.01.2007) wird's langsam mehr, die letzten beiden Fehler auch am
gleichen Tag (Fehler 4 und 5).
Zu den Fehlern kann ich nichts sagen.
Post by Andre Bischof
Bei den Prefail-Attributen scheinen mir alle über dem Schwellenwert zu
liegen.
So soll es auch sein. Erst wenn die Schwellenwerte unterschritten
werden, musst du mit Problemen rechnen.

Die Werte in der smart attributes data structure sind soweit ok.
Post by Andre Bischof
Auf hdc liegen /var und /opt, die sollte ich dann wohl mal auf 'ne neue
Platte kopieren, oder? Am besten von einer boot-cd, damit keine
Schreibzugriffe erfolgen?
Oder interpretiere ich hier vorschnell bzw. falsch? Sollte ich weiter
Tests machen? Wenn ja, welche?
Am einfachsten wäre es, den smartd so zu konfigurieren, dass er die
selftests regelmäßig selbst ausführt und dir bei Problemen eine Mail
schickt.

Auf der Platte schienen bisher eh noch keine Tests gelaufen zu sein;
mach das mal mit z.B. 'smartctl -t short /dev/hdc'. Das Ergebnis siehst
du mit 'smartctl -l selftest /dev/hdc'.
Post by Andre Bischof
Danke schonmal
Andre
Hoffe, das hilft dir weiter.

Gruß,

f
--
Gravity is a myth, the Earth sucks.
--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-***@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an ***@lists.debian.org (engl)
Andre Bischof
2007-01-07 18:00:08 UTC
Permalink
Hallo Florian,

Florian Tham wrote:
...
Post by Florian Tham
Post by Andre Bischof
smartctl fängt an für meine hdc Fehler zu melden (s.u.), wenn ich das
richtig sehe lief die gut 432 Tage ohne Probleme, jetzt (Tag 489 am
04.01.2007) wird's langsam mehr, die letzten beiden Fehler auch am
gleichen Tag (Fehler 4 und 5).
Zu den Fehlern kann ich nichts sagen.
Schade, mir sagen die nämlich auch nichts.
Post by Florian Tham
Post by Andre Bischof
Bei den Prefail-Attributen scheinen mir alle über dem Schwellenwert zu
liegen.
So soll es auch sein. Erst wenn die Schwellenwerte unterschritten
werden, musst du mit Problemen rechnen.
Argh, dann ist ja gut ;-)
Post by Florian Tham
Die Werte in der smart attributes data structure sind soweit ok.
Post by Andre Bischof
Auf hdc liegen /var und /opt, die sollte ich dann wohl mal auf 'ne neue
Platte kopieren, oder? Am besten von einer boot-cd, damit keine
Schreibzugriffe erfolgen?
Oder interpretiere ich hier vorschnell bzw. falsch? Sollte ich weiter
Tests machen? Wenn ja, welche?
Am einfachsten wäre es, den smartd so zu konfigurieren, dass er die
selftests regelmäßig selbst ausführt und dir bei Problemen eine Mail
schickt.
Hm, smartd läuft, ich kriege tägliche Auswertungen über logwatch. Direkt
von smartd wäre natürlich noch besser. Logwatch sagt täglich sowas wie:

--------------------- Smartd Begin ------------------------


/dev/hda :
Usage: Temperature_Celsius (194) changed to
130, 136, 139, 136, 139, 136, 130, 127, 130, 127, 130, 127,
Usage: Unknown_Attribute (190) changed to
130, 136, 139, 136, 139, 136, 130, 127, 130, 127, 130, 127,

/dev/hdc :
Prefailure: Seek_Time_Performance (8) changed to
252, 251, 252, 251, 252, 251, 252,

/dev/hdd :
Prefailure: Seek_Time_Performance (8) changed to
247, 249, 248, 250, 252, 251, 252,

---------------------- Smartd End -------------------------

Kriege ich über smartd mehr Informationen oder nur zeitnäher? Ich muss
mir wohl http://smartmontools.sourceforge.net/ mal genauer angucken.
Oder hast du andere Tipps für mich, welche Optionen ich am besten wie setze?
Post by Florian Tham
Auf der Platte schienen bisher eh noch keine Tests gelaufen zu sein;
mach das mal mit z.B. 'smartctl -t short /dev/hdc'. Das Ergebnis siehst
du mit 'smartctl -l selftest /dev/hdc'.
***@linux:~# smartctl -t short /dev/hdc
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in
off-line mode".
Drive command "Execute SMART Short self-test routine immediately in
off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Sun Jan 7 18:38:41 2007

Use smartctl -X to abort test.
***@linux:~# smartctl -l selftest /dev/hdc
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 11825
-

***@linux:~#

Das sieht ja schonmal gut aus. Darf ich jetzt beruhigt sein? Oder sollte
ich ausführlichere Tests machen? Muss ich die Platte dafür unmounten?
Post by Florian Tham
Post by Andre Bischof
Danke schonmal
Andre
Hoffe, das hilft dir weiter.
Ja sehr, vielen Dank dafür!

Andre
--
Personal weblog and more: http://bischof.homelinux.net

"Das Schwein trägt seinen Namen nicht umsonst" - Stilblüten aus
Kinderaufsätzen: (Geschichte)

Die Periode der Königin Elisabeth dauerte 30 Jahre.
--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-***@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an ***@lists.debian.org (engl)
Loading...