S.M.A.R.T. Werte auslesen und interpretieren

Aus Laub-Home Wiki

Tool der Wahl: http://sourceforge.net/projects/smartmontools/
Die Spalte VALUE enthält den aktuellen Wert, die Spalte WORST den bisher schlechtesten aufgetretenen Wert und THRESH die vom Hersteller vorgegebene Schwelle. Fällt der aktuelle Wert auf den Wert der Schwelle oder darunter, so gilt das entsprechende Attribut als schadhaft und löst einen Eintrag in der Spalte WHEN_FAILED aus.


Hilfe anzeigen

smartctl -h




Nach Geräten scannen

smartctl --scan


Ausgabe:

/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d ata # /dev/sdb, ATA device
/dev/csmi0,0 -d ata # /dev/csmi0,0, ATA device
/dev/csmi0,1 -d ata # /dev/csmi0,1, ATA device
/dev/csmi0,2 -d ata # /dev/csmi0,2, ATA device
/dev/csmi0,3 -d ata # /dev/csmi0,3, ATA device


Anmerkung:
Sofern Geräte im RAID verwendet werden, werden nur das RAID Volume als /dev/sd* angezeigt - will man auf die einzelnen Member zugreifen, muss dies über /dev/csmi* erfolgen!




Geräte-Health Check

smartctl.exe -H /dev/csmi0,2


Kein Fehler aufgetreten:

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


Fehler aufgetreten:

SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  3 Spin_Up_Time            0x0023   070   020   035    Pre-fail  Always   In_the_past 9288




Geräte-Info anzeigen

Physikalisches Gerät:

smartctl.exe -i /dev/sdb


Ausgabe:

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint F4 EG (AF)
Device Model:     SAMSUNG HD204UI
Serial Number:    S2H7J9JB715512
LU WWN Device Id: 5 0024e9 205c54825
Firmware Version: 1AQ10001
User Capacity:    2.000.398.934.016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Sun Nov 25 11:53:55 2012 MZ


RAID Volume:

smartctl.exe -i /dev/sda


Ausgabe:

Vendor:               Intel
Product:              Raid 1 Volume
Revision:             1.0.
User Capacity:        1.000.202.043.392 bytes [1,00 TB]
Logical block size:   512 bytes
Logical Unit id:      0x5f463c9200000000001517ffff0aeb84
Device type:          disk
Local Time is:        Sun Nov 25 11:55:02 2012 MZ
Device does not support SMART


RAID Volume Member:

smartctl.exe -i /dev/csmi0,0


Ausgabe:

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Black
Device Model:     WDC WD1001FAES-75W7A0
Serial Number:    WD-WCATR1761235
LU WWN Device Id: 5 0014ee 2af540ab8
Firmware Version: 05.01D05
User Capacity:    1.000.204.886.016 bytes [1,00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Sun Nov 25 11:56:01 2012 MZ
SMART support is: Available - device has SMART capability.
SMART support is: Enabled




Geräte-Attribute auslesen

smartctl.exe -A /dev/csmi0,0


Ausgabe:

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint F4 EG (AF)
Device Model:     SAMSUNG HD204UI
Serial Number:    S2H7J9JB715512
LU WWN Device Id: 5 0024e9 205c54825
Firmware Version: 1AQ10001
User Capacity:    2.000.398.934.016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Sun Nov 25 12:01:49 2012 MZ

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
See vendor-specific Attribute list for marginal Attributes.

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:                (20520) 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.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 342) minutes.
SCT capabilities:              (0x003f) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

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
  1 Raw_Read_Error_Rate     0x002f   100   100   051    Pre-fail  Always       -       1
  2 Throughput_Performance  0x0026   055   055   000    Old_age   Always       -       18837
  3 Spin_Up_Time            0x0023   070   020   025    Pre-fail  Always   In_the_past 9288
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       216
  5 Reallocated_Sector_Ct   0x0033   252   252   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   252   252   051    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0024   252   252   015    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       338
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   252   252   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       120
181 Program_Fail_Cnt_Total  0x0022   099   099   000    Old_age   Always       -       21949987
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       932
192 Power-Off_Retract_Count 0x0022   252   252   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0002   064   063   000    Old_age   Always       -       24 (Min/Max 14/38)
195 Hardware_ECC_Recovered  0x003a   100   100   000    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   252   252   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   252   252   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   252   252   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0036   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x002a   100   100   000    Old_age   Always       -       49
223 Load_Retry_Count        0x0032   252   252   000    Old_age   Always       -       0
225 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       233

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%       330         -
# 2  Extended offline    Completed without error       00%       329         -
# 3  Short offline       Completed without error       00%       323         -
# 4  Short offline       Completed without error       00%       323         -
# 5  Short offline       Completed without error       00%       310         -
# 6  Short offline       Completed: handling damage??  90%       303         0
1 of 1 failed self-tests are outdated by newer successful extended offline self-test # 2

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Completed [00% left] (0-65535)
    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.