confusing mix of errors and no errors (offline uncorrectable sectors, but zpool shows fine)

Status
Not open for further replies.

stansanders

Cadet
Joined
Dec 23, 2018
Messages
3
I got an email from one of my boxes with the following:

Device: /dev/da7 [SAT]: ATA error count increased from 0 to 2
Device: /dev/da7 [SAT]: 8 Offline uncorrectable sectors
Device: /dev/da7 [SAT]: 8 Currently unreadable (pending) sectors

This particular drive (da7) was replaced recently when the drive in its slot failed completely. It is a new drive and everything was showing fine until this point.

I SSH'd into the machine and checked zpool status, which shows as fine (state online for everything, 0 for read/write/cks across the board)

I did smartctl -a /dev/da7 and subsequently smartctl -t short /dev/da7, the results of which are below. My research suggests that the kinds of errors this drive is having indicate it's failing, but I'm confused as smart seems to think this drive is healthy. The pool it lives in is a 6-drive raid Z2 living inside a poweredge r510 with a swapped and flashed LSI card. I'd like to understand this situation better for both my own administrative knowledge as well as knowing whether to start the process of RMA'ing this drive as it's quite new and still under warranty.

smartctl results
Code:
root@freenas:~ # smartctl -a /dev/da7
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 3.5
Device Model:     ST2000DM006-2DM164
Serial Number:    Z4ZCDT2J
LU WWN Device Id: 5 000c50 0b3ac15dc
Firmware Version: CC26
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 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 Dec 23 13:25:14 2018 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:  (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:                (   89) seconds.
Offline data collection
capabilities:                    (0x73) SMART execute Offline immediate.
                                        Auto Offline data collection on/off supp                                                                                                                                                             ort.
                                        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:        ( 217) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x1085) SCT Status 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   099   006    Pre-fail  Always       - 21385288
  3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       - 0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       - 1
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       - 0
  7 Seek_Error_Rate         0x000f   066   060   030    Pre-fail  Always       - 3697563
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       - 211
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       - 0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       - 1
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       - 0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       - 0
187 Reported_Uncorrect      0x0032   097   097   000    Old_age   Always       - 3
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       - 0 0 0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       - 0
190 Airflow_Temperature_Cel 0x0022   072   070   045    Old_age   Always       - 28 (Min/Max 21/30)
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       - 0
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       - 3
194 Temperature_Celsius     0x0022   028   040   000    Old_age   Always       - 28 (0 21 0 0 0)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       - 8
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      - 8
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       - 0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      - 211h+32m+54.611s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      - 3457523060
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      - 3214992952

SMART Error Log Version: 1
ATA Error Count: 3
        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 3 occurred at disk power-on lifetime: 203 hours (8 days + 11 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: WP 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
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 08 ff ff ff 4f 00   8d+11:56:26.131  WRITE FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:56:26.131  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:56:26.131  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:56:26.131  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:56:26.131  READ FPDMA QUEUED

Error 2 occurred at disk power-on lifetime: 203 hours (8 days + 11 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 f8 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED

Error 1 occurred at disk power-on lifetime: 203 hours (8 days + 11 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 d0 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.




Code:
root@freenas:~ # smartctl -t short /dev/da7
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 1 minutes for test to complete.
Test will complete after Sun Dec 23 13:30:54 2018

Use smartctl -X to abort test.
root@freenas:~ # smartctl -l selftest /dev/da7
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== 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  Short offline       Self-test routine in progress 10%       212         -

root@freenas:~ # smartctl -l selftest /dev/da7
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== 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  Short offline       Completed without error       00%       212         -

root@freenas:~ #
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Run a long test on that drive and post the results. You should have burned that drive in before placing it in service.
 

stansanders

Cadet
Joined
Dec 23, 2018
Messages
3
Run a long test on that drive and post the results. You should have burned that drive in before placing it in service.
fair point, will report back with results in approximately 217 minutes.

Code:
root@freenas:~ # smartctl -t long /dev/da7
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 217 minutes for test to complete.
Test will complete after Sun Dec 23 19:08:14 2018

Use smartctl -X to abort test.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
It's not in the least surprising that a disk will show errors and the pool not; in fact, it's very common (and quite possibly the norm). You need to schedule regular SMART tests on the disk, but the bad sectors are cause for concern. It's a pity we don't have some kind of resource for hard disk troubleshooting.
 

stansanders

Cadet
Joined
Dec 23, 2018
Messages
3
long smart test passed as well.


Code:
root@freenas:~ # smartctl -a /dev/da7
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 3.5
Device Model:     ST2000DM006-2DM164
Serial Number:    Z4ZCDT2J
LU WWN Device Id: 5 000c50 0b3ac15dc
Firmware Version: CC26
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 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 Dec 23 19:11:58 2018 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:  (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:                (   89) 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:        ( 217) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x1085) SCT Status 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   099   006    Pre-fail  Always       -       23022224
  3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       1
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   066   060   030    Pre-fail  Always       -       3733044
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       217
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       1
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   097   097   000    Old_age   Always       -       3
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0 0 0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   072   070   045    Old_age   Always       -       28 (Min/Max 21/30)
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       -       0
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       3
194 Temperature_Celsius     0x0022   028   040   000    Old_age   Always       -       28 (0 21 0 0 0)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       8
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       8
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       217h+19m+38.180s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       3464554452
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       3215227651

SMART Error Log Version: 1
ATA Error Count: 3
        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 3 occurred at disk power-on lifetime: 203 hours (8 days + 11 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: WP 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
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 08 ff ff ff 4f 00   8d+11:56:26.131  WRITE FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:56:26.131  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:56:26.131  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:56:26.131  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:56:26.131  READ FPDMA QUEUED

Error 2 occurred at disk power-on lifetime: 203 hours (8 days + 11 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 f8 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:48:56.128  READ FPDMA QUEUED

Error 1 occurred at disk power-on lifetime: 203 hours (8 days + 11 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 d0 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00   8d+11:39:36.773  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%       217         -
# 2  Short offline       Completed without error       00%       212         -

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.

 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Keep an eye on it and have another spare ready. I've had a Seagate drive throw hundreds of errors and then live for quite some time afterwards trouble free.

And get smart tests setup on your pool for all your drives so you're not caught one day with a dead pool without any warning.
 
Status
Not open for further replies.
Top