Am I interpreting my SMART results correctly ?

dorifutoboi

Dabbler
Joined
Aug 6, 2018
Messages
10
Happy New Year ! I purchased new hard drives and while waiting for them to arrive, I decided to learn how to check hard drive health so that I can check the new hard drives before dedicating them to a new pool. To do this, I tested a drive I previously had in an existing pool but replaced due to FreeNAS reporting that it was causing the pool it was in to be degraded (I forgot what the exact FreeNAS message was but it told me this drive was degrading the pool).

I ran following tests:
Code:
smartctl -t short /dev/ada0
smartctl -t conveyance /dev/ada0
smartctl -t long /dev/ada0

and then this (it finished running with 0 / 0 / 0 errors):
Code:
root@freenas:~ # badblocks -b 4096 -vws /dev/ada0
Checking for bad blocks in read-write mode
From block 0 to 1465130645
Testing with pattern 0xaa: set_o_direct: Inappropriate ioctl for device
done
Reading and comparing: done
Testing with pattern 0x55: done
Reading and comparing: done
Testing with pattern 0xff: done
Reading and comparing: done
Testing with pattern 0x00: done
Reading and comparing: done

and then smartctl -t long /dev/ada0 again followed by this:
Code:
root@freenas:~ # smartctl -A /dev/ada0smartctl 7.2 2020-12-30 r5155 [FreeBSD 12.2-RELEASE-p6 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
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   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   197   197   021    Pre-fail  Always       -       9150
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       369
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   064   064   000    Old_age   Always       -       26970
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       68
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       31
193 Load_Cycle_Count        0x0032   198   198   000    Old_age   Always       -       8656
194 Temperature_Celsius     0x0022   118   107   000    Old_age   Always       -       34
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   199   000    Old_age   Always       -       1252
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

  1. Looking at the SMART results, there are no bad sectors that have been reallocated. It looks like a healthy drive based only on the SMART results. Would you all agree or am I missing something ? I am new to all of this so there is a high probability that I am misunderstanding something. I guess it doesn't help that I don't remember the exact message FreeNAS gave when telling me this drive was degrading the pool.
  2. Also, do you guys know why the VALUE of ID 11 and 198 are at 100 when the WORST are at 253 ? 100 is worse than 253 so if the VALUE is 100, the WORST should also be 100 no ?
  3. Do you guys know why the VALUE of ID 11 and 198 are at 100 and not at 253 when the RAW VALUE is 0 ? If there has been no counts, why would the score drop from 253 down to 100 ?
  4. TrueNAS-12.0-U4.1 (and even FreeNAS before I did the update) is reporting Device: /dev/ada0, failed to read SMART Attribute Data.. Do you guys know why it is reporting that even though smartctl -A /dev/ada0 shows the SMART Attribute Data just fine ?
Really appreciate your time !
-David
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
It looks like a healthy drive based only on the SMART results.
No.

199 UDMA_CRC_Error_Count 0x0032 200 199 000 Old_age Always - 1252
That means you're having some kind of problem between the drive and the SATA controller... maybe a cable.

  1. Also, do you guys know why the VALUE of ID 11 and 198 are at 100 when the WORST are at 253 ? 100 is worse than 253 so if the VALUE is 100, the WORST should also be 100 no ?
  2. Do you guys know why the VALUE of ID 11 and 198 are at 100 and not at 253 when the RAW VALUE is 0 ? If there has been no counts, why would the score drop from 253 down to 100 ?
Those are the inbuilt thresholds for triggering warnings, not the values your drive has experienced.

TrueNAS-12.0-U4.1 (and even FreeNAS before I did the update) is reporting Device: /dev/ada0, failed to read SMART Attribute Data.. Do you guys know why it is reporting that even though smartctl -A /dev/ada0 shows the SMART Attribute Data just fine ?
Possibly related to the CRC errors and having trouble communicating with the drive... sort that out.

Look at your cabling to that disk.
 

dorifutoboi

Dabbler
Joined
Aug 6, 2018
Messages
10
Thanks for your reply. Is this only because of the CRC error that you talked about or is there something else that indicates the disk is unhealthy ?

Is the process to diagnose the CRC error to replace the SATA cable, rerun SMART/badblocks/SMART and see if the CRC error count increased beyond 1252 ? If it stays at 1252, then it is no longer an issue correct ?
 

dorifutoboi

Dabbler
Joined
Aug 6, 2018
Messages
10
I purchased an LSI 9207-8i (not sure if genuine) and plugged this hard drive up to it. I then reran SMART short, conveyance, long, then badblocks, then SMART long again and got the following results. The SMART long test passed and the UMDA CRC Error count stayed the same. Because it stayed the same, I'm going to assume this drive is not unhealthy. Would you guys agree ?

Code:
root@freenas:~ # smartctl -a /dev/da0
smartctl 7.2 2020-12-30 r5155 [FreeBSD 12.2-RELEASE-p6 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD60EFRX-68L0BN1
Serial Number:    WD-WX41D47RH9YN
LU WWN Device Id: 5 0014ee 20ef3e0e4
Firmware Version: 82.00A82
User Capacity:    6,001,175,126,016 bytes [6.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5700 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Jan 28 18:01:49 2022 JST
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:                ( 5744) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off 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:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 711) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x303d) 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   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   197   197   021    Pre-fail  Always       -       9150
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       370
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   063   063   000    Old_age   Always       -       27315
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       69
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       31
193 Load_Cycle_Count        0x0032   198   198   000    Old_age   Always       -       8662
194 Temperature_Celsius     0x0022   117   107   000    Old_age   Always       -       35
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   199   000    Old_age   Always       -       1252
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

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%     27279         -
# 2  Extended offline    Completed without error       00%     27138         -
# 3  Conveyance offline  Completed without error       00%     27125         -
# 4  Short offline       Completed without error       00%     27125         -
# 5  Extended offline    Completed without error       00%     26969         -
# 6  Extended offline    Completed without error       00%     26845         -
# 7  Conveyance offline  Completed without error       00%     26832         -
# 8  Short offline       Completed without error       00%     26832         -
# 9  Short offline       Completed without error       00%     26832         -

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.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
The values are stored on the drive, so switching controllers won't erase them.

If the number remains the same, you're probably all good.
 
Top