Hi,
I’m a newbie to Truenas, have been running my small installation for about 1,5 years.
I recently got the error message “Device: /dev/sdc [SAT], 1168 Currently unreadable (pending) sectors”. After googling and following the advice of some threads on this forum, I ran a manual SMART long test on this drive (the newest one in the list). Here the output of smartctl -x /dev/sdc.
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.1.74-production+truenas] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate IronWolf
Device Model: ST4000VN008-2DR166
Serial Number: ZDHB2LHN
LU WWN Device Id: 5 000c50 0e3e4482b
Firmware Version: SC60
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5980 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.3/5528
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: Wed Nov 6 08:00:35 2024 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Disabled
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 overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 120) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: ( 591) 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 628) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x50bd) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate POSR-- 081 064 044 - 136834000
3 Spin_Up_Time PO---- 093 093 000 - 0
4 Start_Stop_Count -O--CK 100 100 020 - 54
5 Reallocated_Sector_Ct PO--CK 100 100 010 - 0
7 Seek_Error_Rate POSR-- 088 060 045 - 617401846
9 Power_On_Hours -O--CK 089 089 000 - 10393 (224 69 0)
10 Spin_Retry_Count PO--C- 100 100 097 - 0
12 Power_Cycle_Count -O--CK 100 100 020 - 52
184 End-to-End_Error -O--CK 100 100 099 - 0
187 Reported_Uncorrect -O--CK 100 100 000 - 0
188 Command_Timeout -O--CK 100 100 000 - 0
189 High_Fly_Writes -O-RCK 100 100 000 - 0
190 Airflow_Temperature_Cel -O---K 071 062 040 - 29 (Min/Max 23/37)
191 G-Sense_Error_Rate -O--CK 100 100 000 - 0
192 Power-Off_Retract_Count -O--CK 100 100 000 - 31
193 Load_Cycle_Count -O--CK 100 100 000 - 172
194 Temperature_Celsius -O---K 029 040 000 - 29 (0 18 0 0 0)
197 Current_Pending_Sector -O--C- 086 086 000 - 1168
198 Offline_Uncorrectable ----C- 086 086 000 - 1168
199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 0
240 Head_Flying_Hours ------ 100 253 000 - 10358h+45m+21.465s
241 Total_LBAs_Written ------ 100 253 000 - 20783526398
242 Total_LBAs_Read ------ 100 253 000 - 56813572363
||||||_ 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 5 Ext. Comprehensive SMART error log
0x04 GPL,SL R/O 8 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
0x10 GPL R/O 1 NCQ Command Error log
0x11 GPL R/O 1 SATA Phy Event Counters log
0x13 GPL R/O 1 SATA NCQ Send and Receive log
0x15 GPL R/W 1 Rebuild Assist log
0x21 GPL R/O 1 Write stream error log
0x22 GPL R/O 1 Read stream error log
0x24 GPL R/O 512 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
0xa1 GPL,SL VS 24 Device vendor specific log
0xa2 GPL VS 8160 Device vendor specific log
0xa6 GPL VS 192 Device vendor specific log
0xa8-0xa9 GPL,SL VS 136 Device vendor specific log
0xab GPL VS 1 Device vendor specific log
0xb0 GPL VS 9048 Device vendor specific log
0xbe-0xbf GPL VS 65535 Device vendor specific log
0xc1 GPL,SL VS 16 Device vendor specific log
0xd1 GPL VS 136 Device vendor specific log
0xd2 GPL VS 10000 Device vendor specific log
0xd3 GPL VS 1920 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 (5 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 Extended offline Completed: read failure 80% 10383 1376490152
# 2 Short offline Completed without error 00% 10320 -
# 3 Extended offline Completed without error 00% 10275 -
# 4 Short offline Completed without error 00% 10152 -
# 5 Short offline Completed without error 00% 9983 -
# 6 Short offline Completed without error 00% 9815 -
# 7 Short offline Completed without error 00% 9647 -
# 8 Extended offline Completed without error 00% 9530 -
# 9 Short offline Completed without error 00% 9479 -
#10 Short offline Completed without error 00% 9311 -
#11 Short offline Completed without error 00% 9143 -
#12 Short offline Completed without error 00% 8975 -
#13 Extended offline Completed without error 00% 8811 -
#14 Short offline Completed without error 00% 8639 -
#15 Short offline Completed without error 00% 8471 -
#16 Short offline Completed without error 00% 8303 -
#17 Short offline Completed without error 00% 8135 -
#18 Extended offline Completed without error 00% 8067 -
#19 Short offline Completed without error 00% 7967 -
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): 522 (0x020a)
Device State: Active (0)
Current Temperature: 29 Celsius
Power Cycle Min/Max Temperature: 23/37 Celsius
Lifetime Min/Max Temperature: 18/38 Celsius
Under/Over Temperature Limit Count: 0/63
SCT Temperature History Version: 2
Temperature Sampling Period: 3 minutes
Temperature Logging Interval: 59 minutes
Min/Max recommended Temperature: 0/ 0 Celsius
Min/Max Temperature Limit: 0/ 0 Celsius
Temperature History Size (Index): 128 (112)
Index Estimated Time Temperature Celsius
113 2024-11-01 02:59 31 ************
114 2024-11-01 03:58 32 *************
115 2024-11-01 04:57 32 *************
116 2024-11-01 05:56 31 ************
... ..( 2 skipped). .. ************
119 2024-11-01 08:53 31 ************
120 2024-11-01 09:52 29 **********
121 2024-11-01 10:51 28 *********
... ..( 54 skipped). .. *********
48 2024-11-03 16:56 28 *********
49 2024-11-03 17:55 ? -
50 2024-11-03 18:54 23 ****
51 2024-11-03 19:53 35 ****************
52 2024-11-03 20:52 36 *****************
53 2024-11-03 21:51 36 *****************
54 2024-11-03 22:50 36 *****************
55 2024-11-03 23:49 35 ****************
56 2024-11-04 00:48 32 *************
57 2024-11-04 01:47 31 ************
... ..( 7 skipped). .. ************
65 2024-11-04 09:39 31 ************
66 2024-11-04 10:38 30 ***********
... ..( 12 skipped). .. ***********
79 2024-11-04 23:25 30 ***********
80 2024-11-05 00:24 31 ************
81 2024-11-05 01:23 30 ***********
82 2024-11-05 02:22 31 ************
83 2024-11-05 03:21 30 ***********
84 2024-11-05 04:20 30 ***********
85 2024-11-05 05:19 31 ************
86 2024-11-05 06:18 31 ************
87 2024-11-05 07:17 31 ************
88 2024-11-05 08:16 30 ***********
... ..( 11 skipped). .. ***********
100 2024-11-05 20:04 30 ***********
101 2024-11-05 21:03 32 *************
102 2024-11-05 22:02 32 *************
103 2024-11-05 23:01 30 ***********
... ..( 7 skipped). .. ***********
111 2024-11-06 06:53 30 ***********
112 2024-11-06 07:52 29 **********
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 1) ==
0x01 0x008 4 52 --- Lifetime Power-On Resets
0x01 0x010 4 10393 --- Power-on Hours
0x01 0x018 6 20783526398 --- Logical Sectors Written
0x01 0x020 6 475293558 --- Number of Write Commands
0x01 0x028 6 56813572355 --- Logical Sectors Read
0x01 0x030 6 51730974 --- Number of Read Commands
0x01 0x038 6 - --- Date and Time TimeStamp
0x03 ===== = = === == Rotating Media Statistics (rev 1) ==
0x03 0x008 4 2734536311 N-- Spindle Motor Power-on Hours
0x03 0x010 4 2734528165 N-- Head Flying Hours
0x03 0x018 4 172 --- 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 1168 --- Number of Realloc. Candidate Logical Sectors
0x03 0x040 4 32 --- 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 29 --- Current Temperature
0x05 0x010 1 30 --- Average Short Term Temperature
0x05 0x018 1 28 --- Average Long Term Temperature
0x05 0x020 1 38 --- Highest Temperature
0x05 0x028 1 0 --- Lowest Temperature
0x05 0x030 1 34 --- Highest Average Short Term Temperature
0x05 0x038 1 24 --- Lowest Average Short Term Temperature
0x05 0x040 1 32 --- Highest Average Long Term Temperature
0x05 0x048 1 28 --- Lowest Average Long Term Temperature
0x05 0x050 4 0 --- Time in Over-Temperature
0x05 0x058 1 70 --- 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 174 --- Number of Hardware Resets
0x06 0x010 4 63 --- Number of ASR Events
0x06 0x018 4 0 --- Number of Interface CRC Errors
|||_ C monitored condition met
||__ D supports DSN
|___ N normalized value
Pending Defects log (GP Log 0x0c) not supported
SATA Phy Event Counters (GP Log 0x11)
ID Size Value Description
0x000a 2 3 Device-to-host register FISes sent due to a COMRESET
0x0001 2 0 Command failed due to ICRC error
0x0003 2 0 R_ERR response for device-to-host data FIS
0x0004 2 0 R_ERR response for host-to-device 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
Seagate FARM log (GP Log 0xa6) supported [try: -l farm]
I understand that the relevant values here are ID 197 and 198 (but please correct me if I’m wrong). Does this mean that my drive is starting to fail? I was very surprised to get the pending sectors alert because the drive is more or less new (about 10000 hours in use, I bought it new about 2 years ago).
My questions are
- Is it just bad luck that the drive is failing this early (I expected them to last for about 5 years)? Or could it be that I misconfigured something and the drive is working way more than it should and therefore shows early signs of failing?
- I run weekly SMART short tests and monthly long tests on every drive (btw. is this a reasonable frequency or should I run them more frequently?). Before my manual smart long test, every smart test completed without any error, as seen in the output. How did Truenas notice that something was bad with my drive if not through smart tests? Sorry, maybe thats a very newbie question, but I thought that the goal of Smart tests was exactly this, diagnosing problems with the drive. Why does it show that every smart test except the last passed?
- From 0 to 1168 pending sectors seems like a steep increase to me in one month (since running the last smart long test). Is there some way to find out whether this pending sector count increased with time without me noticing or whether it developed in one event or a very short timespan?
- In the device statistics settings of the smartctl output it says “2734536311 N-- Spindle Motor Power-on Hours”. I don’t understand this output, my other identical drive without errors shows here about the same value as in “power on hours”. What does the N-- flag mean and how can this large a number appear here?
I hope I added every relevant information without writing to much unneccesary stuff :).
Thanks a lot for your answers, I appreciate it tremendously!
I run TrueNAS Scale TrueNAS-SCALE-23.10.2 with an i3 8100, 32GB of RAM and two mirrored Pools (1: 2 mirrored 500GB SSDs, 2: 2 mirrored 4TB HDDs). About 50% of both pools are in use. The disk in question is part of the mirrored HDD pool