Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

SOLVED Two DEGRADED disks out of 3 in raidz1

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
Hi, in a FreeNAS-11.0-U1 (aa82cc58d) I found this:

1624913713613.png


Last week I found one disk (ada2) was in an error state (I don't have a screenshot) and bought a new one and replaced it. At that moment ada0 and ada1 where ONLINE, but now I found them are in a DEGRADED state, what can have caused that?.

Here's the smartctl -x for ada0:

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

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Skyhawk
Device Model:     ST4000VX007-2DT166
Serial Number:    ZM415GCE
LU WWN Device Id: 5 000c50 0c59735e6
Firmware Version: CV11
User Capacity:    4,000,787,030,016 bytes [4.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5980 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
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:    Mon Jun 28 14:01:30 2021 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: 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:         (  591) 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:      ( 667) minutes.
Conveyance self-test routine
recommended polling time:      (   2) minutes.
SCT capabilities:            (0x50bd)    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          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR--   077   064   044    -    54778424
  3 Spin_Up_Time            PO----   094   093   000    -    0
  4 Start_Stop_Count        -O--CK   100   100   020    -    28
  5 Reallocated_Sector_Ct   PO--CK   100   100   010    -    0
  7 Seek_Error_Rate         POSR--   092   060   045    -    1591862378
  9 Power_On_Hours          -O--CK   091   091   000    -    8399h+00m+00.000s
 10 Spin_Retry_Count        PO--C-   100   100   097    -    0
 12 Power_Cycle_Count       -O--CK   100   100   020    -    28
184 End-to-End_Error        -O--CK   100   100   099    -    0
187 Reported_Uncorrect      -O--CK   100   100   000    -    0
188 Command_Timeout         -O--CK   100   001   000    -    1507556720639
189 High_Fly_Writes         -O-RCK   100   100   000    -    0
190 Airflow_Temperature_Cel -O---K   072   056   040    -    28 (Min/Max 17/29)
191 G-Sense_Error_Rate      -O--CK   100   100   000    -    0
192 Power-Off_Retract_Count -O--CK   100   100   000    -    27
193 Load_Cycle_Count        -O--CK   099   099   000    -    3554
194 Temperature_Celsius     -O---K   028   044   000    -    28 (0 14 0 0 0)
197 Current_Pending_Sector  -O--C-   100   100   000    -    0
198 Offline_Uncorrectable   ----C-   100   100   000    -    0
199 UDMA_CRC_Error_Count    -OSRCK   200   156   000    -    20111105
240 Head_Flying_Hours       ------   100   253   000    -    8382h+06m+20.964s
241 Total_LBAs_Written      ------   100   253   000    -    28230124196
242 Total_LBAs_Read         ------   100   253   000    -    27291687424
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      5  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x08       GPL     R/O      2  Power Conditions log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x13       GPL     R/O      1  SATA NCQ Send and Receive log
0x15       GPL     R/W      1  SATA Rebuild Assist log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x24       GPL     R/O    512  Current Device Internal Status Data log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa1       GPL,SL  VS      24  Device vendor specific log
0xa2       GPL     VS    8160  Device vendor specific log
0xa6       GPL     VS     192  Device vendor specific log
0xa8-0xa9  GPL,SL  VS     136  Device vendor specific log
0xab       GPL     VS       1  Device vendor specific log
0xb0       GPL     VS    9048  Device vendor specific log
0xbe-0xbf  GPL     VS   65535  Device vendor specific log
0xc1       GPL,SL  VS      16  Device vendor specific log
0xd1       GPL     VS     136  Device vendor specific log
0xd2       GPL     VS   10000  Device vendor specific log
0xd3       GPL     VS    1920  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (5 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
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.

SCT Status Version:                  3
SCT Version (vendor specific):       522 (0x020a)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    28 Celsius
Power Cycle Min/Max Temperature:     17/29 Celsius
Lifetime    Min/Max Temperature:     14/44 Celsius
Under/Over Temperature Limit Count:   0/56

SCT Temperature History Version:     2
Temperature Sampling Period:         3 minutes
Temperature Logging Interval:        59 minutes
Min/Max recommended Temperature:      0/ 0 Celsius
Min/Max Temperature Limit:            0/ 0 Celsius
Temperature History Size (Index):    128 (119)

Index    Estimated Time   Temperature Celsius
 120    2021-06-23 08:52    27  ********
 ...    ..( 16 skipped).    ..  ********
   9    2021-06-24 01:35    27  ********
  10    2021-06-24 02:34    28  *********
  11    2021-06-24 03:33    27  ********
 ...    ..(  3 skipped).    ..  ********
  15    2021-06-24 07:29    27  ********
  16    2021-06-24 08:28    26  *******
  17    2021-06-24 09:27    24  *****
  18    2021-06-24 10:26    24  *****
  19    2021-06-24 11:25    24  *****
  20    2021-06-24 12:24    25  ******
 ...    ..( 11 skipped).    ..  ******
  32    2021-06-25 00:12    25  ******
  33    2021-06-25 01:11    26  *******
  34    2021-06-25 02:10    26  *******
  35    2021-06-25 03:09    25  ******
 ...    ..(  9 skipped).    ..  ******
  45    2021-06-25 12:59    25  ******
  46    2021-06-25 13:58    26  *******
  47    2021-06-25 14:57    26  *******
  48    2021-06-25 15:56    27  ********
  49    2021-06-25 16:55    27  ********
  50    2021-06-25 17:54    26  *******
  51    2021-06-25 18:53    27  ********
  52    2021-06-25 19:52    28  *********
 ...    ..(  2 skipped).    ..  *********
  55    2021-06-25 22:49    28  *********
  56    2021-06-25 23:48    29  **********
  57    2021-06-26 00:47    28  *********
  58    2021-06-26 01:46    28  *********
  59    2021-06-26 02:45    29  **********
  60    2021-06-26 03:44    28  *********
  61    2021-06-26 04:43    29  **********
  62    2021-06-26 05:42    29  **********
  63    2021-06-26 06:41     ?  -
  64    2021-06-26 07:40    17  -
  65    2021-06-26 08:39    28  *********
  66    2021-06-26 09:38    28  *********
  67    2021-06-26 10:37    27  ********
 ...    ..(  6 skipped).    ..  ********
  74    2021-06-26 17:30    27  ********
  75    2021-06-26 18:29    26  *******
  76    2021-06-26 19:28    26  *******
  77    2021-06-26 20:27    25  ******
  78    2021-06-26 21:26    25  ******
  79    2021-06-26 22:25    26  *******
  80    2021-06-26 23:24    26  *******
  81    2021-06-27 00:23    25  ******
 ...    ..(  7 skipped).    ..  ******
  89    2021-06-27 08:15    25  ******
  90    2021-06-27 09:14    24  *****
 ...    ..(  3 skipped).    ..  *****
  94    2021-06-27 13:10    24  *****
  95    2021-06-27 14:09    25  ******
  96    2021-06-27 15:08    24  *****
  97    2021-06-27 16:07    24  *****
  98    2021-06-27 17:06    24  *****
  99    2021-06-27 18:05    26  *******
 ...    ..(  2 skipped).    ..  *******
 102    2021-06-27 21:02    26  *******
 103    2021-06-27 22:01    27  ********
 ...    ..(  6 skipped).    ..  ********
 110    2021-06-28 04:54    27  ********
 111    2021-06-28 05:53    24  *****
 112    2021-06-28 06:52    23  ****
 113    2021-06-28 07:51    22  ***
 114    2021-06-28 08:50    23  ****
 115    2021-06-28 09:49    23  ****
 116    2021-06-28 10:48    24  *****
 117    2021-06-28 11:47    26  *******
 118    2021-06-28 12:46    26  *******
 119    2021-06-28 13:45    26  *******

SCT Error Recovery Control:
           Read:     70 (7.0 seconds)
          Write:     70 (7.0 seconds)

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 1) ==
0x01  0x008  4              28  ---  Lifetime Power-On Resets
0x01  0x010  4            8399  ---  Power-on Hours
0x01  0x018  6     28234530564  ---  Logical Sectors Written
0x01  0x020  6       367531079  ---  Number of Write Commands
0x01  0x028  6     27291745195  ---  Logical Sectors Read
0x01  0x030  6       230819784  ---  Number of Read Commands
0x01  0x038  6               -  ---  Date and Time TimeStamp
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4       504649057  N--  Spindle Motor Power-on Hours
0x03  0x010  4       504644007  N--  Head Flying Hours
0x03  0x018  4            3554  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x03  0x038  4               0  ---  Number of Realloc. Candidate Logical Sectors
0x03  0x040  4              28  ---  Number of High Priority Unload Events
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4        12507694  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              28  ---  Current Temperature
0x05  0x010  1              25  ---  Average Short Term Temperature
0x05  0x018  1              27  ---  Average Long Term Temperature
0x05  0x020  1              44  ---  Highest Temperature
0x05  0x028  1               0  ---  Lowest Temperature
0x05  0x030  1              41  ---  Highest Average Short Term Temperature
0x05  0x038  1              22  ---  Lowest Average Short Term Temperature
0x05  0x040  1              35  ---  Highest Average Long Term Temperature
0x05  0x048  1              27  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              70  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4        20157961  ---  Number of Hardware Resets
0x06  0x010  4               4  ---  Number of ASR Events
0x06  0x018  4        20115232  ---  Number of Interface CRC Errors
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x000a  2            3  Device-to-host register FISes sent due to a COMRESET
0x0001  2            0  Command failed due to ICRC error
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS


And for ada1:

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

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Skyhawk
Device Model:     ST4000VX007-2DT166
Serial Number:    ZM416KPA
LU WWN Device Id: 5 000c50 0c5974573
Firmware Version: CV11
User Capacity:    4,000,787,030,016 bytes [4.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5980 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
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:    Mon Jun 28 14:02:16 2021 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: 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:         (  591) 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:      ( 648) minutes.
Conveyance self-test routine
recommended polling time:      (   2) minutes.
SCT capabilities:            (0x50bd)    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          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR--   076   064   044    -    39658584
  3 Spin_Up_Time            PO----   094   093   000    -    0
  4 Start_Stop_Count        -O--CK   100   100   020    -    17
  5 Reallocated_Sector_Ct   PO--CK   100   100   010    -    0
  7 Seek_Error_Rate         POSR--   092   060   045    -    1670553496
  9 Power_On_Hours          -O--CK   093   093   000    -    6373h+00m+00.000s
 10 Spin_Retry_Count        PO--C-   100   100   097    -    0
 12 Power_Cycle_Count       -O--CK   100   100   020    -    17
184 End-to-End_Error        -O--CK   100   100   099    -    0
187 Reported_Uncorrect      -O--CK   100   100   000    -    0
188 Command_Timeout         -O--CK   100   100   000    -    0
189 High_Fly_Writes         -O-RCK   100   100   000    -    0
190 Airflow_Temperature_Cel -O---K   071   051   040    -    29 (Min/Max 17/30)
191 G-Sense_Error_Rate      -O--CK   100   100   000    -    0
192 Power-Off_Retract_Count -O--CK   100   100   000    -    23
193 Load_Cycle_Count        -O--CK   100   100   000    -    93
194 Temperature_Celsius     -O---K   029   049   000    -    29 (0 15 0 0 0)
197 Current_Pending_Sector  -O--C-   100   100   000    -    0
198 Offline_Uncorrectable   ----C-   100   100   000    -    0
199 UDMA_CRC_Error_Count    -OSRCK   200   200   000    -    0
240 Head_Flying_Hours       ------   100   253   000    -    6370h+54m+09.513s
241 Total_LBAs_Written      ------   100   253   000    -    16361558708
242 Total_LBAs_Read         ------   100   253   000    -    90986079404
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      5  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x08       GPL     R/O      2  Power Conditions log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x13       GPL     R/O      1  SATA NCQ Send and Receive log
0x15       GPL     R/W      1  SATA Rebuild Assist log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x24       GPL     R/O    512  Current Device Internal Status Data log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa1       GPL,SL  VS      24  Device vendor specific log
0xa2       GPL     VS    8160  Device vendor specific log
0xa6       GPL     VS     192  Device vendor specific log
0xa8-0xa9  GPL,SL  VS     136  Device vendor specific log
0xab       GPL     VS       1  Device vendor specific log
0xb0       GPL     VS    9048  Device vendor specific log
0xbe-0xbf  GPL     VS   65535  Device vendor specific log
0xc1       GPL,SL  VS      16  Device vendor specific log
0xd1       GPL     VS     136  Device vendor specific log
0xd2       GPL     VS   10000  Device vendor specific log
0xd3       GPL     VS    1920  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (5 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
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.

SCT Status Version:                  3
SCT Version (vendor specific):       522 (0x020a)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    29 Celsius
Power Cycle Min/Max Temperature:     17/30 Celsius
Lifetime    Min/Max Temperature:     15/49 Celsius
Under/Over Temperature Limit Count:   0/56

SCT Temperature History Version:     2
Temperature Sampling Period:         3 minutes
Temperature Logging Interval:        59 minutes
Min/Max recommended Temperature:      0/ 0 Celsius
Min/Max Temperature Limit:            0/ 0 Celsius
Temperature History Size (Index):    128 (22)

Index    Estimated Time   Temperature Celsius
  23    2021-06-23 08:52    27  ********
 ...    ..( 21 skipped).    ..  ********
  45    2021-06-24 06:30    27  ********
  46    2021-06-24 07:29    25  ******
  47    2021-06-24 08:28    24  *****
 ...    ..(  2 skipped).    ..  *****
  50    2021-06-24 11:25    24  *****
  51    2021-06-24 12:24    25  ******
  52    2021-06-24 13:23    24  *****
  53    2021-06-24 14:22    25  ******
 ...    ..( 19 skipped).    ..  ******
  73    2021-06-25 10:02    25  ******
  74    2021-06-25 11:01    24  *****
  75    2021-06-25 12:00    25  ******
  76    2021-06-25 12:59    25  ******
  77    2021-06-25 13:58    26  *******
 ...    ..(  2 skipped).    ..  *******
  80    2021-06-25 16:55    26  *******
  81    2021-06-25 17:54    27  ********
  82    2021-06-25 18:53    27  ********
  83    2021-06-25 19:52    28  *********
 ...    ..(  9 skipped).    ..  *********
  93    2021-06-26 05:42    28  *********
  94    2021-06-26 06:41     ?  -
  95    2021-06-26 07:40    17  -
  96    2021-06-26 08:39    29  **********
  97    2021-06-26 09:38    28  *********
  98    2021-06-26 10:37    28  *********
  99    2021-06-26 11:36    29  **********
 ...    ..(  2 skipped).    ..  **********
 102    2021-06-26 14:33    29  **********
 103    2021-06-26 15:32    28  *********
 104    2021-06-26 16:31    28  *********
 105    2021-06-26 17:30    28  *********
 106    2021-06-26 18:29    27  ********
 107    2021-06-26 19:28    26  *******
 ...    ..(  4 skipped).    ..  *******
 112    2021-06-27 00:23    26  *******
 113    2021-06-27 01:22    25  ******
 ...    ..( 15 skipped).    ..  ******
   1    2021-06-27 17:06    25  ******
   2    2021-06-27 18:05    26  *******
   3    2021-06-27 19:04    27  ********
   4    2021-06-27 20:03    27  ********
   5    2021-06-27 21:02    27  ********
   6    2021-06-27 22:01    28  *********
   7    2021-06-27 23:00    28  *********
   8    2021-06-27 23:59    27  ********
 ...    ..(  4 skipped).    ..  ********
  13    2021-06-28 04:54    27  ********
  14    2021-06-28 05:53    25  ******
  15    2021-06-28 06:52    23  ****
  16    2021-06-28 07:51    23  ****
  17    2021-06-28 08:50    24  *****
  18    2021-06-28 09:49    24  *****
  19    2021-06-28 10:48    24  *****
  20    2021-06-28 11:47    26  *******
  21    2021-06-28 12:46    27  ********
  22    2021-06-28 13:45    27  ********

SCT Error Recovery Control:
           Read:     70 (7.0 seconds)
          Write:     70 (7.0 seconds)

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 1) ==
0x01  0x008  4              17  ---  Lifetime Power-On Resets
0x01  0x010  4            6373  ---  Power-on Hours
0x01  0x018  6     16365677452  ---  Logical Sectors Written
0x01  0x020  6       198300910  ---  Number of Write Commands
0x01  0x028  6     91024179407  ---  Logical Sectors Read
0x01  0x030  6       619456950  ---  Number of Read Commands
0x01  0x038  6               -  ---  Date and Time TimeStamp
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4      2734587694  N--  Spindle Motor Power-on Hours
0x03  0x010  4      2734583962  N--  Head Flying Hours
0x03  0x018  4              93  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x03  0x038  4               0  ---  Number of Realloc. Candidate Logical Sectors
0x03  0x040  4              24  ---  Number of High Priority Unload Events
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               0  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              29  ---  Current Temperature
0x05  0x010  1              25  ---  Average Short Term Temperature
0x05  0x018  1              30  ---  Average Long Term Temperature
0x05  0x020  1              49  ---  Highest Temperature
0x05  0x028  1               0  ---  Lowest Temperature
0x05  0x030  1              46  ---  Highest Average Short Term Temperature
0x05  0x038  1              24  ---  Lowest Average Short Term Temperature
0x05  0x040  1              39  ---  Highest Average Long Term Temperature
0x05  0x048  1              30  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              70  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4              32  ---  Number of Hardware Resets
0x06  0x010  4               0  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x000a  2            3  Device-to-host register FISes sent due to a COMRESET
0x0001  2            0  Command failed due to ICRC error
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
 

John Digital

Neophyte Sage
Joined
Jan 7, 2015
Messages
976
See what it reports after your scrub is complete.

zpool staus -v
 

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
Not finished yet, but here's the outpot:

Code:
root@freenas:~ # zpool status -v
  pool: datos
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
    corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
    entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub in progress since Mon Jun 28 13:19:20 2021
        1.53T scanned out of 4.09T at 105M/s, 7h6m to go
        0 repaired, 37.28% done
config:

    NAME                                            STATE     READ WRITE CKSUM
    datos                                           DEGRADED     0     0 17.0K
      raidz1-0                                      DEGRADED     0     0 43.6K
        gptid/70e6882f-bc38-11ea-a7ae-1c1b0dc62b56  DEGRADED     0     0    20  too many errors
        gptid/4ae4995d-bc8a-11ea-9395-1c1b0dc62b56  DEGRADED     0     0     0  too many errors
        gptid/75383bdc-d680-11eb-80cf-1c1b0dc62b56  ONLINE       0     0     0

errors: Permanent errors have been detected in the following files:

        datos@auto-20210622.1500-2w:<0x0>
        datos:<0x0>
        datos@auto-20210622.1800-2w:<0x0>
        <0x151b>:<0x0>
        <0x151b>:<0x9c561c>
        <0x151b>:<0x9c5581>
        <0x151b>:<0x9c5584>
        <0x151b>:<0x9c5591>
        <0x151b>:<0x9c55c2>
        <0x151b>:<0x9c55cb>
        <0x151b>:<0x9c55ce>
        datos@auto-20210619.0800-2w:<0x0>
        datos@auto-20210623.0800-2w:<0x0>
        /var/db/system/syslog-9d613bc4d69d4caa9ab03b2439285b53/log/messages.8.bz2
        datos@auto-20210617.1841-2w:<0x0>
        datos@auto-20210617.1841-2w:/GASALUD/Diario/DB BAK/Gasalud/Afip/30715190253_2021-03-02_1_303.jpg
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/SC_1.3.12.2.1107.5.8.15.310561.30000021061208560542900000196.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/SC_1.3.12.2.1107.5.8.15.310561.30000021061208560542900000198.dcm
        datos@auto-20210617.1841-2w:/GASALUD/Diario/DB BAK/Gasalud/Nueva Pc/PDFCreator-1_2_0_setup.exe
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/12-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021061210021617663003664.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/12-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021061210021622863603668.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/12-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021061210021636903703675.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/12-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021061210021638095403676.dcm
        datos@auto-20210617.1841-2w:/GASALUD/Diario/DB BAK/Gasalud/Backup/GaHC.exe.27-05-2021.Bak
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500000888.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500000889.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/12-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021061210055590906703884.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/12-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021061210055625422503894.dcm
        datos@auto-20210617.1841-2w:/GASALUD/Diario/DB BAK/Gasalud/Afip/30715190253_2021-03-01_2_12222.jpg
        datos@auto-20210617.1841-2w:/impacs/ESAOTE/12-06-2021/US_1.3.76.2.3.2.90.389673544.30346.12062021.120416796.dcm
        datos@auto-20210617.1841-2w:/impacs/ESAOTE/12-06-2021/USm_1.3.76.2.3.2.90.389673544.30339.12062021.95156984.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500000158.dcm
        datos@auto-20210617.1841-2w:/impacs/ESAOTE/12-06-2021/USm_1.3.76.2.3.2.90.389673544.30352.12062021.123208484.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500000159.dcm
        datos@auto-20210617.1841-2w:/impacs/backups-databases/20210613/base.tar.gz
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500001551.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500001555.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500001572.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500001573.dcm
        datos@auto-20210617.1841-2w:/GASALUD/Diario/DB BAK/Gasalud/Nueva Pc/gahc.exe
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/12-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021061210192344283406080.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/12-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021061210192359477606084.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500000516.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500000517.dcm
        datos@auto-20210617.1841-2w:/GASALUD/Diario/DB BAK/Gasalud/Nueva Pc/gasalud.exe
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500001889.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/12-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021061211574454500001890.dcm
        datos@auto-20210617.1841-2w:/GASALUD/Diario/DB BAK/Gasalud/Nueva Pc/jhTextBoxM.ocx
        datos@auto-20210617.1841-2w:/GASALUD/Diario/DB BAK/Gasalud/Nueva Pc/mschrt20.ocx
        datos@auto-20210618.1225-2w:<0x0>
        datos@auto-20210618.1225-2w:/impacs/ESAOTE/10-06-2021/US_1.3.76.2.3.2.90.389673544.30286.10062021.111440156.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/09-06-2021/CR_1.2.840.113564.1011010.2021060916205606224.1003000225002.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/09-06-2021/CR_1.2.840.113564.1011010.2021060916275556232.1003000225002.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/09-06-2021/CR_1.2.840.113564.1011010.2021060917093801566.1003000225002.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/10-06-2021/CR_1.2.840.113564.1011010.2021061012090368753.1003000560002.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/10-06-2021/CR_1.2.840.113564.1011010.2021061012102462555.1003000560002.dcm
        datos@auto-20210619.1500-2w:<0x0>
        datos@auto-20210617.1941-2w:<0x0>
        <0x149b>:<0x1a20>
        <0x149b>:<0x1e44>
        <0x149b>:<0x1d79>
        <0x149b>:<0x1e85>
        <0x149b>:<0x19c2>
        <0x149b>:<0x1ff0>
        datos@auto-20210619.1800-2w:<0x0>
        datos@auto-20210618.1525-2w:<0x0>
        datos@auto-20210621.0800-2w:<0x0>
        datos@auto-20210618.1725-2w:<0x0>
        datos@auto-20210621.1500-2w:<0x0>
        <0x14e6>:<0x0>
        datos@auto-20210621.1800-2w:<0x0>
        datos@auto-20210618.1925-2w:<0x0>
        datos@auto-20210622.0800-2w:<0x0>

  pool: freenas-boot
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Sat Jun 19 03:45:43 2021
config:

    NAME        STATE     READ WRITE CKSUM
    freenas-boot  ONLINE       0     0     0
      da0p2     ONLINE       0     0     0

errors: No known data errors
 

John Digital

Neophyte Sage
Joined
Jan 7, 2015
Messages
976
A great majority of these errors are in auto snapshots, but as of now, this doesnt look good. As a precaution id backup anything from this pool you cant live without.
 

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
Yes of course I'll backup as much as possible (this and past year's files), but apart from that, do you see anything wrong in the smartctl reports I posted early?.
 

John Digital

Neophyte Sage
Joined
Jan 7, 2015
Messages
976

John Digital

Neophyte Sage
Joined
Jan 7, 2015
Messages
976
Have a look thru your dmesg and see if theres anything goofy in there. Certainly you must have system alerts, what do those say?

cat /var/log/dmesg.today and cat /var/log/messages
 

ChrisRJ

Senior Member
Joined
Oct 23, 2020
Messages
529
With a such a temporal correlation, i.e. two disk going "bad" right after replacing another, chances are that it has something to do with that change. The usual suspect are the SATA cables. I would recommend to mark the cables, and then shuffle them. Take notes like "cable A from ada0 to ada2" and make sure all cables are inserted into their connectors properly. This should allow you to narrow down the issue to either drives or cables.

The power supply is also a candidate here, but I would start with the cables. It is more likely, especially with the timing right after the disk replacement, that something is wrong elsewhere, rather than two disk dying at the same time.
 

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
With a such a temporal correlation, i.e. two disk going "bad" right after replacing another, chances are that it has something to do with that change. The usual suspect are the SATA cables. I would recommend to mark the cables, and then shuffle them. Take notes like "cable A from ada0 to ada2" and make sure all cables are inserted into their connectors properly. This should allow you to narrow down the issue to either drives or cables.

The power supply is also a candidate here, but I would start with the cables. It is more likely, especially with the timing right after the disk replacement, that something is wrong elsewhere, rather than two disk dying at the same time.
Yes, today I'll have that machine in my office to take a look at cables and power supply.
 

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
The scrub finished, here are the results:

Code:
  pool: datos
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
        corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
        entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 23.8M in 12h48m with 149580 errors on Tue Jun 29 02:08:01 2021
config:

        NAME                                            STATE     READ WRITE CKSUM
        datos                                           DEGRADED     0     0  176K
          raidz1-0                                      DEGRADED     0     0  391K
            gptid/70e6882f-bc38-11ea-a7ae-1c1b0dc62b56  DEGRADED     0     0 1.60K  too many errors
            gptid/4ae4995d-bc8a-11ea-9395-1c1b0dc62b56  DEGRADED     0     0     0  too many errors
            gptid/75383bdc-d680-11eb-80cf-1c1b0dc62b56  ONLINE       0     0     0

errors: Permanent errors have been detected in the following files:

        datos@auto-20210622.1500-2w:<0x0>
        datos:<0x0>
        datos@auto-20210622.1800-2w:<0x0>
        datos@auto-20210619.0800-2w:<0x0>
        datos@auto-20210623.0800-2w:<0x0>
        /var/db/system/syslog-9d613bc4d69d4caa9ab03b2439285b53/log/messages.8.bz2
        datos@auto-20210617.1841-2w:<0x0>
        datos@auto-20210617.1841-2w:/impacs/OEM-N6KQ5JP830H/09-06-2021/CR_1.2.840.113564.1011010.2021060909490385998.1003000225002.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/09-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021060918325577719908239.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/09-06-2021/MR_1.3.12.2.1107.5.2.18.42650.30000021060908575186600011200.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/09-06-2021/MR_1.3.12.2.1107.5.2.18.42650.30000021060908575186600012723.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/09-06-2021/MR_1.3.12.2.1107.5.2.18.42650.30010021060914413282000000509.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800002574.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800003728.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800005200.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800007062.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800007886.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800009667.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800010800.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800012105.dcm
        datos@auto-20210617.1841-2w:/impacs/ESAOTE/10-06-2021/US_1.3.76.2.3.2.90.389673544.30284.10062021.102553750.dcm
...
many lines starting with datos@auto-20210617.1841-2w
...
      datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800010799.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_ct91523/09-06-2021/CT_1.3.12.2.1107.5.1.4.91523.30000021060912033875800012104.dcm
        datos@auto-20210617.1841-2w:/impacs/ESAOTE/10-06-2021/US_1.3.76.2.3.2.90.389673544.30283.10062021.100402265.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/26-05-2021/MR_1.3.12.2.1107.5.2.18.42650.2021052616230299760585995.dcm
        datos@auto-20210617.1841-2w:/impacs/AN_MEDCOMNT204/07-06-2021/MR_1.3.12.2.1107.5.2.18.42650.2021060715555173540276293.dcm
        datos@auto-20210618.1225-2w:<0x0>
        datos@auto-20210618.1225-2w:/impacs/ESAOTE/10-06-2021/US_1.3.76.2.3.2.90.389673544.30286.10062021.111440156.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/09-06-2021/CR_1.2.840.113564.1011010.2021060916205606224.1003000225002.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/09-06-2021/CR_1.2.840.113564.1011010.2021060916275556232.1003000225002.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/09-06-2021/CR_1.2.840.113564.1011010.2021060917093801566.1003000225002.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/10-06-2021/CR_1.2.840.113564.1011010.2021061012090368753.1003000560002.dcm
        datos@auto-20210618.1225-2w:/impacs/OEM-N6KQ5JP830H/10-06-2021/CR_1.2.840.113564.1011010.2021061012102462555.1003000560002.dcm
        datos@auto-20210619.1500-2w:<0x0>
        datos@auto-20210617.1941-2w:<0x0>
        datos@auto-20210619.1800-2w:<0x0>
        datos@auto-20210618.1525-2w:<0x0>
        datos@auto-20210621.0800-2w:<0x0>
        datos@auto-20210618.1725-2w:<0x0>
        datos@auto-20210621.1500-2w:<0x0>
        datos@auto-20210621.1800-2w:<0x0>
        datos@auto-20210618.1925-2w:<0x0>
        datos@auto-20210622.0800-2w:<0x0>

  pool: freenas-boot
 state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Sat Jun 19 03:45:43 2021
config:

        NAME        STATE     READ WRITE CKSUM
        freenas-boot  ONLINE       0     0     0
          da0p2     ONLINE       0     0     0

errors: No known data errors

 

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
Have a look thru your dmesg and see if theres anything goofy in there. Certainly you must have system alerts, what do those say?

cat /var/log/dmesg.today and cat /var/log/messages
In cat /var/log/dmesg.today everything seems to be ok, well, I found this machine has an Intel i3 processor, but apart from that there are no errors. In /var/log/messages I found a couple of blocks like this on Jun 26 and Jun 28:

Code:
Jun 26 06:14:37 freenas ZFS: vdev state changed, pool_guid=690590319461003960 vdev_guid=13551296632619889811
Jun 26 06:14:50 freenas ZFS: vdev state changed, pool_guid=690590319461003960 vdev_guid=17797580496079026901
Jun 26 06:14:50 freenas ZFS: vdev state changed, pool_guid=690590319461003960 vdev_guid=12862357055221696777
Jun 26 06:14:50 freenas ZFS: vdev state changed, pool_guid=690590319461003960 vdev_guid=13551296632619889811


And this on Jun 26:

Code:
Jun 26 06:03:32 freenas root: /etc/rc: WARNING: failed precmd routine for minio
Jun 26 06:14:36 freenas notifier: 32+0 records in
Jun 26 06:14:36 freenas notifier: 32+0 records out
Jun 26 06:14:36 freenas notifier: 33554432 bytes transferred in 0.234697 secs (142969012 bytes/sec)
Jun 26 06:14:37 freenas notifier: dd: /dev/ada2: short write on character device
Jun 26 06:14:37 freenas notifier: dd: /dev/ada2: end of device
Jun 26 06:14:37 freenas notifier: 33+0 records in
Jun 26 06:14:37 freenas notifier: 32+1 records out
Jun 26 06:14:37 freenas notifier: 34430976 bytes transferred in 0.282754 secs (121770138 bytes/sec)
 

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
Hi, I'm back with this machine. I've replaced the power supply with a ThermalTake SMART 430W and now I don't see any DEGRADED disks.

1625402311096.png

However, as you can see the system is in a resilver state that's taking ~20 hours and only did a 29% of the job.

What whorries me the most is the scan rate is lower every time I check.

Code:
root@freenas:~ # zpool status datos
  pool: datos
 state: ONLINE
status: One or more devices is currently being resilvered.  The pool will
    continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Fri Jul  2 13:57:13 2021
        1.25T scanned out of 4.20T at 25.3M/s, 33h59m to go
        422G resilvered, 29.67% done
config:

    NAME                                            STATE     READ WRITE CKSUM
    datos                                           ONLINE       0     0     0
      raidz1-0                                      ONLINE       0     0     0
        gptid/70e6882f-bc38-11ea-a7ae-1c1b0dc62b56  ONLINE       0     0     0
        gptid/4ae4995d-bc8a-11ea-9395-1c1b0dc62b56  ONLINE       0     0     0
        gptid/75383bdc-d680-11eb-80cf-1c1b0dc62b56  ONLINE       0     0     0  (resilvering)

errors: 149746 data errors, use '-v' for a list


As you can see the scan rate now is 25.3M/s, but a couple of hours ago it was over 30M/s.
 

Etorix

Senior Member
Joined
Dec 30, 2020
Messages
419
That's quite a positive outcome coming from where you were, with potentially irrecoverable errors in metadata. Give it all the time it needs.
 

ChrisRJ

Senior Member
Joined
Oct 23, 2020
Messages
529
Although the Seagate Skyhawk model is not SMR, I would assume that their positioning for video surveillance might have something to do with. IIRC such drives are typically optimized for sequential writes, to ensure that no footage gets lost.
 

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
Although the Seagate Skyhawk model is not SMR, I would assume that their positioning for video surveillance might have something to do with. IIRC such drives are typically optimized for sequential writes, to ensure that no footage gets lost.
I agree, we shouldn't have picked those for this machine. This week we'll be building a new one with WD40FRX drives, and leave this as a 2nd backup.
 

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
Hmm, after finishing the resilvering it went back to the DEGRADED state:

Code:
root@freenas:~ # zpool status datos
  pool: datos
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
    corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
    entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: resilvered 1.10T in 67h2m with 8996 errors on Mon Jul  5 09:00:03 2021
config:

    NAME                                            STATE     READ WRITE CKSUM
    datos                                           DEGRADED     0     0 10.0K
      raidz1-0                                      DEGRADED     0     0 23.0K
        gptid/70e6882f-bc38-11ea-a7ae-1c1b0dc62b56  DEGRADED     0     0     0  too many errors
        gptid/4ae4995d-bc8a-11ea-9395-1c1b0dc62b56  DEGRADED     0     0     0  too many errors
        gptid/75383bdc-d680-11eb-80cf-1c1b0dc62b56  ONLINE       0     0     0

errors: 9146 data errors, use '-v' for a list


If I run zpool status -v datos I get this:

Code:
  pool: datos
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
        corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
        entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: resilvered 1.10T in 67h2m with 8996 errors on Mon Jul  5 09:00:03 2021
config:

        NAME                                            STATE     READ WRITE CKSUM
        datos                                           DEGRADED     0     0 10.0K
          raidz1-0                                      DEGRADED     0     0 23.0K
            gptid/70e6882f-bc38-11ea-a7ae-1c1b0dc62b56  DEGRADED     0     0     0  too many errors
            gptid/4ae4995d-bc8a-11ea-9395-1c1b0dc62b56  DEGRADED     0     0     0  too many errors
            gptid/75383bdc-d680-11eb-80cf-1c1b0dc62b56  ONLINE       0     0     0

errors: Permanent errors have been detected in the following files:

        datos@auto-20210622.1500-2w:<0x0>
        datos@auto-20210629.0800-2w:<0x0>
        datos@auto-20210622.1800-2w:<0x0>
        datos@auto-20210629.1500-2w:<0x0>
        datos@auto-20210623.0800-2w:<0x0>
        datos@auto-20210629.1800-2w:<0x0>
        /var/db/system/syslog-9d613bc4d69d4caa9ab03b2439285b53/log/messages.8.bz2
        datos@auto-20210630.0800-2w:<0x0>
        datos@auto-20210626.1500-2w:<0x0>
        datos@auto-20210626.1800-2w:<0x0>
        <0x1c7>:<0x0>
        <0x1c7>:<0x9c2400>
        <0x1c7>:<0x9c3600>
        <0x1c7>:<0x9c4500>
        <0x1c7>:<0x9c4600>
        <0x1c7>:<0x9c4700>
        <0x1c7>:<0x9c4a00>
        <0x1c7>:<0x9c4b00>
        <0x1c7>:<0x9c4c00>
        <0x1c7>:<0x9c4d00>
        <0x1c7>:<0x9c4e00>
        <0x1c7>:<0x9c4f00>
...
many similar results
...
        <0x1c7>:<0x9bb5ff>
        datos@auto-20210628.0800-2w:<0x0>
        datos@auto-20210621.1500-2w:<0x0>
        datos@auto-20210621.1800-2w:<0x0>
        datos@auto-20210628.1500-2w:<0x0>
        datos@auto-20210622.0800-2w:<0x0>
        datos@auto-20210628.1800-2w:<0x0>
 

Etorix

Senior Member
Joined
Dec 30, 2020
Messages
419
:frown: Errors in metadata (<0x1c7>:<0x######>) could not be repaired after all. I'm afraid it's time to destroy the pool and restore all from backup.
Consider using raidz2 or higher for the new pool.
 

leonardorame

Member
Joined
Jun 30, 2018
Messages
88
Finally I was able to copy everything from the failing pool (very slow process, the whole round trip took 4 days for 2.5Tb), did an SMART Extended Self Test and found one disk had errors and replaced it. Sadly with another Skyhawk provided by the customer :(.

Menawhile a new machine with 3xWD20EFRX disks was built as a replacement for this.
 
Top