Chksum errs, CAM Timeouts, SMRT err logs, & More

Status
Not open for further replies.

glitchv2

Cadet
Joined
Sep 27, 2016
Messages
4
So, I've made a new FreeNAS white box build, (since my old build decided to kick the bucket (again) with a second C2550d4i motherboard dying in six months -Still salty about that).

Build:
Proc: Dual Intel E5-2670
Mobo: ASRock EP2C602-4L/D16
Mem: 4 Samsung 16GB ECC RDIMM DDR3
HDD: 7, 6Tb WD Red Pro Drives (Currently one on RMA)
HDD: 1, 2TB Seagate Scratch disk
Case: SuperMicro 3U CSE-826TQ-R800B
Backplane: Direct Attached BPN-SAS-836TQ
PSU: Dual 800 Watt (66amp on 12v rail)

# uname -a
FreeBSD meinkampf.NAS 10.3-STABLE FreeBSD 10.3-STABLE #0 1a8180b(9.10-STABLE): Tue Jun 7 13:16:10 PDT 2016 root@build.ixsystems.com:/tank/home/nightlies/build-freenas9/_BE/objs/tank/home/nightlies/build-freenas9/_BE/trueos/sys/FreeNAS.amd64 amd64


I ran about 25 hours of prime95, about 36 hours of memtest v5.01 - both without an issue, ran dd on WD Red Pro drives, then a SMART long without any issues as well.

Fast forward about two weeks (had a drive die in-between then and now, resilvered just fine with no issues), and now issues are starting to popup. Just received an email today "The volume Mass_Storage (ZFS) state is ONLINE: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected." So I ssh into my box and do a # zpool status Mass_Storage and these are the results:
Code:
  pool: Mass_Storage
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
  attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
  using 'zpool clear' or replace the device with 'zpool replace'.
  see: http://illumos.org/msg/ZFS-8000-9P
  scan: resilvered 2.34T in 6h3m with 0 errors on Sat Sep 24 18:19:04 2016
config:

  NAME  STATE  READ WRITE CKSUM
  Mass_Storage  ONLINE  0  0  0
  raidz2-0  ONLINE  0  0  1
  gptid/51a4339e-01bd-11e6-beec-d05099c06d62  ONLINE  0  0  0
  gptid/52615aa9-01bd-11e6-beec-d05099c06d62  ONLINE  0  0  0
  gptid/5317ca1e-01bd-11e6-beec-d05099c06d62  ONLINE  0  0  0
  gptid/53da7962-01bd-11e6-beec-d05099c06d62  ONLINE  0  0  6
  gptid/54686234-01bd-11e6-beec-d05099c06d62  ONLINE  0  0  3
  gptid/eb2f8951-0cdc-11e6-835c-d05099c06d62  ONLINE  0  0  14



After I see that, just for kicks and giggles, I check out # tail -n 50 /var/log/messages and get this:
http://pastebin.com/ZpxfHnjp
^-- This actually goes on for a few hours

SATA Controllers:
ahci0: <Marvell 88SE9230 AHCI SATA controller> port 0x7050-0x7057,0x7040-0x7043,0x7030-0x7037,0x7020-0x7023,0x7000-0x701f mem 0xdf910000-0xdf9107ff irq 16 at device 0.0 on pci10
ahci1: <Intel Patsburg AHCI SATA controller> port 0xb070-0xb077,0xb060-0xb063,0xb050-0xb057,0xb040-0xb043,0xb020-0xb03f mem 0xdfa01000-0xdfa017ff irq 19 at device 31.2 on pci0


And then check the Drive SMART data (which is the same output for ada0,1,2,6)
ada0 (gptid eb2f8951) is on ahcich0 (Marvell)
ada1 (gptid 53da7962) is on ahcich1 (Marvell)
ada2 (gptid 54686234) is on ahcich2 (Marvell)
ada6 (gptid 5317ca1e) is on ahcich12 (Intel)


Code:
# smartctl -q noserial -a /dev/ada0
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:  WDC WD6001FFWX-68Z39N0
Firmware Version: 81.00A81
User Capacity:  6,001,175,126,016 bytes [6.00 TB]
Sector Sizes:  512 bytes logical, 4096 bytes physical
Rotation Rate:  7200 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 Sep 27 20:48:51 2016 CDT
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:  (0x84) Offline data collection activity
  was suspended by an interrupting command  from host.
  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:  (  90) seconds.
Offline data collection
capabilities:  (0x7b) SMART execute Offline immediate.
  Auto Offline data collection on/off supp  ort.
  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:  ( 582) minutes.
Conveyance self-test routine
recommended polling time:  (  6) minutes.
SCT capabilities:  (0x003d) 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  100  051  Pre-fail  Always  -  0
  3 Spin_Up_Time  0x0027  185  100  021  Pre-fail  Always  -  9725
  4 Start_Stop_Count  0x0032  100  100  000  Old_age  Always  -  17
  5 Reallocated_Sector_Ct  0x0033  200  200  140  Pre-fail  Always  -  0
  7 Seek_Error_Rate  0x002e  200  100  000  Old_age  Always  -  0
  9 Power_On_Hours  0x0032  096  096  000  Old_age  Always  -  3599
 10 Spin_Retry_Count  0x0032  100  100  000  Old_age  Always  -  0
 11 Calibration_Retry_Count 0x0032  100  100  000  Old_age  Always  -  0
 12 Power_Cycle_Count  0x0032  100  100  000  Old_age  Always  -  14
 16 Unknown_Attribute  0x0022  001  199  000  Old_age  Always  -  30956395011
183 Runtime_Bad_Block  0x0032  100  100  000  Old_age  Always  -  0
192 Power-Off_Retract_Count 0x0032  200  100  000  Old_age  Always  -  4
193 Load_Cycle_Count  0x0032  200  100  000  Old_age  Always  -  90
194 Temperature_Celsius  0x0022  121  113  000  Old_age  Always  -  31
196 Reallocated_Event_Count 0x0032  200  100  000  Old_age  Always  -  0
197 Current_Pending_Sector  0x0032  200  100  000  Old_age  Always  -  0
198 Offline_Uncorrectable  0x0030  200  100  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  100  000  Old_age  Offline  -  0

SMART Error Log Version: 1
ATA Error Count: 200 (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 200 occurred at disk power-on lifetime: 3594 hours (149 days + 18 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
  -- -- -- -- -- -- --
  40 41 08 70 22 49 40  Error:

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC  Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------

Error 199 occurred at disk power-on lifetime: 3594 hours (149 days + 18 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
  -- -- -- -- -- -- --
  10 41 08 e8 03 40 40  Error:

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC  Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------

Error 198 occurred at disk power-on lifetime: 3594 hours (149 days + 18 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
  -- -- -- -- -- -- --
  10 41 08 08 db 75 40  Error:

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC  Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------

Error 197 occurred at disk power-on lifetime: 3594 hours (149 days + 18 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
  -- -- -- -- -- -- --
  10 41 08 e0 d3 75 40  Error:

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC  Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------

Error 196 occurred at disk power-on lifetime: 3594 hours (149 days + 18 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
  -- -- -- -- -- -- --
  10 41 08 58 d0 75 40  Error:

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC  Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------

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%  3572  -
# 2  Extended offline  Completed without error  00%  3251  -
# 3  Extended offline  Completed without error  00%  303  -
# 4  Short offline  Completed without error  00%  20  -

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.



I am honestly unsure where to go from here. Are my drives failing, or do I have some other strange/abnormal errors, or, is Marvell that bad of a SATA chipset? I do have a backup of important data, but I'd rather not have to do all the transferring again if at all possible.

Thank you all for your help in advance!
If I'm missing any info please let me know!
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
I m ow you referenced dd with the drives, but how did you burn them in? Could it just be a dodgy drive?

How are the drives connected to the beastly 12V rail?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Marvel sata ports will have timeout issues as shouldn't be used.

Sent from my Nexus 5X using Tapatalk
 

glitchv2

Cadet
Joined
Sep 27, 2016
Messages
4
This is very likely the cause.
I should probably get an IT Flashed Raid card then, shouldn't I? Any recommendations with either 4 SAS ports (to sata) cards?

I m ow you referenced dd with the drives, but how did you burn them in? Could it just be a dodgy drive?
How are the drives connected to the beastly 12V rail?

As for burning them in, wrote to each one ( # dd if=/dev/zero of=/dev/ada${x} ) for a minimum of 24 hours each. and then read from them to verify that everything was zero (nul) with dd if=/dev/ada${x} | grep -zq . && echo non zero and It'd be 3 dodgy drives then, which seems highly unlikely??

And for how they're connect to the rail, it's got 4 molex to backplane then backplane to drives. (Picture attached, is the back view of it)

Marvel sata ports will have timeout issues as shouldn't be used.
Sent from my Nexus 5X using Tapatalk

And here I thought I did all my research :(. Alas, live and let learn... But theoretically I shouldn't have any issues with Intel ones, correct?
 

Attachments

  • 4713_1.jpg
    4713_1.jpg
    31.6 KB · Views: 339

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Intel are perfectly good.

Sent from my Nexus 5X using Tapatalk
 

glitchv2

Cadet
Joined
Sep 27, 2016
Messages
4
UPDATE
So, I woke up this morning and found that 4 drives have dropped from the array and are currently not found by the BIOS/UEFI, or freenas itself, and is shown as "UNKNOWN". Two of the drives were on the Intel controller, and the other two were on the Marvell controller. When I pull the drives and plug it into a Win7x64 box, the drives are seen (Unknown partition format), did this to a scratch disk I had laying around, formatted it, and windows was able to use the drive just fine. I did try and run a
Code:
 # smartctl -long /dev/ada0 
and it put this out after a few hours interrupted (host reset) , though I did not reset the server, the drive, or lose power (UPS with an ETA run time of ~ 3 hours)

Any of you smart people have any ideas? Do I still have my data, or is it all toast and should just re-format now? I do have two M1015's on the way that I will be flashing to IT mode that should be here in the next day or two, if that would help at all?

Many thanks all
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
So what's the smart data say?

Sent from my Nexus 5X using Tapatalk
 

glitchv2

Cadet
Joined
Sep 27, 2016
Messages
4
So, this is what the SMART is from the same devices after plugging them into the new M1015 (IT Mode)

So far, no issues and the drives spun right up. Doing a scrub right now to see how it reacts and how it handles. I'm going to guess both SATA chip sets are erroneous or on the fritz

Code:
# smartctl -q noserial -a /dev/da*
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:  WDC WD6001FFWX-68Z39N0
Firmware Version: 81.00A81
User Capacity:  6,001,175,126,016 bytes [6.00 TB]
Sector Sizes:  512 bytes logical, 4096 bytes physical
Rotation Rate:  7200 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 Oct  4 22:22:08 2016 CDT
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:  (  90) 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:  ( 574) minutes.
Conveyance self-test routine
recommended polling time:  (  6) minutes.
SCT capabilities:  (0x003d) 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  100  051  Pre-fail  Always  -  0
  3 Spin_Up_Time  0x0027  217  100  021  Pre-fail  Always  -  8133
  4 Start_Stop_Count  0x0032  100  100  000  Old_age  Always  -  28
  5 Reallocated_Sector_Ct  0x0033  200  200  140  Pre-fail  Always  -  0
  7 Seek_Error_Rate  0x002e  100  100  000  Old_age  Always  -  0
  9 Power_On_Hours  0x0032  095  095  000  Old_age  Always  -  3788
 10 Spin_Retry_Count  0x0032  100  100  000  Old_age  Always  -  0
 11 Calibration_Retry_Count 0x0032  100  100  000  Old_age  Always  -  0
 12 Power_Cycle_Count  0x0032  100  100  000  Old_age  Always  -  24
 16 Unknown_Attribute  0x0022  005  195  000  Old_age  Always  -  92056711542
183 Runtime_Bad_Block  0x0032  100  100  000  Old_age  Always  -  0
192 Power-Off_Retract_Count 0x0032  200  100  000  Old_age  Always  -  11
193 Load_Cycle_Count  0x0032  200  100  000  Old_age  Always  -  19
194 Temperature_Celsius  0x0022  116  111  000  Old_age  Always  -  36
196 Reallocated_Event_Count 0x0032  200  100  000  Old_age  Always  -  0
197 Current_Pending_Sector  0x0032  200  100  000  Old_age  Always  -  0
198 Offline_Uncorrectable  0x0030  200  100  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  100  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  Short offline  Completed without error  00%  3624  -
# 2  Extended offline  Completed without error  00%  3541  -
# 3  Short offline  Completed without error  00%  3456  -
# 4  Short offline  Completed without error  00%  3229  -
# 5  Extended offline  Completed without error  00%  3144  -
# 6  Short offline  Completed without error  00%  3061  -
# 7  Short offline  Completed without error  00%  2892  -
# 8  Extended offline  Completed without error  00%  2809  -
# 9  Short offline  Completed without error  00%  2724  -
#10  Short offline  Completed without error  00%  2485  -
#11  Extended offline  Completed without error  00%  2403  -
#12  Short offline  Completed without error  00%  2317  -
#13  Short offline  Completed without error  00%  2149  -
#14  Extended offline  Completed without error  00%  2064  -
#15  Short offline  Completed without error  00%  1981  -
#16  Short offline  Completed without error  00%  1765  -
#17  Extended offline  Completed without error  00%  1680  -
#18  Short offline  Completed without error  00%  1598  -
#19  Short offline  Completed without error  00%  1430  -
#20  Extended offline  Completed without error  00%  1346  -
#21  Short offline  Completed without error  00%  1262  -

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.

 
Status
Not open for further replies.
Top