One Checksum error - Shall I be worried?

Hello everyone,

I have my Server pool that has got one checksum error on one drive and it’s been already 2 weeks and nothing else has occurred since.
Pool is showing as degraded so I was wondering if I should be worried about it and do something or not.

I guess it is something that can happen but maybe not and drive has to go?!

I have already run a pool scrub and all went well, no errors.

Please advise.

EDIT:

Let me add a bit of context since I can’t a screenshot to this post.
The pool is a RaidZ2 with 8 drives of 6TB WDC WD60EFPX-68C model.

The smartctl tests on that drive did not bring any error it seems as they all show “SUCCESS” for the 16 tests displayed.

Will be really usefull if you provide more detailed info about your system, and the output of some command (in quote brackets please :smile: )

  • Hw spec
  • how disk are connected to the mainboard
  • pool status
  • smart status of the involved disk

Actually your pool can handle the loss of another one disk without losing data, although you are not yet in a critical situation, IMHO consider to check your backup are fine

1 Like

Well, I would say yes. I want 0 errors, always, so, yes, I would be investigating as to the cause. If not a drive, I’d be even more worried.

Maybe complete the tutorial so you can post screenshots if you don’t have access yet.

1 Like

So I think this is a ZFS issue, not a drive issue.

Either way, take a look at my Drive Troubleshooting Flowcharts link below, also in the TrueNAS resources. It will help guide you on what you should do and if you should be concerned. It will address the simple ZFS error.

Well, if there has been an error for two weeks and nothing has yet been done to investigate and resolve any outstanding issue, the situation might well have evolved into something more sinister…

Namely: Use the </> button for formatted text.

The pool is running on a Dell Poweredge T430 Server.
The disks are connected to a LSI MegaRAID SAS-3 3108 (IT mode) through the server’s SAS onboard PCB.
The pool status is online but unhealthy.

For backup I have another Truenas server that replicates the server in a different location.
But that leads me to have more question now…

  1. If my data is corrupted, the replication server will replicate the corruption I assume? correct?
  2. How can find out what file are corrupted if any?

Please elaborate.

I am no genius and I am at loss in this situation.
I thought that the worst that can happen would be 2 drives failing, degrading my pool to the point of it being offline.

Now you guys are telling me there might a ZFS corruption that would impact my data. I was not aware this could happen that easily without any prior warning.

How can I figure out if my data is corrupted?
Can I rely on my other Truenas server data that replicated my main server?

Thanks! I’ve been trying to follow your guide.
I have ran a scrub afterwards and I believe I’ve got no errors as the system did not report any of them but I am wondering where I can see the logs from the scrub to confirm that.

Actually using the “zpool status -v” I’ve getting this (the incident actually happened prior to the 22th of June so my scrub was ran soon after the incident):

scan: scrub repaired 0B in 05:32:33 with 0 errors on Sun Jun 22 01:52:05 2025
errors: No known data errors

Is this reassuring?
How can I test the integrity of my data please?

I am currently running another scrub… I’ll update once it’s done.

It is re-assuring. If I’m not crazy, technically if there is an issue with a file on a disk, but you run a scrub & the issue is detected; then as long as there are enough healthy copies then a scrub will reolve the problem.

…so seems that zfs protected you like intended. Should you investigate on what could have caused a single error? Yes. Is it possible it was a random blip & that there is a limit to what is a reasonable investigation? Yes. Can something still go wrong & be either related or entirely unrelated? Yes.

1 Like

Actually with raidz2 it would take three failures to take down the pool. But you should do your utmost to never be in that situation. React to the first error and do not allow a second error to creep in. We’ve seen a few cases where, for some reasons, the user ignored an error and only came to ask for help when more errors occurred; total pool loss was the usual outcome.

With two degrees of redundancy:

  • One error. You’re still fine but act NOW!
  • Two errors. You’re at risk.
  • Three errors. :skull:

Fortunately, yours may have been a fluke.

That could be an issue. Even in IT mode, this is still a RAID controller and not a proper HBA.
Best replace by a 3008 at your earliest convenience.

Thanks everyone for your help and time.

So the scrub done today did not report any error or data repaired:
scan: scrub repaired 0B in 05:11:02 with 0 errors on Sun Jul 20 15:04:32 2025

I will therefore clear the pool status.

I will also take your advice and replace that Raid controller with an HBA card.
I wasn’t aware that could cause problems.

I have 2 more questions please:

  • In case of data corruption, will it as well impact a replication server data? If so, would you recommend switching my backup to an rsync based backup method to avoid that possible scenario?!

  • How would you investigate that problem of one CRC error? It seems to me like chasing a random issue that may never reproduce. I was waiting to see if an additional error would show up on the same drive and disconnect the drive from the pool. But with a single error, I simply thought it could be a glitch hence why I took some time to react.

Thanks again everyone for your help!

ZFS never returns corrupted data so errors should not propagate. Anyway, rsync would not help.

That is the question…
At the very least, check the hardware: Long SMART test, drive controller cooling, PSU, memtest on RAM. With recurring errors, you would try shuffling drives and/or cables around and see whether errors follow drives or follow cables/ports. But a single error which does not repeat is very difficult to track down.

1 Like

So far you have not listed the smartctl output for the drive you think had the CRC error. Please make sure we are all talking about the same thing, CRC will have someone jumping to a drive failure as most people with think UDMA_CRC_Errors, CKSUM will have us jumping to a ZFS error. Both are check sums but both are different problems and may or maynot be related.

If you are referring to a ZFS CKSUM error, clear the error and monitor for a reoccurrence. there are too many reasons it could have happened to speculate and drive yourself nuts.

If you are referring to a drive UDMA_CRC_Error then you run a SMART Long test. That recorded error will never return to a zero value, it lives with the drive forever. UDMA_CRC_Errors are most typically caused by a suspect SATA cable (data cable), and other hardware can cause it as well. There is a lot of data on this, just Google it.

2 Likes

Yes I was referring to a ZFS CKSUM error. I have already cleared the error and I will be monitoring.

Here is the result of the command “smartctl -x /dev/da5” in case.
Thanks again for your help!

smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD60EFPX-68C5ZN0
Serial Number:    WD-WX52DA31RL34
LU WWN Device Id: 5 0014ee 2c0d0957d
Firmware Version: 81.00A81
User Capacity:    6,001,175,126,016 bytes [6.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      3.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Jul 22 09:30:36 2025 +07
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, NOT FROZEN [SEC1]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status command failed: Input/output error
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

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:                (60660) 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:        ( 630) 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   200   200   051    -    0
  3 Spin_Up_Time            POS--K   226   225   021    -    3691
  4 Start_Stop_Count        -O--CK   100   100   000    -    13
  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   084   084   000    -    11854
 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    -    12
192 Power-Off_Retract_Count -O--CK   200   200   000    -    10
193 Load_Cycle_Count        -O--CK   200   200   000    -    3
194 Temperature_Celsius     -O---K   114   108   000    -    36
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   200   000    -    0
200 Multi_Zone_Error_Rate   ---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      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)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     11845         -
# 2  Short offline       Completed without error       00%     11821         -
# 3  Extended offline    Completed without error       00%     11815         -
# 4  Short offline       Completed without error       00%     11797         -
# 5  Short offline       Completed without error       00%     11773         -
# 6  Short offline       Completed without error       00%     11749         -
# 7  Short offline       Completed without error       00%     11726         -
# 8  Short offline       Completed without error       00%     11702         -
# 9  Short offline       Completed without error       00%     11678         -
#10  Short offline       Completed without error       00%     11654         -
#11  Extended offline    Completed without error       00%     11642         -
#12  Short offline       Completed without error       00%     11630         -
#13  Short offline       Completed without error       00%     11606         -
#14  Short offline       Completed without error       00%     11582         -
#15  Short offline       Completed without error       00%     11558         -
#16  Short offline       Completed without error       00%     11534         -
#17  Short offline       Completed without error       00%     11510         -
#18  Short offline       Completed without error       00%     11486         -

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:                    36 Celsius
Power Cycle Min/Max Temperature:     32/42 Celsius
Lifetime    Min/Max Temperature:     29/42 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 (24)

Index    Estimated Time   Temperature Celsius
  25    2025-07-22 01:33    35  ****************
 ...    ..( 19 skipped).    ..  ****************
  45    2025-07-22 01:53    35  ****************
  46    2025-07-22 01:54    36  *****************
 ...    ..(347 skipped).    ..  *****************
 394    2025-07-22 07:42    36  *****************
 395    2025-07-22 07:43    37  ******************
 ...    ..( 15 skipped).    ..  ******************
 411    2025-07-22 07:59    37  ******************
 412    2025-07-22 08:00    36  *****************
 ...    ..( 84 skipped).    ..  *****************
  19    2025-07-22 09:25    36  *****************
  20    2025-07-22 09:26    35  ****************
 ...    ..(  3 skipped).    ..  ****************
  24    2025-07-22 09:30    35  ****************

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              12  ---  Lifetime Power-On Resets
0x01  0x010  4           11854  ---  Power-on Hours
0x01  0x018  6     16825316620  ---  Logical Sectors Written
0x01  0x020  6       509035051  ---  Number of Write Commands
0x01  0x028  6     83796492989  ---  Logical Sectors Read
0x01  0x030  6       568641200  ---  Number of Read Commands
0x01  0x038  6      4019694336  ---  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           11734  ---  Spindle Motor Power-on Hours
0x03  0x010  4           11733  ---  Head Flying Hours
0x03  0x018  4              14  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4              40  ---  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              10  ---  Number of High Priority Unload Events
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              36  ---  Current Temperature
0x05  0x010  1              36  ---  Average Short Term Temperature
0x05  0x018  1              36  ---  Average Long Term Temperature
0x05  0x020  1              42  ---  Highest Temperature
0x05  0x028  1              29  ---  Lowest Temperature
0x05  0x030  1              40  ---  Highest Average Short Term Temperature
0x05  0x038  1              30  ---  Lowest Average Short Term Temperature
0x05  0x040  1              36  ---  Highest Average Long Term Temperature
0x05  0x048  1              33  ---  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              48  ---  Number of Hardware Resets
0x06  0x010  4              12  ---  Number of ASR Events
0x06  0x018  4               0  ---  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            1  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      2670828  Vendor specific

That drive looks good.

By itself, this can just be an example of bitrot. Which is normal.

The trick is to try and determine a cause, or to see if SMART etc is showing an issue.

I would suggest ensuring that smart tests are being run, and look at the results for the disk in question.

It could well show you a single pending sector etc.

Which in a way shows the drive failed… at least failed to be able to read a sector.

So, it depends on what happened… but it could just be a once off issue. You can clear it with zpool clear <pool>, and then keep an eye on it… if it happens again… then worry about it.

Alright, thank you!

Yeah, ain’t this the truth. I have one pool with 3 drives and a single CRC error from the day I installed it, on one disk. No more, no errors ever since then, it was like it was just born that way. Never gives me any trouble since.

Some things you just have to shrug and keep an eye on it through future reporting. If there aren’t more errors, there’s not much to work with.