pechkin000
Explorer
- Joined
- Jan 24, 2014
- Messages
- 59
I have a question in regards to the situation I am experiencing. I got an email notification: " Critical Alert - the volume backups (ZFS) state is DEGRADED: One or more devices are faulted in response to persistent errors. Sufficient replicas exist for the pool to continue functioning in a degraded state."
So as expected my zpool status output looks like this:
I wanted to see what the errors were and when they happened so I ran the short and the conveyance tests
but when i checked it showed no errors at all:
At that point the rebooted the server and when it came back up, zpool status showed no errors, the disk was back online and part of the pool. All of this happened right after the upgrade to 9.3. This EXACT thing happened two days ago with that same drive pack on 9.2. I have no problem replacing the drive, actually got the replacement ready to be swapped out tomorrow when I get back to the office, but I am just trying to understand what this means and if it is indeed the drive and not something else. As in why I am not getting any errors at all out of smartctl tests. I run regular scrubs and long tests alternating weekly and not a peep from any of them until this alert two days ago, then back to the pool and then faulted again after upgrade.
Could anyone shed some light on this? Is there another test I can run to verify there is actually something wrong with the drive and not a sata cord or anything of that nature? I have a pretty standard LSI MegaRAID SAS 9240-8Gi controller flashed to IT mode so I doubt its the card...
On a separate note I took a chance and set up this server with greens instead of reds as it is supposed to be a target for the replications tasks from the main freenas server, to save a bit when i was buying all 8 drives at once, but i figured if they die I will replace them with reds one at a time, any word of caution against mixing reds and greens in the same pool?
Thanks a lot for any help!
EDIT:
I remebered to do smartctl -x so the bottom part of the output showed this:
I dont really know what those error codes are I had no errors like that on other drives so obvious something is wrong but can someone interpret what this means and if it is indeed the drive not something else?
So as expected my zpool status output looks like this:
Code:
[root@replicator] ~# zpool status pool: backups state: DEGRADED status: One or more devices are faulted in response to persistent errors. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Replace the faulted device, or use 'zpool clear' to mark the device repaired. scan: scrub repaired 0 in 2h49m with 0 errors on Sun Nov 30 02:49:34 2014 config: NAME STATE READ WRITE CKSUM backups DEGRADED 0 0 0 raidz3-0 DEGRADED 0 0 0 gptid/7e0742c8-5557-11e4-a84e-ac220b8c944c ONLINE 0 0 0 gptid/7e8abe61-5557-11e4-a84e-ac220b8c944c ONLINE 0 0 0 gptid/7effff0d-5557-11e4-a84e-ac220b8c944c FAULTED 7 14.6K 2 too many errors gptid/7f8d5bca-5557-11e4-a84e-ac220b8c944c ONLINE 0 0 0 gptid/8016f0cf-5557-11e4-a84e-ac220b8c944c ONLINE 0 0 0 gptid/8083abb3-5557-11e4-a84e-ac220b8c944c ONLINE 0 0 0 gptid/80f31598-5557-11e4-a84e-ac220b8c944c ONLINE 0 0 0 gptid/8163ab25-5557-11e4-a84e-ac220b8c944c ONLINE 0 0 0 errors: No known data errors
I wanted to see what the errors were and when they happened so I ran the short and the conveyance tests
but when i checked it showed no errors at all:
Code:
[root@replicator] ~# smartctl -a /dev/da2 smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p5 amd64] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Green (AF, SATA 6Gb/s) Device Model: WDC WD40EZRX-00SPEB0 Serial Number: WD-WCC4EFFJNHVE LU WWN Device Id: 5 0014ee 20aa1b763 Firmware Version: 80.00A80 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: Tue Dec 9 00:32:22 2014 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: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (54600) 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: ( 546) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x7035) SCT Status 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 175 175 021 Pre-fail Always - 8216 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 6 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 097 097 000 Old_age Always - 2603 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 - 6 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 5 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 2 194 Temperature_Celsius 0x0022 120 116 000 Old_age Always - 32 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 200 200 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 Conveyance offline Completed without error 00% 2603 - # 2 Short offline Completed without error 00% 2603 - # 3 Short offline Completed without error 00% 1262 - # 4 Short offline Completed without error 00% 1238 - # 5 Short offline Completed without error 00% 1166 - # 6 Short offline Completed without error 00% 1142 - # 7 Short offline Completed without error 00% 1118 - # 8 Short offline Completed without error 00% 1095 - # 9 Short offline Completed without error 00% 1071 - #10 Short offline Completed without error 00% 998 - #11 Short offline Completed without error 00% 975 - #12 Short offline Completed without error 00% 950 - #13 Short offline Completed without error 00% 927 - #14 Short offline Completed without error 00% 903 - #15 Short offline Completed without error 00% 831 - #16 Short offline Completed without error 00% 807 - #17 Short offline Completed without error 00% 783 - #18 Short offline Completed without error 00% 759 - #19 Short offline Completed without error 00% 735 - #20 Short offline Completed without error 00% 663 - #21 Short offline Completed without error 00% 639 - 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.
At that point the rebooted the server and when it came back up, zpool status showed no errors, the disk was back online and part of the pool. All of this happened right after the upgrade to 9.3. This EXACT thing happened two days ago with that same drive pack on 9.2. I have no problem replacing the drive, actually got the replacement ready to be swapped out tomorrow when I get back to the office, but I am just trying to understand what this means and if it is indeed the drive and not something else. As in why I am not getting any errors at all out of smartctl tests. I run regular scrubs and long tests alternating weekly and not a peep from any of them until this alert two days ago, then back to the pool and then faulted again after upgrade.
Could anyone shed some light on this? Is there another test I can run to verify there is actually something wrong with the drive and not a sata cord or anything of that nature? I have a pretty standard LSI MegaRAID SAS 9240-8Gi controller flashed to IT mode so I doubt its the card...
On a separate note I took a chance and set up this server with greens instead of reds as it is supposed to be a target for the replications tasks from the main freenas server, to save a bit when i was buying all 8 drives at once, but i figured if they die I will replace them with reds one at a time, any word of caution against mixing reds and greens in the same pool?
Thanks a lot for any help!
EDIT:
I remebered to do smartctl -x so the bottom part of the output showed this:
Code:
SATA Phy Event Counters (GP Log 0x11) ID Size Value Description 0x0001 2 0 Command failed due to ICRC error 0x0002 2 837 R_ERR response for data FIS 0x0003 2 0 R_ERR response for device-to-host data FIS 0x0004 2 837 R_ERR response for host-to-device data FIS 0x0005 2 8 R_ERR response for non-data FIS 0x0006 2 0 R_ERR response for device-to-host non-data FIS 0x0007 2 8 R_ERR response for host-to-device non-data FIS 0x0008 2 0 Device-to-host non-data FIS retries 0x0009 2 369 Transition from drive PhyRdy to drive PhyNRdy 0x000a 2 370 Device-to-host register FISes sent due to a COMRESET 0x000b 2 199 CRC errors within host-to-device FIS 0x000f 2 194 R_ERR response for host-to-device data FIS, CRC 0x0012 2 5 R_ERR response for host-to-device non-data FIS, CRC 0x8000 4 4812775 Vendor specific
I dont really know what those error codes are I had no errors like that on other drives so obvious something is wrong but can someone interpret what this means and if it is indeed the drive not something else?
Last edited: