smartctl werte OK?

Hast Du Probleme mit Hardware, die durch die anderen Foren nicht abgedeckt werden? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Colttt
Beiträge: 2989
Registriert: 16.10.2008 23:25:34
Wohnort: Brandenburg
Kontaktdaten:

smartctl werte OK?

Beitrag von Colttt » 29.04.2024 12:23:35

Hallöchen,

ich bin irgendwie zu doof das zu deuten und für mich sieht das erstmal alles gut soweit aus, daher frage ich mich warum ich den exit-code 4 bekomme:

Code: Alles auswählen

smartctl -a /dev/sda; echo $?
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-18-amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Dell Certified Intel S4x00/D3-S4x10 Series SSDs
Device Model:     SSDSC2KB480G7R
Serial Number:    PHYS7310027M480BGN
LU WWN Device Id: 5 5cd2e4 14e1ddd18
Add. Product Id:  DELL(tm)
Firmware Version: SCV1DL53
User Capacity:    480,103,981,056 bytes [480 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic, zeroed
Device is:        In smartctl database 7.3/5610
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Apr 29 12:20:29 2024 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:  (0x02) Offline data collection activity
                                        was completed without error.
                                        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:                (    2) seconds.
Offline data collection
capabilities:                    (0x79) SMART execute Offline immediate.
                                        No Auto Offline data collection support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        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:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  60) minutes.
Conveyance self-test routine
recommended polling time:        (  60) 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
  1 Raw_Read_Error_Rate     0x000e   130   130   039    Old_age   Always       -       4294967295
  5 Reallocated_Sector_Ct   0x0033   100   100   001    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       54902
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       16
 13 Read_Soft_Error_Rate    0x001e   083   073   000    Old_age   Always       -       281474976710655
170 Available_Reservd_Space 0x0033   100   100   010    Pre-fail  Always       -       0
174 Unsafe_Shutdown_Count   0x0032   100   100   000    Old_age   Always       -       12
179 Used_Rsvd_Blk_Cnt_Tot   0x0033   100   100   010    Pre-fail  Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0032   100   100   000    Old_age   Always       -       6857
181 Program_Fail_Cnt_Total  0x003a   100   100   000    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x003a   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       25
195 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
201 Power_Loss_Cap_Test     0x0033   100   100   010    Pre-fail  Always       -       23 (359 5547)
202 End_of_Life             0x0027   100   100   000    Pre-fail  Always       -       0
225 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -       7528366
226 Workld_Media_Wear_Indic 0x0032   100   100   000    Old_age   Always       -       15155
227 Workld_Host_Reads_Perc  0x0032   100   100   000    Old_age   Always       -       13
228 Workload_Minutes        0x0032   100   100   000    Old_age   Always       -       3293992
232 Available_Reservd_Space 0x0033   100   100   010    Pre-fail  Always       -       0
233 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       7528366
234 Thermal_Throttle_Status 0x0032   100   100   000    Old_age   Always       -       0/0
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       7528366
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       1251587
245 Percent_Life_Remaining  0x0032   086   086   000    Old_age   Always       -       86

SMART Error Log not supported

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%     54641         -
# 2  Extended offline    Completed without error       00%     54641         -
# 3  Extended offline    Completed without error       00%     52309         -
# 4  Extended offline    Completed without error       00%     52308         -
# 5  Short offline       Completed without error       00%     43440         -
# 6  Short offline       Completed without error       00%     43440         -
# 7  Extended offline    Completed without error       00%     43438         -
# 8  Short offline       Completed without error       00%       833         -
# 9  Extended offline    Aborted by host               00%       833         -
#10  Extended offline    Completed without error       00%         1         -
#11  Short offline       Aborted by host               00%         1         -
#12  Short offline       Completed without error       00%         1         -
#13  Vendor (0x40)       Aborted by host               00%         1         -

Read SMART Selective Self-test Log failed: scsi error aborted command

4

schonmal danke vorab für die Hilfe!
Debian-Nutzer :D

ZABBIX Certified Specialist

Benutzeravatar
heisenberg
Beiträge: 3602
Registriert: 04.06.2015 01:17:27
Lizenz eigener Beiträge: MIT Lizenz

Re: smartctl werte OK?

Beitrag von heisenberg » 29.04.2024 12:38:12

Das hier sind alles schon mal gute Werte:

Code: Alles auswählen

  5 Reallocated_Sector_Ct   0x0033   100   100   001    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       16
179 Used_Rsvd_Blk_Cnt_Tot   0x0033   100   100   010    Pre-fail  Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0032   100   100   000    Old_age   Always       -       6857
181 Program_Fail_Cnt_Total  0x003a   100   100   000    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x003a   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   000    Old_age   Always       -       0
195 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
202 End_of_Life             0x0027   100   100   000    Pre-fail  Always       -       0
Das hier sind normale Verbrauchsindikatoren - auch in Ordnung:

Code: Alles auswählen

  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       54902
245 Percent_Life_Remaining  0x0032   086   086   000    Old_age   Always       -       86
Das hier ist aufgrund des Thresholds (000 / 039) auch unkritisch, kann man aber nochmal googeln.

Code: Alles auswählen

  1 Raw_Read_Error_Rate     0x000e   130   130   039    Old_age   Always       -       4294967295
 13 Read_Soft_Error_Rate    0x001e   083   073   000    Old_age   Always       -       281474976710655
226 Workld_Media_Wear_Indic 0x0032   100   100   000    Old_age   Always       -       15155

Benutzeravatar
MSfree
Beiträge: 10838
Registriert: 25.09.2007 19:59:30

Re: smartctl werte OK?

Beitrag von MSfree » 29.04.2024 13:26:29

Colttt hat geschrieben: ↑ zum Beitrag ↑
29.04.2024 12:23:35
daher frage ich mich warum ich den exit-code 4 bekomme:
Siehe: https://linux.die.net/man/8/smartctl
undn dort nach Return Values suchen.
Bit 2:

Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).
Konkret:

Code: Alles auswählen

...
SMART Error Log not supported
...
Bei dem SMART-Befehl, das Log auszugeben, gab es einen Fehler.

Colttt
Beiträge: 2989
Registriert: 16.10.2008 23:25:34
Wohnort: Brandenburg
Kontaktdaten:

Re: smartctl werte OK?

Beitrag von Colttt » 29.04.2024 14:12:20

@MSfree: aber ich bekomme doch ein Return-Value von 4 und nicht von 2
Bit 4:
We found prefail Attributes <= threshold.
@heisenberg: also alles gut? warum meckert er dann?
Debian-Nutzer :D

ZABBIX Certified Specialist

Benutzeravatar
MSfree
Beiträge: 10838
Registriert: 25.09.2007 19:59:30

Re: smartctl werte OK?

Beitrag von MSfree » 29.04.2024 14:25:24

Colttt hat geschrieben: ↑ zum Beitrag ↑
29.04.2024 14:12:20
@MSfree: aber ich bekomme doch ein Return-Value von 4 und nicht von 2
Das nullte Bit steht für 2 hoch 0 (=1), das erste Bit steht für 2 hoch 1 (=2), das zweite Bit steht für 2 hoch 2 (=4)...

Benutzeravatar
heisenberg
Beiträge: 3602
Registriert: 04.06.2015 01:17:27
Lizenz eigener Beiträge: MIT Lizenz

Re: smartctl werte OK?

Beitrag von heisenberg » 29.04.2024 14:28:10

Colttt hat geschrieben: ↑ zum Beitrag ↑
29.04.2024 14:12:20
@heisenberg: also alles gut? warum meckert er dann?
Das hat doch MSfree geschrieben: Er kann das Smartlog nicht auslesen, weil ...

Code: Alles auswählen

...
SMART Error Log not supported
...

Antworten