[Update: Seller Complaints Accumulating] HGST Ultrastar He10 - 10TB @ $129.95

heromode

Active Member
May 25, 2020
139
83
28
Pro-tip: just get a genuine LSI SAS9300-8i controller plus cables for both SAS and SATA, and you can focus on $/TB. Teaser image of my genuine controller + 8x SATA connectors, plus the SAS cable i'm waiting for from china:

(plus brand new Solarflare Flareon™ Ultra SFN7022F for 35€ from Polish Ebay dealer as additional teaser)
 

Attachments

  • Wow
Reactions: Samir

pr1malr8ge

Member
Nov 27, 2017
63
20
8
40
All, Having a bit of an issue maybe some-one can help me..

First, running smartctl -a on any of these drive in Truenas does not give me any output like it does with sata drive. Below is the results.
Second, when I first got the drives I shut down my truenas machine and pulled all of my existing drives so as I could run some general tests on the new drives. With that I ran a smart long test that I decided not to wait for to be done before I shut the system back down. I figured the tests would continue after they booted back up when I started to replace a drive at a time in one of my vdevs. After I got all the drives in and a week later the drives were still reporting the smart test in progress. I started a new long test but it appears it just cued that. So I went about aborting the test. How ever the abort will only stop one and nothing I can do will stop both long tests. Well, just looked at -x and it's showing the scan is progressing so I'll leave it till tomorrow to verrify the latest long test completed.

Ontop of all this, I was trying to figure out how to see the helium levels mentioned in the above test but nothing ever shows with the grep and just a standard -a /dev/daXXX shows just the below code.
smartctl -a /dev/da2/0x5000cca26a9c4c54/scsi-SATA_HGST_HUH721010AL_XXXXXXX | grep Helium

Code:
:~ # smartctl -a /dev/da2/0x5000cca26a9c4c54/scsi-SATA_HGST_HUH721010AL_XXXXX
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

/dev/da2/0x5000cca26a9c4c54/scsi-SATA_HGST_HUH721010AL_XXXXXX: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary




Third question, should I even consider upgrading the firmware on the drives since they are now in an active pool?

Code:
 # 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:        XXXXXXX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Apr 16 16:39:38 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:     32 C
Drive Trip Temperature:        85 C

Accumulated power on time, hours:minutes 28422:17
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:  1199
Elements in grown defect list: 0

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

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    3639628      42621.389           0
write:         0        0         0         0     598221     145566.083           0
verify:        0        0         0         0      47055          0.000           0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background long   Aborted (by user command)   -   28417                 - [-   -    -]
# 2  Background long   Self test in progress ...   -     NOW                 - [-   -    -]
# 3  Background short  Completed                   -   28250                 - [-   -    -]

Long (extended) Self-test duration: 65535 seconds [1092.2 minutes]
Code:
# smartctl -x /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:       XXXXX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Apr 16 16:48:02 2022 CDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled
Read Cache is:        Enabled
Writeback Cache is:   Disabled

=== 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:     32 C
Drive Trip Temperature:        85 C

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:  1199
Elements in grown defect list: 0

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

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    3639628      42621.389           0
write:         0        0         0         0     598258     145566.152           0
verify:        0        0         0         0      47055          0.000           0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background long   Aborted (by user command)   -   28417                 - [-   -    -]
# 2  Background long   Self test in progress ...   -     NOW                 - [-   -    -]
# 3  Background short  Completed                   -   28250                 - [-   -    -]

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

Background scan results log
  Status: scan is active
    Accumulated power on time, hours:minutes 28422:25 [1705345 minutes]
    Number of background scans performed: 168,  scan progress: 13.13%
    Number of background medium scans performed: 168

Protocol Specific port log page for SAS SSP
relative target port id = 1
  generation code = 2
  number of phys = 1
  phy identifier = 0
    attached device type: expander device
    attached reason: SMP phy control function
    reason: unknown
    negotiated logical link rate: phy enabled; 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 = 0
    Phy reset problem = 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 device type: no device attached
    attached reason: unknown
    reason: power on
    negotiated logical link rate: phy enabled; unknown
    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 = 0
    Phy reset problem = 0
    Phy event descriptors:
     Invalid word count: 0
     Running disparity error count: 0
     Loss of dword synchronization count: 0
     Phy reset problem count: 0
 
Last edited:
  • Like
Reactions: Samir

heromode

Active Member
May 25, 2020
139
83
28
Ontop of all this, I was trying to figure out how to see the helium levels mentioned in the above test but nothing ever shows with the grep and just a standard -a /dev/daXXX shows just the below code.
smartctl -a /dev/da2/0x5000cca26a9c4c54/scsi-SATA_HGST_HUH721010AL_XXXXXXX | grep Helium

Code:
:~ # smartctl -a /dev/da2/0x5000cca26a9c4c54/scsi-SATA_HGST_HUH721010AL_XXXXX
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

/dev/da2/0x5000cca26a9c4c54/scsi-SATA_HGST_HUH721010AL_XXXXXX: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary
Hi, i used the 'scsi-SATA_HGST_HUH721010AL_XXXXXXX' just as an example, each drive has a slightly different code. Find your drive in /dev/disk/by-id/ ( ls -la /dev/disk/by-id/ )

^^ edit sorry, you're on freebsd, but just find your drive wherever it is in BSD, every drive has a unique ending. Use grep with capital H in Helium.

or alternatively just run lsblk, and identify your drive there.

the helium level should show on any HUH* drive. It is under the 'Vendor Specific SMART Attributes with Thresholds:'
I admit i've never run it on a SAS drive, but should be there too by all logic.

oh yeah, u need to use capital H on helium.

Here is my Vendor Specific SMART Attributes with Thresholds output as reference:

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
 
Last edited:

heromode

Active Member
May 25, 2020
139
83
28
Real pro-tip--don't buy fakes from china and get a genuine used card and cables for truly trouble-free operation. ;)
I buy the cables from china, not the card. My LSI 3008 is from a professional german shop, i paid 150€ for it, and is absolutely genuine.

The chinese cables are great, and the correct price level. Western made cables are daylight robbery.

edit: my bad, the way i said it made it seem like i buy the LSI cards from China. Not so. Your pro-pro-tip was warranted due to my poorly formed sentence.
 
Last edited:

pr1malr8ge

Member
Nov 27, 2017
63
20
8
40
Hi, i used the 'scsi-SATA_HGST_HUH721010AL_XXXXXXX' just as an example, each drive has a slightly different code. Find your drive in /dev/disk/by-id/ ( ls -la /dev/disk/by-id/ )

^^ edit sorry, you're on freebsd, but just find your drive wherever it is in BSD, every drive has a unique ending. Use grep with capital H in Helium.

or alternatively just run lsblk, and identify your drive there.

the helium level should show on any HUH* drive. It is under the 'Vendor Specific SMART Attributes with Thresholds:'
I admit i've never run it on a SAS drive, but should be there too by all logic.

oh yeah, u need to use capital H on helium.

Here is my Vendor Specific SMART Attributes with Thresholds output as reference:

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
Nothing I do will make the sas disks show the vendor specific codes honestly I think it's a sas related logic and it just doesn't show that data?.

lsblk is not valid in bsd
ls -la /dev/da2/ using either serial number or logical unit id number does nothing.
Running the smrtcommand on my hgst 3tb stat drives on the same machine through the same hba and expander gives the vender specifc output
shown below.

Code:
smartctl -a /dev/da9

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       -       10738
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
 

pr1malr8ge

Member
Nov 27, 2017
63
20
8
40
I'm beginning to wonder if smartctl in truenas is borked. I've noticed an line of code in the -x that might be why..

Code:
Vendor (Seagate Cache) information
  Blocks sent to initiator = 5534258198216704
I'm wondering if for some reason smartclt is thinking the drives are seagates and that is why it will not report the data.
 
Last edited:

heromode

Active Member
May 25, 2020
139
83
28
I'm beginning to wonder if smartctl in truenas is borked. I've noticed an line of code in the -x that might be why..

Code:
Vendor (Seagate Cache) information
  Blocks sent to initiator = 5534258198216704
I'm wondering if for some reason smartclt is thinking the drives are seagates and that is why it will not report the data.
Yeah, this is very interesting. That Seagate reference is weird! We are running the same version: smartctl 7.2 2020-12-30 r5155

My full -x output for your reference:

Code:
# smartctl -x /dev/disk/by-id/scsi-SATA_HGST_HUH721010AL_2YK9XX7D
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.11.22-4-pve] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     HGST Ultrastar He10
Device Model:     HGST HUH721010ALE604
Serial Number:    2YK9XX7D
LU WWN Device Id: 5 000cca 273eeca61
Firmware Version: LHGNW384
User Capacity:    10,000,831,348,736 bytes [10.0 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:   ACS-2, ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Apr 18 20:09:50 2022 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Disabled
Rd look-ahead is: Enabled
Write cache is:   Enabled
DSN feature is:   Unavailable
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: Enabled

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

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        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:                (   93) 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:        (1116) 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          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     PO-R--   100   100   016    -    0
  2 Throughput_Performance  P-S---   132   132   054    -    103
  3 Spin_Up_Time            POS---   154   154   024    -    446 (Average 408)
  4 Start_Stop_Count        -O--C-   100   100   000    -    15
  5 Reallocated_Sector_Ct   PO--CK   100   100   005    -    0
  7 Seek_Error_Rate         PO-R--   100   100   067    -    0
  8 Seek_Time_Performance   P-S---   128   128   020    -    18
  9 Power_On_Hours          -O--C-   099   099   000    -    12801
10 Spin_Retry_Count        PO--C-   100   100   060    -    0
12 Power_Cycle_Count       -O--CK   100   100   000    -    15
22 Helium_Level            PO---K   100   100   025    -    100
192 Power-Off_Retract_Count -O--CK   088   088   000    -    14500
193 Load_Cycle_Count        -O--C-   088   088   000    -    14500
194 Temperature_Celsius     -O----   146   146   000    -    41 (Min/Max 19/53)
196 Reallocated_Event_Count -O--CK   100   100   000    -    0
197 Current_Pending_Sector  -O---K   100   100   000    -    0
198 Offline_Uncorrectable   ---R--   100   100   000    -    0
199 UDMA_CRC_Error_Count    -O-R--   200   200   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      1  Comprehensive SMART error log
0x03       GPL     R/O      1  Ext. Comprehensive SMART error log
0x04       GPL     R/O    256  Device Statistics log
0x04       SL      R/O    255  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x08       GPL     R/O      2  Power Conditions log
0x09           SL  R/W      1  Selective self-test log
0x0c       GPL     R/O   5501  Pending Defects log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x12       GPL     R/O      1  SATA NCQ Non-Data log
0x13       GPL     R/O      1  SATA NCQ Send and Receive log
0x15       GPL     R/W      1  Rebuild Assist log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x24       GPL     R/O    256  Current Device Internal Status Data log
0x25       GPL     R/O    256  Saved Device Internal Status Data log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (1 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%         1         -

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.

SCT Status Version:                  3
SCT Version (vendor specific):       256 (0x0100)
Device State:                        Active (0)
Current Temperature:                    41 Celsius
Power Cycle Min/Max Temperature:     26/48 Celsius
Lifetime    Min/Max Temperature:     19/53 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -40/70 Celsius
Temperature History Size (Index):    128 (47)

Index    Estimated Time   Temperature Celsius
  48    2022-04-18 18:02    44  *************************
  49    2022-04-18 18:03    44  *************************
  50    2022-04-18 18:04    44  *************************
  51    2022-04-18 18:05    43  ************************
...    ..( 11 skipped).    ..  ************************
  63    2022-04-18 18:17    43  ************************
  64    2022-04-18 18:18    42  ***********************
...    ..(  5 skipped).    ..  ***********************
  70    2022-04-18 18:24    42  ***********************
  71    2022-04-18 18:25    43  ************************
...    ..( 12 skipped).    ..  ************************
  84    2022-04-18 18:38    43  ************************
  85    2022-04-18 18:39    42  ***********************
...    ..( 10 skipped).    ..  ***********************
  96    2022-04-18 18:50    42  ***********************
  97    2022-04-18 18:51    41  **********************
  98    2022-04-18 18:52    41  **********************
  99    2022-04-18 18:53    41  **********************
100    2022-04-18 18:54    42  ***********************
...    ..(  6 skipped).    ..  ***********************
107    2022-04-18 19:01    42  ***********************
108    2022-04-18 19:02    43  ************************
109    2022-04-18 19:03    42  ***********************
...    ..(  9 skipped).    ..  ***********************
119    2022-04-18 19:13    42  ***********************
120    2022-04-18 19:14    41  **********************
...    ..( 10 skipped).    ..  **********************
   3    2022-04-18 19:25    41  **********************
   4    2022-04-18 19:26    42  ***********************
...    ..( 12 skipped).    ..  ***********************
  17    2022-04-18 19:39    42  ***********************
  18    2022-04-18 19:40    41  **********************
...    ..( 15 skipped).    ..  **********************
  34    2022-04-18 19:56    41  **********************
  35    2022-04-18 19:57    42  ***********************
...    ..( 10 skipped).    ..  ***********************
  46    2022-04-18 20:08    42  ***********************
  47    2022-04-18 20:09    44  *************************

SCT Error Recovery Control:
           Read: Disabled
          Write: Disabled

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 1) ==
0x01  0x008  4              15  ---  Lifetime Power-On Resets
0x01  0x010  4           12801  ---  Power-on Hours
0x01  0x018  6     43683494116  ---  Logical Sectors Written
0x01  0x020  6        38066357  ---  Number of Write Commands
0x01  0x028  6     34726701943  ---  Logical Sectors Read
0x01  0x030  6       148172713  ---  Number of Read Commands
0x01  0x038  6     46085700950  ---  Date and Time TimeStamp
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4            8124  ---  Spindle Motor Power-on Hours
0x03  0x010  4            8124  ---  Head Flying Hours
0x03  0x018  4           14500  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4         4309039  ---  Read Recovery Attempts
0x03  0x030  4               1  ---  Number of Mechanical Start Failures
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               0  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              41  ---  Current Temperature
0x05  0x010  1              42  N--  Average Short Term Temperature
0x05  0x018  1              41  N--  Average Long Term Temperature
0x05  0x020  1              53  ---  Highest Temperature
0x05  0x028  1              19  ---  Lowest Temperature
0x05  0x030  1              52  N--  Highest Average Short Term Temperature
0x05  0x038  1              25  N--  Lowest Average Short Term Temperature
0x05  0x040  1              47  N--  Highest Average Long Term Temperature
0x05  0x048  1              25  N--  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              60  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4               3  ---  Number of Hardware Resets
0x06  0x010  4              48  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
0xff  =====  =               =  ===  == Vendor Specific Statistics (rev 1) ==
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

Pending Defects log (GP Log 0x0c)
No Defects Logged

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x0008  2            0  Device-to-host non-data FIS retries
0x0009  2            3  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2            4  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x000d  2            0  Non-CRC errors within host-to-device FIS
 

heromode

Active Member
May 25, 2020
139
83
28
I'm expecting a couple of 8TB HUH728080AL5205 SAS drives to arrive any day now, plus then i wait for cables from china. So at some point i'll be able to pull data from them to compare.

Edit, quick search came up with this: GitHub - truenas/py-SMART: Wrapper for smartctl (smartmontools)

Edit2: maybe boot your freenas truenas box with a Debian 11 live USB to see if your running a python wrapper over smartctl
 
Last edited:

pr1malr8ge

Member
Nov 27, 2017
63
20
8
40
I'm expecting a couple of 8TB HUH728080AL5205 SAS drives to arrive any day now, plus then i wait for cables from china. So at some point i'll be able to pull data from them to compare.

Edit, quick search came up with this: GitHub - truenas/py-SMART: Wrapper for smartctl (smartmontools)

Edit2: maybe boot your freenas truenas box with a Debian 11 live USB to see if your running a python wrapper over smartctl
I'm assuming your drives are sata correct? because when I run -a on my 3tb sata hgst's I get the vender specific logs just fine.

When I run the code you run exactly but just changing to the SN of my disk I get this..

I'm finding that it apears that Sas drives don't output info like their sata counterparts and if they are "oem" drives which these are as SN check on HGST site for warenty says to take them back to a vender.
I'm wondering if the firmware will need to be changed to a straight HGST only firmware.. How ever it will likely still not output like that of it's sata brethren.

Code:
root@aeronas:~ # smartctl -x /dev/disk/by-id/scsi-SATA_HGST_HUH721010AL_2TJSYR3D
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

/dev/disk/by-id/scsi-SATA_HGST_HUH721010AL_2TJSYR3D: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

root@aeronas:~ #
I found this command.
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 = 604518
  Total bytes processed = 145636742172672 [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 = 3654187
  Total bytes processed = 42666751029248 [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 = 32 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 = 28417
    self-test code: background extended [2]
    self-test result: aborted by SEND DIAGNOSTIC [1]
  Parameter code = 2, accumulated power-on hours = 0
    self-test code: background extended [2]
    self-test result: self test in progress [15]
  Parameter code = 3, 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: 1708011 [h:m  28466:51]
    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 = 542418940
  number of write commands = 331306294
  number of logical blocks received = 35555845257
  number of logical blocks transmitted = 10416687263
  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 = 1908871769
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 = 33484
  Accumulated transitions to idle_a = 33485
  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 = 32 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 = 8637
  Seeks >= 2/3 = 23092
  Seeks >= 1/3 and < 2/3 = 29424
  Seeks >= 1/6 and < 1/3 = 46274
  Seeks >= 1/12 and < 1/6 = 47229
  Seeks > 0 and < 1/12 = 21034
  Overrun Counter = 1
  Underrun Counter = 45274
  Device Cache Full Read Hits = 9220
  Device Cache Partial Read Hits = 285889
  Device Cache Write Hits = 406573
  Device Cache Fast Writes = 461900
  Device Cache Read Misses = 3146404

HGST/WDC miscellaneous page [0x37, 0x0]
  Power on hours = 28466
  Total Bytes Read = 42666751029248
  Total Bytes Written = 145636742172672
  Max Drive Temp (Celsius) = 35
  GList Size = 0
  Number of Information Exceptions = 0
  MED EXC = 0
  HDW EXC = 0
  Total Read Commands = 542418940
  Total Write Commands = 331306294
  Flash Correction Count = 0
root@aeronas:~ # sg_logs -x /dev/da2
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]
 

heromode

Active Member
May 25, 2020
139
83
28
I'm assuming your drives are sata correct? because when I run -a on my 3tb sata hgst's I get the vender specific logs just fine.
Correct
I know this is a SAS specific thread, and i was assuming smartctl would output just the same for SAS drives, because once again, the drives are mechanically exactly the same. Let's see if i'm gonna be proven a complete fool here. sometimes in the near future i'll have some HUH* SAS drives to test on, but atm i have none.
 

pr1malr8ge

Member
Nov 27, 2017
63
20
8
40
Also as far as your suggestion on changing boot.. my Truenas is in a vm on esxi with hba pci-passthrough.. The more I've been gathering the more I think this is a sas issue not wanting to give up any secrets rather then an issue with OS. I'm not exactly wanting to take a production system down. But I may. Shouldn't be too hard to just boot them vm into a live linux install for basic testing.
 

heromode

Active Member
May 25, 2020
139
83
28
When i receive my second hand SAS drives i know i'll be pissed off if i'm not gonna be able to check the helium levels on them.

Regarding the mechanics once more, no HDD manufacturer makes physically separate SAS drives anymore, there is no point.

You can't make them faster by spinning them at 10k rpm, and you can't make them more reliable etc.. If you look at the HGST he8, he10 and he12 spec sheets you see arrows to the left pointing to the SATA versions on all parameters except formatting, interface and power attributes. Because they are the same.

https://documents.westerndigital.co...astar-sas-series/data-sheet-ultrastar-he8.pdf

https://documents.westerndigital.co...c500-series/data-sheet-ultrastar-dc-hc510.pdf

https://documents.westerndigital.co...c500-series/data-sheet-ultrastar-dc-hc520.pdf

nothing but arrows to the left.
 

heromode

Active Member
May 25, 2020
139
83
28
Also as far as your suggestion on changing boot.. my Truenas is in a vm on esxi with hba pci-passthrough.. The more I've been gathering the more I think this is a sas issue not wanting to give up any secrets rather then an issue with OS. I'm not exactly wanting to take a production system down. But I may. Shouldn't be too hard to just boot them vm into a live linux install for basic testing.
Don't bother, i'll report here once i have my drives and cables.

Edit in the meantime, you could try to figure out if truenas is really using a python wrapper for smartctl. In linux i think the command is 'which' to see what is actually being run when you type smartctl.

or locate the actual smartctl binary and run it including the path.
 
Last edited:

pr1malr8ge

Member
Nov 27, 2017
63
20
8
40
When i receive my second hand SAS drives i know i'll be pissed off if i'm not gonna be able to check the helium levels on them.

Regarding the mechanics once more, no HDD manufacturer makes physically separate SAS drives anymore, there is no point.

You can't make them faster by spinning them at 10k rpm, and you can't make them more reliable etc.. If you look at the HGST he8, he10 and he12 spec sheets you see arrows to the left pointing to the SATA versions on all parameters except formatting, interface and power attributes. Because they are the same.

https://documents.westerndigital.co...astar-sas-series/data-sheet-ultrastar-he8.pdf

https://documents.westerndigital.co...c500-series/data-sheet-ultrastar-dc-hc510.pdf

https://documents.westerndigital.co...c500-series/data-sheet-ultrastar-dc-hc520.pdf

nothing but arrows to the left.
I understand that the mechanical portion of the drive is the same. From what I've been readin sparcly is that it appears that the sas side of the controllers scsi seems to not have any uniformity and alot of things are hidden from smart escpecially if they are OEM drives.
 

pr1malr8ge

Member
Nov 27, 2017
63
20
8
40
Don't bother, i'll report here once i have my drives and cables.

Edit in the meantime, you could try to figure out if truenas is really using a python wrapper for smartctl. In linux i think the command is 'which' to see what is actually being run when you type smartctl.

or locate the actual smartctl binary and run in including the path.
Code:
root@aeronas:~ # which smartctl -a /dev/da2
/usr/local/sbin/smartctl
-a: Command not found.
/dev/da2: Command not found.