staging.inyokaproject.org

Für diese Funktion musst du eingeloggt sein.

SDD Festplattenstatus mit smartctl ermitteln

Status: Ungelöst | Ubuntu-Version: Kubuntu 21.10 (Impish Indri)
Antworten |

wired2051

Avatar von wired2051

Anmeldungsdatum:
28. Februar 2007

Beiträge: 2717

Ich hoffe, ich bin hier richtig...

Mein Kubuntu hatte sich gerade aufgehangen (Neustart mit Magic SysRq ging) und da der PC von 2014 ist habe ich smartctl gestartet:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
sudo smartctl -a /dev/sda
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-210-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     Samsung SSD 840 EVO 250GB
Serial Number:    S1DBNSAF880609X
LU WWN Device Id: 5 002538 8a061abcd
Firmware Version: EXT0BB6Q
User Capacity:    250.059.350.016 bytes [250 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Apr 28 17:32:35 2022 CEST
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:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
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:                ( 4800) seconds.                                                                                                                    
Offline data collection                                                                                                                                             
capabilities:                    (0x53) SMART execute Offline immediate.                                                                                            
                                        Auto Offline data collection on/off support.                                                                                
                                        Suspend Offline collection upon new                                                                                         
                                        command.                                                                                                                    
                                        No 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.                                                                                                    
                                        General Purpose Logging supported.                                                                                          
Short self-test routine                                                                                                                                             
recommended polling time:        (   2) minutes.                                                                                                                    
Extended self-test routine                                                                                                                                          
recommended polling time:        (  80) minutes.                                                                                                                    
SCT capabilities:              (0x003d) SCT Status supported.                                                                                                       
                                        SCT Error Recovery Control supported.                                                                                       
                                        SCT Feature Control supported.                                                                                              
                                        SCT Data Table supported.                                                                                                   

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       22139
 12 Power_Cycle_Count       0x0032   094   094   000    Old_age   Always       -       5325
177 Wear_Leveling_Count     0x0013   088   088   000    Pre-fail  Always       -       142
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   073   055   000    Old_age   Always       -       27
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       137
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       57575001665

SMART Error Log Version: 1
No Errors Logged

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%         1         -
# 2  Extended offline    Aborted by host               00%         2         -

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.

Im Wiki steht, dass das Unterschreiten der Grenzwerte ein Gefahrenzeichen darstellt, nicht das Überschreiten. Sehe ich das also richtig, dass noch alles im Grünen Bereich ist, weil Value und Worst noch über Thresh liegen? Ich bin mir unsicher, denn 010 und 000 sind ja kaum zu unterschreiten...

Der ausführliche Test dauert noch ca. 1h.

Ich könnte die Backup-Häufigkeit von 1x/Stunde auf z. B. 6x/Stunde erhöhen oder belastet das die Platte übermässig?

hakel2022

Anmeldungsdatum:
21. Februar 2022

Beiträge: 1402

Neustart mit Magic SysRq ging

Dann solltest du etwas in den Logs finden. Der PC ist ja nicht komplett abgestürzt.

In Smart sehe ich nichts "Böses".

gerade aufgehangen

Wobei?

Bild war noch da ?

virtuelle Konsole ?

Erfolgte beim Neustart ein fsck ?

wired2051

(Themenstarter)
Avatar von wired2051

Anmeldungsdatum:
28. Februar 2007

Beiträge: 2717

hakel2022 schrieb:

Neustart mit Magic SysRq ging

Dann solltest du etwas in den Logs finden. Der PC ist ja nicht komplett abgestürzt.

Danke für den Hinweis. Wo, welche Logs?

hakel2022 schrieb:

In Smart sehe ich nichts "Böses".

Beruhigend, Danke. 👍

hakel2022 schrieb:

gerade aufgehangen

Wobei? Bild war noch da ? virtuelle Konsole ? Erfolgte beim Neustart ein fsck ?

Bild war da aber nix ging, auch nicht <Strg><Alt><F1>. Ja, die Platten wurden überprüft aber kein Ergebnis angezeigt.

Edit:

Seit über einer Stunde kriege ich nach sudo smartctl -c /dev/sda | grep -A 1 "execution status" die Meldung:

Self-test execution status:      ( 241) Self-test routine in progress...
                                        10% of test remaining.

Wie kann ich den ausführlichen Test abbrechen? Prozess smartd beenden?

umbhaki Team-Icon

Supporter
Avatar von umbhaki

Anmeldungsdatum:
30. Mai 2010

Beiträge: 2458

Wie kann ich den ausführlichen Test abbrechen? Prozess smartd beenden?

Das müsste „eigentlich“ gehen mit Strg + C (für „cancel“)

Oder mit Strg + Q (für „quit“)

wired2051

(Themenstarter)
Avatar von wired2051

Anmeldungsdatum:
28. Februar 2007

Beiträge: 2717

Der Test läuft im Hintergrund. Ich sehe den normalen Prompt.

umbhaki Team-Icon

Supporter
Avatar von umbhaki

Anmeldungsdatum:
30. Mai 2010

Beiträge: 2458

Gerade gefunden (https://www.thomas-krenn.com/de/wiki/Analyse_einer_fehlerhaften_Festplatte_mit_smartctl):

Use smartctl -X to abort test

In deinem Fall also vermutlich

sudo smartctl -X 

wired2051

(Themenstarter)
Avatar von wired2051

Anmeldungsdatum:
28. Februar 2007

Beiträge: 2717

umbhaki schrieb:

Gerade gefunden (https://www.thomas-krenn.com/de/wiki/Analyse_einer_fehlerhaften_Festplatte_mit_smartctl):

Use smartctl -X to abort test

Hat sich gerade erledigt, denn mit ca. 2h Verspätung kam die Meldung:

Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 

Die Ausgabe von sudo smartctl -a /dev/sda (das soll das Testergebnis sein) hat sich aber nicht verändert:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-210-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     Samsung SSD 840 EVO 250GB
Serial Number:    S1DBNSAF880609X
LU WWN Device Id: 5 002538 8a061abcd
Firmware Version: EXT0BB6Q
User Capacity:    250.059.350.016 bytes [250 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Apr 28 22:22:41 2022 CEST
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:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
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:                ( 4800) seconds.
Offline data collection
capabilities:                    (0x53) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        No 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.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  80) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       22144
 12 Power_Cycle_Count       0x0032   094   094   000    Old_age   Always       -       5325
177 Wear_Leveling_Count     0x0013   088   088   000    Pre-fail  Always       -       142
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   073   055   000    Old_age   Always       -       27
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       137
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       57583882585

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%        11         -
# 2  Short offline       Completed without error       00%         1         -
# 3  Extended offline    Aborted by host               00%         2         -

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.

Aber offenbar kann ich ja berhuigt sein! Danke an alle. 👍

hakel2022

Anmeldungsdatum:
21. Februar 2022

Beiträge: 1402

Eine Platte kann immer blubb machen ohne Vorwarnung. Das Wear Leveling zeigt ja, daß da gehobelt wird.

Egal, wenn man regelmäßig Backup macht. 👍

Beobachte lieber mal die Logs, ob sich da etwas bewegt.

wired2051

(Themenstarter)
Avatar von wired2051

Anmeldungsdatum:
28. Februar 2007

Beiträge: 2717

hakel2022 schrieb:

Eine Platte kann immer blubb machen ohne Vorwarnung. Das Wear Leveling zeigt ja, daß da gehobelt wird.

Diese Wortmeldung interpretier ich so, dass meine SSD noch 88% ihrer spezifizierten Lebensdauer hat. Falsch?

hakel2022 schrieb:

Beobachte lieber mal die Logs, ob sich da etwas bewegt.

Welche Logs soll ich kontrollieren und worauf achten?

Antworten |