SOLVED Unhealthy pool status.

Estropelic

Contributor
Joined
Feb 8, 2016
Messages
107
I have one drive with a checksum of 61. Should I change the drive ASAP?


Code:
root@freenas:~ # zpool status FREENASPOOL
  pool: FREENASPOOL
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: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P
  scan: scrub repaired 1.44M in 02:33:40 with 0 errors on Fri Mar 26 17:11:26 2021
config:

        NAME                                            STATE     READ WRITE CKSUM
        FREENASPOOL                                     ONLINE       0     0 0
          raidz2-0                                      ONLINE       0     0 0
            gptid/7e01026c-c450-11ea-aeb6-d05099c2fe9b  ONLINE       0     0 0
            gptid/ef920553-fcb0-11e5-9196-d05099c08766  ONLINE       0     0 0
            gptid/f06f1e07-fcb0-11e5-9196-d05099c08766  ONLINE       0     061
            gptid/f14c5849-fcb0-11e5-9196-d05099c08766  ONLINE       0     0 0
            gptid/f23
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Checksum errors can imply cabling or the controller, so check that first... and also look at the SMART data for that disk

Work out which disk it is and run smartctl -a /dev/daX (where daX is the label of the disk... maybe adaX depending on how you connect your disks)
 

Estropelic

Contributor
Joined
Feb 8, 2016
Messages
107
Code:
root@freenas:~ # smartctl -a /dev/ada3
smartctl 7.1 2019-12-30 r5022 [FreeBSD 12.2-RELEASE-p3 amd64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD20EFRX-68EUZN0
Serial Number:    WD-WCC4M3XXN2H3
LU WWN Device Id: 5 0014ee 262011bfc
Firmware Version: 82.00A82
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Mar 29 09:16:38 2021 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

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

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (27060) 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:        ( 273) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x703d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       1589
  3 Spin_Up_Time            0x0027   175   174   021    Pre-fail  Always       -       4241
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       166
  5 Reallocated_Sector_Ct   0x0033   194   194   140    Pre-fail  Always       -       196
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   042   042   000    Old_age   Always       -       42790
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       166
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       91
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       781
194 Temperature_Celsius     0x0022   110   104   000    Old_age   Always       -       37
196 Reallocated_Event_Count 0x0032   153   153   000    Old_age   Always       -       47
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       80

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     42116         -
# 2  Extended offline    Completed without error       00%     41445         -
# 3  Extended offline    Completed without error       00%     40744         -
# 4  Extended offline    Completed without error       00%     40093         -
# 5  Extended offline    Completed without error       00%     39372         -
# 6  Extended offline    Completed without error       00%     38675         -
# 7  Extended offline    Completed without error       00%     37972         -
# 8  Extended offline    Completed without error       00%     37232         -
# 9  Short offline       Completed without error       00%     23821         -
#10  Short offline       Completed without error       00%     23820         -
#11  Short offline       Completed without error       00%     23819         -
#12  Short offline       Completed without error       00%     23818         -
#13  Short offline       Completed without error       00%     23817         -
#14  Short offline       Completed without error       00%     23816         -
#15  Short offline       Completed without error       00%     23815         -
#16  Short offline       Completed without error       00%     23814         -
#17  Short offline       Completed without error       00%     23813         -
#18  Short offline       Completed without error       00%     23812         -
#19  Short offline       Completed without error       00%     23811         -
#20  Short offline       Completed without error       00%     23810         -
#21  Short offline       Completed without error       00%     23809         -

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.

root@freenas:~ #
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
OK, so that disk is dying... go ahead and replace it.
 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
Calling smartctl -a on all drives would probably be a good idea…
 

pmsan

Cadet
Joined
Feb 17, 2023
Messages
8
sretalla said: "Checksum errors can imply cabling or the controller, so check that first..."

This thread is two years old, but I encountered this error yesterday when I changed the PSU in my NAS.
Even though I was very careful, I switched sata-cables of two of the drives.

So in my case this was solved by switching back the sata cables to where they were originally.

Every time I do anything inside my NAS I think about marking the drives and the cables. Next time I will do it!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Even though I was very careful, I switched sata-cables of two of the drives.

So in my case this was solved by switching back the sata cables to where they were originally.

Every time I do anything inside my NAS I think about marking the drives and the cables. Next time I will do it!
It's good to be careful and know what you're doing, but I would like to make clear that TrueNAS doesn't care which SATA port a disk is connected to (as long as it's properly connected and the SATA port itself is working).

I suspect it was just a case of a not perfectly seated cable which was rectified when you changed it back.
 

pmsan

Cadet
Joined
Feb 17, 2023
Messages
8
You are right! I verified it by changing the sata cables into the wrong order just now. And no error message.

I am a developer and not a sysadmin, so I am often like bambi on ice when dealing with setting up my environment. I remembered from my early days when building linux computers and messing with fstab, that I did this mistake sometimes. These days of course labels and uid's are the way to go. And of course a system like TrueNAS does it the correct way.

Thanks for the feedback! Good to know. I feel even more confident using TrueNAS now :smile:
 
Top