Hey everyone, just finished up building out a box in the last few weeks ago. Long story short, I wanted to set up a sacalable personal NAS. It will host Plex, and all personal data. Plus, I enjoy expanding my IT skills outside of work.
Setup:
9.3-RELEASE-p28 amd64
Case: Fractal Design Node 304
Power Supply: SeaSonic SS-460FL2 460W Active PFC F3 80 PLUS Platinum Fanless ATX12V/EPS12V
Board: Asrockrack Motherboard, Mini ITX DDR3 1066 LGA 1150 E3C224D2I
CPU: Intel(R) Pentium(R) CPU G3220 @ 3.00GHz (2993.38-MHz K8-class CPU)
Memory: Crucial 16GB Kit (8GBx2) DDR3/DDR3L-1600MT/s (PC3-12800) DR x8 ECC UDIMM
OS Location: SanDisk Cruzer Fit CZ33 16GB USB 2.0 Low-Profile Flash Drive- SDCZ33-016G-B35
Drives: Seagate SEST4000VN00 4TB NAS Internal HDD
NOTE: Only one drive for now. I want continue familiarizing myself with the system before setting up Z2.
I'm still learning the output of smart tests and kernel messages as there are some concerns with the installed drive. After setting up the volume and dataset , I started encountering Kernel timeout errors after startup. Reading through one of the threads (Building, Burn-In, and Testing your FreeNAS system), I began running manual smart tests.
Anytime I run a captive test (IE: smartctl -t short -C /dev/ada0), that same timeout is thrown, interrupting the test:
However offline tests seem to be successful (according to smart):
Reading through the entire smart output, it looks like there are other errors to be concerned about, but Im not sure what to make of them yet. They may be related to the timeouts, or are a separate issue:
I also received notifications of critical alerts:
Wed, Jan 20, 2016 at 7:34 PM Device: /dev/ada0, ATA error count increased from 0 to 1
Thu, Jan 21, 2016 at 9:50 PM Device: /dev/ada0, ATA error count increased from 2 to 4
I think the above alerts came during smart tests as well.
The timeouts got me thinking about swapping the SATA cable. Unless someone recommends not too, I think that will be my first troubleshooting step. Any feedback would be much appreciated. Thanks.
Setup:
9.3-RELEASE-p28 amd64
Case: Fractal Design Node 304
Power Supply: SeaSonic SS-460FL2 460W Active PFC F3 80 PLUS Platinum Fanless ATX12V/EPS12V
Board: Asrockrack Motherboard, Mini ITX DDR3 1066 LGA 1150 E3C224D2I
CPU: Intel(R) Pentium(R) CPU G3220 @ 3.00GHz (2993.38-MHz K8-class CPU)
Memory: Crucial 16GB Kit (8GBx2) DDR3/DDR3L-1600MT/s (PC3-12800) DR x8 ECC UDIMM
OS Location: SanDisk Cruzer Fit CZ33 16GB USB 2.0 Low-Profile Flash Drive- SDCZ33-016G-B35
Drives: Seagate SEST4000VN00 4TB NAS Internal HDD
NOTE: Only one drive for now. I want continue familiarizing myself with the system before setting up Z2.
I'm still learning the output of smart tests and kernel messages as there are some concerns with the installed drive. After setting up the volume and dataset , I started encountering Kernel timeout errors after startup. Reading through one of the threads (Building, Burn-In, and Testing your FreeNAS system), I began running manual smart tests.
Anytime I run a captive test (IE: smartctl -t short -C /dev/ada0), that same timeout is thrown, interrupting the test:
Code:
Jan 22 08:36:42 FreeNAS ahcich0: Timeout on slot 8 port 0 Jan 22 08:36:42 FreeNAS ahcich0: is 00000000 cs 00000100 ss 00000000 rs 00000100 tfd d0 serr 00000000 cmd 0004c817 Jan 22 08:36:42 FreeNAS ahcich0: Timeout on slot 8 port 0 Jan 22 08:36:42 FreeNAS ahcich0: is 00000000 cs 00000300 ss 00000000 rs 00000300 tfd d0 serr 00000000 cmd 0004c817 Jan 22 08:36:42 FreeNAS ahcich0: Timeout on slot 9 port 0 Jan 22 08:36:42 FreeNAS ahcich0: is 00000000 cs 00000600 ss 00000000 rs 00000600 tfd d0 serr 00000000 cmd 0004c917
However offline tests seem to be successful (according to smart):
Code:
SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short captive Interrupted (host reset) 70% 6240 - # 2 Selective offline Completed without error 00% 6240 - # 3 Extended offline Completed without error 00% 6238 - # 4 Short offline Completed without error 00% 6229 - # 5 Extended captive Interrupted (host reset) 90% 6229 -
Reading through the entire smart output, it looks like there are other errors to be concerned about, but Im not sure what to make of them yet. They may be related to the timeouts, or are a separate issue:
Code:
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p28 amd64] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate NAS HDD Device Model: ST4000VN000-1H4168 Serial Number: S300XHMM LU WWN Device Id: 5 000c50 07560c512 Firmware Version: SC44 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: Fri Jan 22 09:18:00 2016 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: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 39) The self-test routine was interrupted by the host with a hard or soft reset. Total time to complete Offline data collection: ( 117) 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: ( 516) 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 111 099 006 Pre-fail Always - 39306576 3 Spin_Up_Time 0x0003 093 093 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 486 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 100 253 030 Pre-fail Always - 232351 9 Power_On_Hours 0x0032 093 093 000 Old_age Always - 6241 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 28 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 097 000 Old_age Always - 21475164188 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 073 051 045 Old_age Always - 27 (Min/Max 24/31) 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 - 9 193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 756 194 Temperature_Celsius 0x0022 027 049 000 Old_age Always - 27 (0 22 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 SMART Error Log Version: 1 ATA Error Count: 5 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 5 occurred at disk power-on lifetime: 6240 hours (260 days + 0 hours) When the command that caused the error occurred, the device was in an unknown state. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 51 00 00 00 00 00 Error: ABRT Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 00 00 00 00 00 00 00 ff 12:02:35.753 NOP [Abort queued commands] b0 d4 00 81 4f c2 40 00 12:02:15.597 SMART EXECUTE OFF-LINE IMMEDIATE b0 d0 01 00 4f c2 40 00 12:02:15.521 SMART READ DATA ec 00 01 00 00 00 40 00 12:02:15.514 IDENTIFY DEVICE ea 00 00 00 00 00 40 00 12:02:14.274 FLUSH CACHE EXT Error 4 occurred at disk power-on lifetime: 6229 hours (259 days + 13 hours) When the command that caused the error occurred, the device was in an unknown state. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 51 00 00 00 00 00 Error: ABRT Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 00 00 00 00 00 00 00 ff 00:52:05.721 NOP [Abort queued commands] b0 d4 00 82 4f c2 40 00 00:51:45.566 SMART EXECUTE OFF-LINE IMMEDIATE b0 d0 01 00 4f c2 40 00 00:51:45.485 SMART READ DATA ec 00 01 00 00 00 40 00 00:51:45.476 IDENTIFY DEVICE ea 00 00 00 00 00 40 00 00:51:44.172 FLUSH CACHE EXT Error 3 occurred at disk power-on lifetime: 6229 hours (259 days + 13 hours) When the command that caused the error occurred, the device was in an unknown state. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 51 00 00 00 00 00 Error: ABRT Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 00 00 00 00 00 00 00 ff 00:16:58.564 NOP [Abort queued commands] b0 d4 00 81 4f c2 40 00 00:16:38.408 SMART EXECUTE OFF-LINE IMMEDIATE b0 d0 01 00 4f c2 40 00 00:16:38.326 SMART READ DATA ec 00 01 00 00 00 40 00 00:16:38.318 IDENTIFY DEVICE 60 00 20 90 8d 80 48 00 00:16:38.058 READ FPDMA QUEUED Error 2 occurred at disk power-on lifetime: 6228 hours (259 days + 12 hours) When the command that caused the error occurred, the device was in an unknown state. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 51 00 00 00 00 00 Error: ABRT Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 00 00 00 00 00 00 00 ff 03:31:19.669 NOP [Abort queued commands] b0 d4 00 81 4f c2 40 00 03:30:59.515 SMART EXECUTE OFF-LINE IMMEDIATE b0 d0 01 00 4f c2 40 00 03:30:59.445 SMART READ DATA ec 00 01 00 00 00 40 00 03:30:59.437 IDENTIFY DEVICE ea 00 00 00 00 00 40 00 03:30:56.877 FLUSH CACHE EXT Error 1 occurred at disk power-on lifetime: 6228 hours (259 days + 12 hours) When the command that caused the error occurred, the device was in an unknown state. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 51 00 00 00 00 00 Error: ABRT Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 00 00 00 00 00 00 00 ff 03:12:36.389 NOP [Abort queued commands] b0 d4 00 81 4f c2 40 00 03:12:16.234 SMART EXECUTE OFF-LINE IMMEDIATE b0 d0 01 00 4f c2 40 00 03:12:16.158 SMART READ DATA ec 00 01 00 00 00 40 00 03:12:16.150 IDENTIFY DEVICE ea 00 00 00 00 00 40 00 03:12:11.789 FLUSH CACHE EXT SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short captive Interrupted (host reset) 70% 6240 - # 2 Selective offline Completed without error 00% 6240 - # 3 Extended offline Completed without error 00% 6238 - # 4 Short offline Completed without error 00% 6229 - # 5 Extended captive Interrupted (host reset) 90% 6229 - # 6 Short captive Interrupted (host reset) 70% 6229 - # 7 Short captive Interrupted (host reset) 70% 6228 - # 8 Short captive Interrupted (host reset) 70% 6228 - # 9 Selective offline Completed without error 00% 6228 - #10 Selective offline Completed without error 00% 6228 - #11 Selective offline Completed without error 00% 6228 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 10 20 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.
I also received notifications of critical alerts:
Wed, Jan 20, 2016 at 7:34 PM Device: /dev/ada0, ATA error count increased from 0 to 1
Thu, Jan 21, 2016 at 9:50 PM Device: /dev/ada0, ATA error count increased from 2 to 4
I think the above alerts came during smart tests as well.
The timeouts got me thinking about swapping the SATA cable. Unless someone recommends not too, I think that will be my first troubleshooting step. Any feedback would be much appreciated. Thanks.