Smart issues with sas drives.

pr1malr8ge

Dabbler
Joined
Dec 10, 2017
Messages
14
All,

I'm running around in circles with Smart issues on some new to me Sas HGST 10tb Helium drives. I've been discussing the issue over at Serve the home at this link

So here is all that has happened.
Currently my setup is a ESXi with truenas-core in a VM with a supermicro s3008l-l8e HBA passed through to truenas-core.

running smartclt -a on the 10tb sas drives outputs little when compared to my 3tb sata drives. all on the same expander and hba
I'm more talking about the Vendor Specific SMART Attributes with Thresholds: where off line uncorrectables and other things are shown. On the servethehome forums
one person whom has basically the same exact drive but in sata format gets helium levels outputs.
The very bottom of this post will show the sata version of this 10tb drive output from a different persons computer.
I guess I'm confused as to why I the sas drives wont output like the sata drives. is it something I'm doing or my machine or a inherent on sas drives?

I've also looked at sg_logs -a /dev/da2 but not much more is given, along with no helium level report.

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

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              HUH721010AL42C0
Revision:             A3Z4
Compliance:           SPC-4
User Capacity:        10,000,831,348,736 bytes [10.0 TB]
Logical block size:   4096 bytes
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca26a9c4c54
Serial number:        2TJSYR3D
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon Apr 18 17:34:04 2022 CDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Grown defects during certification <not available>
Total blocks reassigned during format <not available>
Total new blocks reassigned <not available>
Power on minutes since format <not available>
Current Drive Temperature:     33 C
Drive Trip Temperature:        85 C

Accumulated power on time, hours:minutes 28471:11
Manufactured in week 12 of year 2018
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  16
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1201
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 5560368210378752

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        3         0         3    3654189      42666.751           0
write:         0        0         0         0     605101     145638.498           0
verify:        0        0         0         0      47085          0.000           0

Non-medium error count:        0

Self-test execution status:             99% of test remaining
SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background long   Self test in progress ...   -     NOW                 - [-   -    -]
# 2  Background short  Completed                   -   28470                 - [-   -    -]
# 3  Background long   Aborted (by user command)   -   28417                 - [-   -    -]
# 4  Background long   Self test in progress ...   -     NOW                 - [-   -    -]
# 5  Background short  Completed                   -   28250                 - [-   -    -]

Long (extended) Self-test duration: 65535 seconds [1092.2 minutes]


Code:
root@aeronas:~ # sg_logs -a /dev/da2
    HGST      HUH721010AL42C0   A3Z4

Supported log pages  [0x0]:
    0x00        Supported log pages [sp]
    0x02        Write error [we]
    0x03        Read error [re]
    0x05        Verify error [ve]
    0x06        Non medium [nm]
    0x08        Format status [fs]
    0x0d        Temperature [temp]
    0x0e        Start-stop cycle counter [sscc]
    0x0f        Application client [ac]
    0x10        Self test results [str]
    0x15        Background scan results [bsr]
    0x18        Protocol specific port [psp]
    0x19        General Statistics and Performance [gsp]
    0x1a        Power condition transitions [pct]
    0x2f        Informational exceptions [ie]
    0x30        Performance counters (Hitachi) [pc_hi]
    0x37        Cache (seagate) [c_se]

Write error counter page  [0x2]
  Errors corrected without substantial delay = 0
  Errors corrected with possible delays = 0
  Total rewrites or rereads = 0
  Total errors corrected = 0
  Total times correction algorithm processed = 605104
  Total bytes processed = 145638498430976 [145 TB]
  Total uncorrected errors = 0

Read error counter page  [0x3]
  Errors corrected without substantial delay = 0
  Errors corrected with possible delays = 3
  Total rewrites or rereads = 0
  Total errors corrected = 3
  Total times correction algorithm processed = 3654189
  Total bytes processed = 42666751246336 [42 TB]
  Total uncorrected errors = 0

Verify error counter page  [0x5]
  Errors corrected without substantial delay = 0
  Errors corrected with possible delays = 0
  Total rewrites or rereads = 0
  Total errors corrected = 0
  Total times correction algorithm processed = 47085
  Total bytes processed = 303104
  Total uncorrected errors = 0

Non-medium error page  [0x6]
  Non-medium error count = 0

Format status page  [0x8]
  Format data out: <not available>
  Grown defects during certification <not available>
  Total blocks reassigned during format <not available>
  Total new blocks reassigned <not available>
  Power on minutes since format <not available>

Temperature page  [0xd]
  Current temperature = 33 C
  Reference temperature = 85 C

Start-stop cycle counter page  [0xe]
  Date of manufacture, year: 2018, week: 12
  Accounting date, year: 2018, week: 12
  Specified cycle count over device lifetime = 50000
  Accumulated start-stop cycles = 16
  Specified load-unload count over device lifetime = 600000
  Accumulated load-unload cycles = 1201

Application client page  [0xf]
 00     0f 00 40 00 00 00 03 fc  00 00 00 00 00 00 00 00
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 20     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 30     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 .....  [truncated after 64 of 16388 bytes (use '-H' to see the rest)]

Self-test results page  [0x10]
  Parameter code = 1, accumulated power-on hours = 0
    self-test code: background extended [2]
    self-test result: self test in progress [15]
  Parameter code = 2, accumulated power-on hours = 28470
    self-test code: background short [1]
    self-test result: completed without error [0]
  Parameter code = 3, accumulated power-on hours = 28417
    self-test code: background extended [2]
    self-test result: aborted by SEND DIAGNOSTIC [1]
  Parameter code = 4, accumulated power-on hours = 0
    self-test code: background extended [2]
    self-test result: self test in progress [15]
  Parameter code = 5, accumulated power-on hours = 28250
    self-test code: background short [1]
    self-test result: completed without error [0]

Background scan results page  [0x15]
  Status parameters:
    Accumulated power on minutes: 1708281 [h:m  28471:21]
    Status: background scan enabled, none active (waiting for BMS interval timer to expire)
    Number of background scans performed: 169
    Background medium scan progress: 0.00 %
    Number of background medium scans performed: 169

Protocol Specific port page for SAS SSP  (sas-2) [0x18]
relative target port id = 1
  generation code = 2
  number of phys = 1
  phy identifier = 0
    attached SAS device type: expander device
    attached reason: SMP phy control function
    reason: unknown
    negotiated logical link rate: 12 Gbps
    attached initiator port: ssp=0 stp=0 smp=0
    attached target port: ssp=0 stp=0 smp=1
    SAS address = 0x5000cca26a9c4c55
    attached SAS address = 0x500304801eec03bf
    attached phy identifier = 0
    Invalid DWORD count = 0
    Running disparity error count = 0
    Loss of DWORD synchronization count = 0
    Phy reset problem count = 0
    Phy event descriptors:
     Invalid word count: 0
     Running disparity error count: 0
     Loss of dword synchronization count: 0
     Phy reset problem count: 0
relative target port id = 2
  generation code = 2
  number of phys = 1
  phy identifier = 1
    attached SAS device type: no device attached
    attached reason: unknown
    reason: power on
    negotiated logical link rate: phy enabled; unknown rate
    attached initiator port: ssp=0 stp=0 smp=0
    attached target port: ssp=0 stp=0 smp=0
    SAS address = 0x5000cca26a9c4c56
    attached SAS address = 0x0
    attached phy identifier = 0
    Invalid DWORD count = 0
    Running disparity error count = 0
    Loss of DWORD synchronization count = 0
    Phy reset problem count = 0
    Phy event descriptors:
     Invalid word count: 0
     Running disparity error count: 0
     Loss of dword synchronization count: 0
     Phy reset problem count: 0

General Statistics and Performance  [0x19]
Statistics and performance log parameter
  number of read commands = 542418953
  number of write commands = 331423772
  number of logical blocks received = 35556274031
  number of logical blocks transmitted = 10416687316
  read command processing intervals = 0
  write command processing intervals = 0
  weighted number of read commands plus write commands = 0
  weighted read command processing plus write command processing = 0
Idle time log parameter
  idle time intervals = 1909181729
Time interval log parameter for general stats
  time interval negative exponent = 2
  time interval integer = 5

Power condition transitions page  [0x1a]
  Accumulated transitions to active = 36343
  Accumulated transitions to idle_a = 36344
  Accumulated transitions to idle_b = 0
  Accumulated transitions to idle_c = 0
  Accumulated transitions to standby_z = 0
  Accumulated transitions to standby_y = 0

Informational Exceptions page  [0x2f]
  IE asc = 0x0, ascq = 0x0
    Current temperature = 33 C
    Threshold temperature = 85 C  [common extension]
  parameter code = 0x1, contents in hex:
 00     00 01 03 03 64 64 19

HGST/WDC performance counters page [0x30]
  Zero Seeks = 13408
  Seeks >= 2/3 = 23104
  Seeks >= 1/3 and < 2/3 = 29458
  Seeks >= 1/6 and < 1/3 = 46298
  Seeks >= 1/12 and < 1/6 = 47242
  Seeks > 0 and < 1/12 = 25610
  Overrun Counter = 1
  Underrun Counter = 45338
  Device Cache Full Read Hits = 9220
  Device Cache Partial Read Hits = 285890
  Device Cache Write Hits = 406573
  Device Cache Fast Writes = 468544
  Device Cache Read Misses = 3146415

HGST/WDC miscellaneous page [0x37, 0x0]
  Power on hours = 28471
  Total Bytes Read = 42666751246336
  Total Bytes Written = 145638498430976
  Max Drive Temp (Celsius) = 35
  GList Size = 0
  Number of Information Exceptions = 0
  MED EXC = 0
  HDW EXC = 0
  Total Read Commands = 542418953
  Total Write Commands = 331423772
  Flash Correction Count = 0




Refrence the 3tb hgst sata output

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

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi/HGST Ultrastar 7K4000
Device Model:     Hitachi HUS724030ALE641
Serial Number:    P8G8KPWR
LU WWN Device Id: 5 000cca 22cc3e56f
Firmware Version: MJ8OA5F0
User Capacity:    3,000,592,982,016 bytes [3.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Apr 18 17:36:01 2022 CDT
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:  (0x84) Offline data collection activity
                                        was suspended by an interrupting command from host.
                                        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:                (   24) 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:        (   1) minutes.
Extended self-test routine
recommended polling time:        (   1) 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: 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     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   136   136   054    Pre-fail  Offline      -       80
  3 Spin_Up_Time            0x0007   119   119   024    Pre-fail  Always       -       521 (Average 522)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       23
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   121   121   020    Pre-fail  Offline      -       34
  9 Power_On_Hours          0x0012   099   099   000    Old_age   Always       -       10744
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       23
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       314
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       314
194 Temperature_Celsius     0x0002   181   181   000    Old_age   Always       -       33 (Min/Max 15/38)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       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  Short offline       Completed without error       00%     10584         -
# 2  Extended offline    Completed without error       00%     10498         -
# 3  Short offline       Completed without error       00%     10418         -
# 4  Short offline       Completed without error       00%     10178         -
# 5  Extended offline    Completed without error       00%     10091         -
# 6  Short offline       Completed without error       00%     10023         -
# 7  Short offline       Completed without error       00%     10013         -
# 8  Short offline       Completed without error       00%      9846         -
# 9  Extended offline    Completed without error       00%      9758         -
#10  Short offline       Completed without error       00%      9678         -
#11  Short offline       Completed without error       00%      9510         -
#12  Extended offline    Completed without error       00%      9422         -
#13  Short offline       Completed without error       00%      9342         -
#14  Short offline       Completed without error       00%      9176         -
#15  Extended offline    Completed without error       00%      9088         -
#16  Short offline       Completed without error       00%      9043         -
#17  Short offline       Completed without error       00%      9010         -
#18  Short offline       Completed without error       00%      8770         -
#19  Extended offline    Completed without error       00%      8682         -
#20  Short offline       Completed without error       00%      8602         -
#21  Short offline       Completed without error       00%      8434         -

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.



10tb hgst sata helium from some-one else
Code:
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   132   132   054    Pre-fail  Offline      -       103
  3 Spin_Up_Time            0x0007   154   154   024    Pre-fail  Always       -       446 (Average 408)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       15
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   128   128   020    Pre-fail  Offline      -       18
  9 Power_On_Hours          0x0012   099   099   000    Old_age   Always       -       12798
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       15
 22 Helium_Level            0x0023   100   100   025    Pre-fail  Always       -       100
192 Power-Off_Retract_Count 0x0032   088   088   000    Old_age   Always       -       14493
193 Load_Cycle_Count        0x0012   088   088   000    Old_age   Always       -       14493
194 Temperature_Celsius     0x0002   136   136   000    Old_age   Always       -       44 (Min/Max 19/53)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
It looks like your 10TB drive is currently undergoing a SMART test. I don't believe that it should make a difference, but what happens if you run smartctl -a /dev/da2 after the long test completes?
 

pr1malr8ge

Dabbler
Joined
Dec 10, 2017
Messages
14
It looks like your 10TB drive is currently undergoing a SMART test. I don't believe that it should make a difference, but what happens if you run smartctl -a /dev/da2 after the long test completes?
I just started those tests. All 6 drive reported the same lacking results before the tests were started.
 

Magius

Explorer
Joined
Sep 29, 2016
Messages
70
As Johnnie said, what you're seeing is normal for SAS drives. It's counterintuitive but SAS drives do not support "SMART". SMART is part of the ATA (and thus SATA) standard, and a version of it was also brought into the NVME standard. But SCSI (and thus SAS) drives do not have have anything similar to "SMART attributes" in their protocol standard. Instead they use a combination of Sense reporting through Key Code Qualifiers (KCQs) and a variety of mode pages and log pages to report information about the drives.
The reason I say this is counterintuitive is because tools like smartctl can still query SAS drives and return useful health and status information from those pages, they're just not using the SMART protocol to do it. They don't make that clear to users, in fact they report things like "SMART Health Status: OK" to make the output look more familiar for people used to working with SATA. I don't blame them for it, but it can lead to this kind of confusion where people expect SCSI/SAS drives to report "SMART" information.
As for what to look for in the SAS output, the grown defect list is similar to the Reallocated Sectors SMART attribute, and you also want to keep an eye on the uncorrected errors in the error log. If any of those four items start to creep upwards from 0, you should consider replacing the disk. Corrected errors are no big deal, you'll eventually see thousands of those. Hope this helps!
 
Top