Storage pool unhealthy

sgt_jamez

Explorer
Joined
Jul 30, 2021
Messages
88
I have a pool that is made of four 1TB HDDs that had a drive go bad. It was an older drive so I didn't think much of it. Replaced with an affordable WD Blue 1TB and after a couple weeks, the pool became degraded. Hmm... ok so I replaced it with a 2TB WD Red NAS drive (CMR if it matters). Did a short and a long SMART test. Passed. Wake up in the morning to this message...

Pool tiny_vault state is ONLINE: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected.​

2022-03-01 03:48:03 (America/Los_Angeles)

So i ran the smartctl --all /dev/sdb command

smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.93+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model: WDC WD20EFZX-68AWUN0
Serial Number: WD-WX62D313TD45
LU WWN Device Id: 5 0014ee 2bee442e1
Firmware Version: 81.00B81
User Capacity: 2,000,398,934,016 bytes [2.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 Mar 1 18:14:54 2022 PST
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: ( 40) The self-test routine was interrupted
by the host with a hard or soft reset.
Total time to complete Offline
data collection: (21360) seconds.
Offline data collection
capabilities: (0x11) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No 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: ( 230) minutes.
SCT capabilities: (0x303d) 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 - 0
3 Spin_Up_Time 0x0027 100 253 021 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 3
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 69
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 2
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 0
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 2
194 Temperature_Celsius 0x0022 118 112 000 Old_age Always - 29
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 - 0

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 Interrupted (host reset) 80% 56 -
# 2 Short offline Completed without error 00% 55 -
# 3 Extended offline Interrupted (host reset) 10% 55 -
# 4 Extended offline Completed without error 00% 16 -
# 5 Short offline Completed without error 00% 3 -
# 6 Short offline Completed without error 00% 0 -

Selective Self-tests/Logging not supported

So what is the Interrupted (host reset) about? A fast search leads me to think maybe I have a bad cable? The drives are connected to an LSI HBA with a SAS to SATA breakout cable. Prime suspect?

EDIT:
Also of note, the error would clear when the server was rebooted.

This morning, I received a notice that the WD Blue drive that has already been removed, was just faulted. So the system thinks the drive is still installed??
 
Last edited:

aljovin

Cadet
Joined
Feb 26, 2022
Messages
4
I'm unsure on the process for replacing a disk in ZFS (Still very much a noob), but did you only replace the disk physically, or you also replaced it in the Pool (using the function Replace)? the old drive isn't in the pool yet, so it shouldn't see it at all or report on it.
 

sgt_jamez

Explorer
Joined
Jul 30, 2021
Messages
88
When I replaced the "failing" drive, I offline'd it in the GUI, then physically removed the drive from the hot swap cage (did not power down). Put in the new drive and used the replace function in the GUI.

Does SCALE need to be shut down to replace a drive? I would think not, but I surely don't know.
 
Top