How crucial are a couple read write errors?

The disk has UDMA_CRC Errors, normally indicative of a data cable issue. This could be causing your problems, however you have other issues with this drive, the Input/Output failures.Read SCT Status failed: Input/output error which a google search indicates this could also be a data cable issue.

Power Down, Connect the drive directly to the SATA port on the motherboard, not the HBA, Power Up, Run the smartctl -x /dev/sda again. If there is any change, post the output. The specific change I’m looking for is the lack of the Input/Output error messages. If there is a lack of these messages, the Data Cable or HBA/Drive Bay is the likely suspect.

If this does not fix the smart data, then you may be looking to RMA the drive.

As for the ZFS pool status, looks like you have one drive (likely the same drive) which is causing issues. You have a RAIDZ2 so you are currently safe.
Once the drive issue is fixed, you can clear the ZFS problems

2 Likes

^ This is the log on the drive (itself) moved off the HBA into a bay directly attached to the MB

Model Family:     Western Digital Red (CMR)
Device Model:     WDC WD40EFPX-68C6CN0
Serial Number:    WD-WXA2D15MT04L
LU WWN Device Id: 5 0014ee 2c16481bb
Firmware Version: 81.00A81
User Capacity:    4,000,787,030,016 bytes [4.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database 7.3/5706
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Jun  2 11:10:59 2025 AEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
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:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 249) Self-test routine in progress...
                                        90% of test remaining.
Total time to complete Offline 
data collection:                (42960) 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:        ( 448) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x3039) 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     POSR-K   100   253   051    -    0
  3 Spin_Up_Time            POS--K   205   205   021    -    2716
  4 Start_Stop_Count        -O--CK   100   100   000    -    9
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   100   100   000    -    22
 10 Spin_Retry_Count        -O--CK   100   253   000    -    0
 11 Calibration_Retry_Count -O--CK   100   253   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    9
192 Power-Off_Retract_Count -O--CK   200   200   000    -    6
193 Load_Cycle_Count        -O--CK   200   200   000    -    2
194 Temperature_Celsius     -O---K   126   113   000    -    21
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   100   253   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   199   000    -    28
200 Multi_Zone_Error_Rate   ---R--   100   253   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      5  Comprehensive SMART error log
0x03       GPL     R/O      6  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
0x09           SL  R/W      1  Selective self-test log
0x0c       GPL     R/O   2048  Pending Defects log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x24       GPL     R/O    307  Current 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
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb6  GPL,SL  VS       1  Device vendor specific log
0xb7       GPL,SL  VS      78  Device vendor specific log
0xbd       GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device 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 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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):       258 (0x0102)
Device State:                        DST executing in background (3)
Current Temperature:                    21 Celsius
Power Cycle Min/Max Temperature:     20/21 Celsius
Lifetime    Min/Max Temperature:     16/23 Celsius
Under/Over Temperature Limit Count:   0/0
Vendor specific:
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/65 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (279)

Index    Estimated Time   Temperature Celsius
 280    2025-06-02 03:13     ?  -
 ...    ..(197 skipped).    ..  -
   0    2025-06-02 06:31     ?  -
   1    2025-06-02 06:32    16  -
   2    2025-06-02 06:33    16  -
   3    2025-06-02 06:34    17  -
   4    2025-06-02 06:35    18  -
   5    2025-06-02 06:36    18  -
   6    2025-06-02 06:37    18  -
   7    2025-06-02 06:38    19  -
   8    2025-06-02 06:39    19  -
   9    2025-06-02 06:40    19  -
  10    2025-06-02 06:41    20  *
 ...    ..(  3 skipped).    ..  *
  14    2025-06-02 06:45    20  *
  15    2025-06-02 06:46    21  **
 ...    ..(  8 skipped).    ..  **
  24    2025-06-02 06:55    21  **
  25    2025-06-02 06:56    22  ***
 ...    ..( 82 skipped).    ..  ***
 108    2025-06-02 08:19    22  ***
 109    2025-06-02 08:20    23  ****
 ...    ..( 72 skipped).    ..  ****
 182    2025-06-02 09:33    23  ****
 183    2025-06-02 09:34    22  ***
 ...    ..( 67 skipped).    ..  ***
 251    2025-06-02 10:42    22  ***
 252    2025-06-02 10:43     ?  -
 253    2025-06-02 10:44    22  ***
 254    2025-06-02 10:45    21  **
 255    2025-06-02 10:46     ?  -
 256    2025-06-02 10:47    22  ***
 257    2025-06-02 10:48    22  ***
 258    2025-06-02 10:49     ?  -
 259    2025-06-02 10:50    24  *****
 260    2025-06-02 10:51    23  ****
 261    2025-06-02 10:52     ?  -
 262    2025-06-02 10:53    23  ****
 263    2025-06-02 10:54     ?  -
 264    2025-06-02 10:55    22  ***
 265    2025-06-02 10:56    22  ***
 266    2025-06-02 10:57     ?  -
 267    2025-06-02 10:58    22  ***
 268    2025-06-02 10:59     ?  -
 269    2025-06-02 11:00    16  -
 270    2025-06-02 11:01    16  -
 271    2025-06-02 11:02     ?  -
 272    2025-06-02 11:03    20  *
 273    2025-06-02 11:04    20  *
 274    2025-06-02 11:05    20  *
 275    2025-06-02 11:06    21  **
 ...    ..(  3 skipped).    ..  **
 279    2025-06-02 11:10    21  **

SCT Error Recovery Control:
           Read:     70 (7.0 seconds)
          Write:     70 (7.0 seconds)

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 3) ==
0x01  0x008  4               9  ---  Lifetime Power-On Resets
0x01  0x010  4              22  ---  Power-on Hours
0x01  0x018  6      1573461312  ---  Logical Sectors Written
0x01  0x020  6         9873432  ---  Number of Write Commands
0x01  0x028  6         2392869  ---  Logical Sectors Read
0x01  0x030  6          148692  ---  Number of Read Commands
0x01  0x038  6        79200000  ---  Date and Time TimeStamp
0x02  =====  =               =  ===  == Free-Fall Statistics (rev 1) ==
0x02  0x010  4               0  ---  Overlimit Shock Events
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4              21  ---  Spindle Motor Power-on Hours
0x03  0x010  4              21  ---  Head Flying Hours
0x03  0x018  4               9  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x03  0x038  4               0  ---  Number of Realloc. Candidate Logical Sectors
0x03  0x040  4               6  ---  Number of High Priority Unload Events
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4            1893  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              21  ---  Current Temperature
0x05  0x010  1               -  ---  Average Short Term Temperature
0x05  0x018  1               -  ---  Average Long Term Temperature
0x05  0x020  1              23  ---  Highest Temperature
0x05  0x028  1              20  ---  Lowest Temperature
0x05  0x030  1               -  ---  Highest Average Short Term Temperature
0x05  0x038  1               -  ---  Lowest Average Short Term Temperature
0x05  0x040  1               -  ---  Highest Average Long Term Temperature
0x05  0x048  1               -  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              65  ---  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           65880  ---  Number of Hardware Resets
0x06  0x010  4               3  ---  Number of ASR Events
0x06  0x018  4              28  ---  Number of Interface CRC Errors
0xff  =====  =               =  ===  == Vendor Specific Statistics (rev 1) ==
0xff  0x008  7               0  ---  Vendor Specific
0xff  0x010  7               0  ---  Vendor Specific
0xff  0x018  7               0  ---  Vendor Specific
                                |||_ 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
0x000f  2            0  R_ERR response for host-to-device data FIS, CRC
0x0012  2            0  R_ERR response for host-to-device non-data FIS, CRC
0x8000  4          486  Vendor specific

It seemed to have rejoined the pool fine.

There is now a new drive showing faults - so the pool has not expanded (now there are 8 x 4TB drives)

Edited by Joe to proper format. Please use proper formatting to make this easy to read.

This is the pool now (having moved that drive) : though it hasn’t “expanded” now I have upgraded from 2TB to 4TB drives… I have no idea why that is…

state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using ‘zpool clear’ or replace the device with ‘zpool replace’.
see: Message ID: ZFS-8000-9P — OpenZFS documentation
scan: resilvered 21.2M in 00:00:13 with 0 errors on Mon Jun 2 11:04:56 2025
config:

    NAME                                      STATE     READ WRITE CKSUM
                                                   ONLINE       0     0     0
      raidz2-0                                ONLINE       0     0     0
        9f481dbc-eb46-42a3-aaea-e8a7b8d729b1  ONLINE       0     0     0
        923d0676-6909-427c-ad96-63e89c727b3e  ONLINE       0     0     0
        ec9d535d-e362-4d34-9e33-a74b99b718b2  ONLINE       0     0     0
        8d488d0c-d286-4173-b570-6832e09bc81c  ONLINE       0     0     0
        96416399-1c3a-4609-b995-7f9a9162bd6a  ONLINE       0     0     0
        2ff34d7f-c357-4aa1-a427-a5c5fc9efbcc  ONLINE       0     0     1
        584aedb4-43ff-433f-adfd-262819b2a3fe  ONLINE       0     0     0
        35bcfc2b-b259-4ff3-b971-149bf0134337  ONLINE       0     0     0

errors: No known data errors

It is a 12 BAY server 4x3 with a Supemicro Sata II MB No. X9SCL-F with 32GB ECC RAM. Bios Firmware was upgraded by me to 2.3. The HBA is a LSI 9211-8i. The MB is connected to 4 bays. The HBA to the other 8. I reflashed the HBA with IT firmware (latest available for that board) and have confirmed this is loaded with 20.00.07.00. I am trying to run the latest TrueNAS 25.04.1 CE - It’s not like the whole thing has been real easy… two steps forward one step back kind of situation. It’s not like I’m not learning (I am). And fast. How else do you learn about TrueNAS, servers etc without trial and error right? I could have been lazy and just thrown the whole massive setup into the dust bin and purchased brand new hardware with some sort of consumer ready software like a QNAP or Synology - but I decided it was worth a shot to try repair what I had, given it has ECC RAM and and i3 Intel chip , load on TrueNAS CE and give it all a new go (rather than simply trash the environment) :grinning:

1 Like

So from all yr help it looks like the HBA, or cabling from the HBA to one?.. or all? of the bays it controls… or power? is a problem. I am pretty sure it’s not an incorrect BIOS setting, but not 100% sure of that… The question is how do you narrow things down to pin down the actual device causing the issue? New HBA boards and power supplies are cheap… so my question is what do I replace 1st? New cables? New HBA…new power supply? or could it actually be a motherboard problem?. If I have to replace something… what do it replace it with? (What HBA would I swap)? it’s not like there is a DIY manual for this sort of stuff or anything. Where do I go from here? I am happy to spend a bit more but without precise knowledge of what is causing the actual problem there comes a time when expense and time costs outways actually starting again (with a completely new build/device) Cheers

I have two of those happily running my 2 servers - see my signature. Supply enough power and keep the HBA and the drives cool and you should be golden.

I guess you didn’t burn in test your new drives before you put them in the server? Also, you don’t even seem to be running long SMART tests as a priority (they’ll help differentiate pure drive issues from cable/connector woes as Joe has indicated already).

2 Likes

Wow what this experience is telling me is just how robust ZFS is!!! Its darn awesome! Well worth persisting… OK so now my pool is intact and expanded… Miraculously - 'cause I haven’t done much other that what ya’ll recommend. Oh other the larger 8TB stripped drive running the other backup pool… And hit the ZFS expand button on the RaidZ2 pool . I need to check BIOS settings now, but I suspect “the problem” has not gone away… as I still think error messages will continue… So what should I replace first to try sort this? the power supply?? Is there any specific commands I can use to check that? thanks

The power supply in the NAS at the moment is a SureStar SS-2U60EL
DC output : 180W Max (25amp 3.5-4V) 576W Max (48amp 12V)
Current total power 600W

Grok says these specs should be ok…

This is the current log of grep -i power

0.294745] thermal_sys: Registered thermal governor ‘power_allocator’
[ 0.331738] ACPI: _TZ_.FN00: New power resource
[ 0.331798] ACPI: _TZ_.FN01: New power resource
[ 0.331851] ACPI: _TZ_.FN02: New power resource
[ 0.331907] ACPI: _TZ_.FN03: New power resource
[ 0.331962] ACPI: _TZ_.FN04: New power resource
[ 1.140182] PM: genpd: Disabling unused power domains
[ 2.021604] ata2.00: LPM support broken, forcing max_power
[ 2.052772] ata3.00: LPM support broken, forcing max_power
[ 2.072096] ata2.00: LPM support broken, forcing max_power
[ 2.082547] ata3.00: LPM support broken, forcing max_power
[ 9.516691] sd 0:0:1:0: Power-on or device reset occurred
[ 9.526058] sd 0:0:0:0: Power-on or device reset occurred
[ 9.563158] sd 0:0:2:0: Power-on or device reset occurred
[ 9.563162] sd 0:0:3:0: Power-on or device reset occurred
[ 9.563166] sd 0:0:5:0: Power-on or device reset occurred
[ 9.582674] sd 0:0:4:0: Power-on or device reset occurred
[ 15.446854] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3
[ 15.464844] ACPI: button: Power Button [PWRB]
[ 15.473506] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
[ 15.476720] ACPI: button: Power Button [PWRF]

@solarNAS To reset the ZFS flags, run zpool clear poolname to clear the errors, then run a scrub zpool scrub poolname and see how it works out.

I’d have provided the entire command to include what your pool name is, but many users feel like they should cut off parts of an output thinking it offers no relevancy. Trust me, more often than not it is relevant when someone cuts off data.

For read errors? My general troubleshooting:

  • Make specific note of the serial number (not sda/sdb/whatever) of affected disks.
  • Reseat connections on affected disk(s) and re-test (run a scrub).
  • Issues persist on same disks? Shut down & swap sata data cables to known working disks (or skip this step and the next & just swap out data wires). Retest.
  • Issues present on previously known good disks? Swap sata data wire, preferably with a shorter one when possible.
  • Issues on random disks? Check cooling for chipset and/or HBA card.
  • Cooling in spec, but random disks not isolated to specific HBA or motherboard connector? Blame the PSU and/or power connections.

If issue is isolated to specific disk regardless of sata/power connections/connection or HBA vs motherboard? Swap the disk.

So far this quick & dirty has resolved issues for me, but I’m lucky to have spare cables, spare PSUs, etc.

2 Likes

This happened to me at TMU, can confirm. Fellow student came over and asked where the any key was. German speaker, didn’t seem to have a smirk … it may have been genuine.

1 Like

Yep. 100% Exactly what I am now doing…
It’s not like anybody “tells you” (ie the end user) they have to do all this…
Its largely trial and error …that’s ok… I am learning heaps…
(I guess that’s why iX has their enterprise business… don’t get me wrong… I don’t begrudge them making money)…
Just fully disclose it aint necessarily easy (for everyone else) is kinda all I am saying…
Sure would be useful though, if this was all built into TrueNAS :wink:
Where is the troubleshooting AI app?
… you know… for all us (non enterprise) fanboys…
Appreciate to comment :grinning:

1 Like

lol - exactly right here! The forums~

First the Scrub of Death, now this IT joke.
“TrueNAS Forum, the place where Myths come True.” :star_struck: