Disk weirdness, Faulty drive?

platinumjsi

Dabbler
Joined
Oct 13, 2015
Messages
49
Ok so a little background info, I built a new system and moved my old pool over, I set up scrubs / smart tests ect.
After the first SMART test ran on all the drives TrueNAS flagged up two drives as having read errors, I thought this was odd timing to replaced all the SATA cables to see if it was something simple.
I then re-ran the smart tests and now one of the drives passes both the short and long test and another was still failing.
I assumed this was probably faulty and planned to replace it come payday.

Today a scheduled scrub ran and Truenas picked up errors on the drive and has degraded the pool, here is where the weirdness starts though.

The drive that was still failing was drive sdg, I got this error today

Screenshot_2022-03-13_143207.jpg


So sdg error count increases and the pool is degraded, ok so far, I then checked the disks and saw this :

Screenshot_2022-03-13_143607.jpg


sdg is now one of my boot SSD's? looking at the smart results sdf is now the drive that's failing the tests, even stranger is the serial number flagged in the error is actually sdb which has passed its smart checks fine?
Screenshot_2022-03-13_143822.jpg


Zpool status output:

Screenshot_2022-03-13_145420.jpg


Any idea whats going off? TrueNAS appears to be telling me to replace the wrong drive?
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Please post the full results of a long test on sdb.

also post results of glabel status.
 

platinumjsi

Dabbler
Joined
Oct 13, 2015
Messages
49
Please post the full results of a long test on sdb. also post results of glabel status.

Which command would I use to get the output?

I have just run a short test and it failed, could it be an issue with the new system or is it just likely that 2 - 3 of the discs are on their way out at the same time?

The disc that failed 3 smart tests in a row but is now passing them made me suspect maybe the system?
 

platinumjsi

Dabbler
Joined
Oct 13, 2015
Messages
49
Code:
=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD40EFRX-68WT0N0
Serial Number:    WD-WCC4E4XJRFY2
LU WWN Device Id: 5 0014ee 2b6d21ba4
Firmware Version: 82.00A82
User Capacity:    4,000,787,030,016 bytes [4.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:    Sun Mar 13 17:32:28 2022 GMT
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:      ( 113) The previous self-test completed having
                                        the read element of the test failed.
Total time to complete Offline
data collection:                (54000) 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:        ( 540) 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       -       50
  3 Spin_Up_Time            0x0027   170   170   021    Pre-fail  Always       -       8475
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       248
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   024   024   000    Old_age   Always       -       56197
 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       -       248
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       196
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       743
194 Temperature_Celsius     0x0022   122   105   000    Old_age   Always       -       30
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
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      -       3

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       10%     56196         125857536
# 2  Short offline       Completed without error       00%     56083         -
# 3  Short offline       Completed without error       00%     55950         -
# 4  Extended offline    Completed without error       00%     55947         -
# 5  Short offline       Completed without error       00%     55917         -
# 6  Extended offline    Completed without error       00%     55906         -
# 7  Short offline       Completed without error       00%     29244         -
# 8  Short offline       Completed without error       00%     29076         -
# 9  Short offline       Completed without error       00%     28836         -
#10  Short offline       Completed without error       00%     28668         -
#11  Extended offline    Completed without error       00%     28557         -
#12  Short offline       Completed without error       00%     28501         -
#13  Short offline       Completed without error       00%     28333         -
#14  Short offline       Completed without error       00%     28094         -
#15  Short offline       Completed without error       00%     27926         -
#16  Extended offline    Completed without error       00%     27814         -
#17  Short offline       Completed without error       00%     27758         -
#18  Short offline       Completed without error       00%     27590         -
#19  Short offline       Completed without error       00%     27374         -
#20  Short offline       Completed without error       00%     27207         -
#21  Extended offline    Completed without error       00%     27095         -

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.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
There is a UI bug that can mess up drives displayed in that section and which drives are assigned to where. Its a display bug. I sugest a reboot to ensure all is correct (which does fix (well workaround) the bug) and then investigate which drive is failing. Can't do any harm

The /dev/sd? can be a bit suspect - and which drive is assigned to which pool but glabel status does I believe provide the correct matching data
 

platinumjsi

Dabbler
Joined
Oct 13, 2015
Messages
49
Ok ill reboot, should I be replacing sdb though? seems odd to me that ones been offlined and the others are online still?

sdb is now sdc after reboot lol, so if I go to replace it will ill replace the right one? sdb pre reboot and now sdc after reboot appear to point to the same drive (SN: WD-WCC4E4XJRFY2) and the smart test results are the same)

Edit, rebooted and now the pool is showing as online, no degradation?
 
Last edited:

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Which command would I use to get the output?
Run the long test, then smartctl -a /dev/whatever the drive id is that you used to run the test.

I note that disk is just under 6.5 years old...

glabel status should get you something like this
1647207724105.png


Then get the serial # from Storage>Disks to confirm.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Top