arameen
Contributor
- Joined
- Sep 4, 2014
- Messages
- 145
Hi
I am having an issue with a harddrive that gets faulted from time to time with lots of read, write and checksum errors making the zpool state degraded.
I know which harddrive is causing the problem, but I am not sure what the problem is.
If the harddrive is dying? doesn't need to be replaced yet? or the problem is a cable or something else ?!
I noticed that restarting the server usually puts the harddrive back online and in a resilvering statues until it is done. Then it continues to function online until some time pass and this happens again. And I restart and so it goes.
I logged it manually and this happens every 2-3 weeks. (This harddrive is not even half a year old)
I have been looking for a troubleshooting guide on the forum but found nothing
I would like to understand how to interpret these messages and how to proceed with this.
I don't need an advice saying "Replace the disk" without explaining what all these messages mean
Actually I already have a disk here ready to replace if needed. But I want to understand this messages so I can handle future issues myself next time and troubleshoot other issues easier :D
I am not even sure I am doing the correct SMART commands
so feel free to comment that too
I tried to longSMARTtest the drive several times with "smartctl -t long /dev/da6".
But it failed, if I do understand the "smartctl -l selftest /dev/da6" output correct:
And the longer outputresult from "smartctl -a /dev/da6" says:
FreeNAS-9.3
Raid z3 pool
ECC RAM
I am having an issue with a harddrive that gets faulted from time to time with lots of read, write and checksum errors making the zpool state degraded.
I know which harddrive is causing the problem, but I am not sure what the problem is.
If the harddrive is dying? doesn't need to be replaced yet? or the problem is a cable or something else ?!
I noticed that restarting the server usually puts the harddrive back online and in a resilvering statues until it is done. Then it continues to function online until some time pass and this happens again. And I restart and so it goes.
I logged it manually and this happens every 2-3 weeks. (This harddrive is not even half a year old)
I have been looking for a troubleshooting guide on the forum but found nothing
I would like to understand how to interpret these messages and how to proceed with this.
I don't need an advice saying "Replace the disk" without explaining what all these messages mean
Actually I already have a disk here ready to replace if needed. But I want to understand this messages so I can handle future issues myself next time and troubleshoot other issues easier :D
I am not even sure I am doing the correct SMART commands
I tried to longSMARTtest the drive several times with "smartctl -t long /dev/da6".
But it failed, if I do understand the "smartctl -l selftest /dev/da6" output correct:
Code:
=== START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed: read failure 90% 7675 110904936 # 2 Short offline Completed without error 00% 7674 - # 3 Extended offline Completed: read failure 90% 7162 323967016 # 4 Extended offline Completed: read failure 90% 7150 229286488
And the longer outputresult from "smartctl -a /dev/da6" says:
Code:
=== START OF INFORMATION SECTION === Model Family: Seagate NAS HDD Device Model: ST4000VN000-1H4168 Serial Number: S300ZDEF LU WWN Device Id: 5 000c50 0758aa501 Firmware Version: SC46 User Capacity: 4,000,787,030,016 bytes [4.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5900 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Jan 24 21:43:39 2016 CET 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: ( 117) seconds. Offline data collection capabilities: (0x73) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No 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: ( 533) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x10bd) 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 FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 109 093 006 Pre-fail Always - 232940963 3 Spin_Up_Time 0x0003 092 092 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 72 5 Reallocated_Sector_Ct 0x0033 097 097 010 Pre-fail Always - 4464 7 Seek_Error_Rate 0x000f 082 060 030 Pre-fail Always - 174781515 9 Power_On_Hours 0x0032 092 092 000 Old_age Always - 7674 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 72 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 1214 188 Command_Timeout 0x0032 100 098 000 Old_age Always - 62 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 071 060 045 Old_age Always - 29 (Min/Max 18/32) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 72 193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 72 194 Temperature_Celsius 0x0022 029 040 000 Old_age Always - 29 (0 18 0 0 0) 197 Current_Pending_Sector 0x0012 099 098 000 Old_age Always - 296 198 Offline_Uncorrectable 0x0010 099 098 000 Old_age Offline - 296 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 SMART Error Log Version: 1 ATA Error Count: 1214 (device log contains only the most recent five errors) CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 1214 occurred at disk power-on lifetime: 7646 hours (318 days + 14 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 c0 ff ff ff 4f 00 47d+06:34:49.832 READ FPDMA QUEUED 60 00 10 90 02 40 40 00 47d+06:34:49.828 READ FPDMA QUEUED ef 10 02 00 00 00 00 00 47d+06:34:49.755 SET FEATURES [Enable SATA feature] ef 02 00 00 00 00 00 00 47d+06:34:49.755 SET FEATURES [Enable write cache] ef aa 00 00 00 00 00 00 47d+06:34:49.755 SET FEATURES [Enable read look-ahead] Error 1213 occurred at disk power-on lifetime: 7646 hours (318 days + 14 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 10 90 02 40 40 00 47d+06:34:37.581 READ FPDMA QUEUED 60 00 c0 ff ff ff 4f 00 47d+06:34:37.577 READ FPDMA QUEUED 60 00 10 ff ff ff 4f 00 47d+06:34:37.577 READ FPDMA QUEUED 60 00 10 ff ff ff 4f 00 47d+06:34:37.577 READ FPDMA QUEUED ef 10 02 00 00 00 00 00 47d+06:34:37.352 SET FEATURES [Enable SATA feature] Error 1212 occurred at disk power-on lifetime: 7646 hours (318 days + 14 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 10 ff ff ff 4f 00 47d+06:34:28.827 READ FPDMA QUEUED 60 00 10 ff ff ff 4f 00 47d+06:34:28.827 READ FPDMA QUEUED 60 00 10 90 02 40 40 00 47d+06:34:28.827 READ FPDMA QUEUED 60 00 c0 ff ff ff 4f 00 47d+06:34:28.827 READ FPDMA QUEUED 60 00 80 ff ff ff 4f 00 47d+06:34:28.827 READ FPDMA QUEUED Error 1211 occurred at disk power-on lifetime: 7646 hours (318 days + 14 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 20 ff ff ff 4f 00 47d+06:34:25.080 READ FPDMA QUEUED 60 00 80 ff ff ff 4f 00 47d+06:34:25.077 READ FPDMA QUEUED 61 00 20 ff ff ff 4f 00 47d+06:34:25.077 WRITE FPDMA QUEUED 60 00 00 ff ff ff 4f 00 47d+06:34:25.077 READ FPDMA QUEUED ea 00 00 00 00 00 00 00 47d+06:34:25.076 FLUSH CACHE EXT Error 1210 occurred at disk power-on lifetime: 7646 hours (318 days + 14 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 00 ff ff ff 4f 00 47d+06:34:20.326 READ FPDMA QUEUED 60 00 20 ff ff ff 4f 00 47d+06:34:20.326 READ FPDMA QUEUED 60 00 20 ff ff ff 4f 00 47d+06:34:20.326 READ FPDMA QUEUED 60 00 20 ff ff ff 4f 00 47d+06:34:20.326 READ FPDMA QUEUED 60 00 20 ff ff ff 4f 00 47d+06:34:20.326 READ FPDMA QUEUED SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00% 7674 - # 2 Extended offline Completed: read failure 90% 7162 323967016 # 3 Extended offline Completed: read failure 90% 7150 229286488 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.
FreeNAS-9.3
Raid z3 pool
ECC RAM