SOLVED Reboot when copying File to new Server

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48
I am trying to copy my file from my main server to my backup and then switch the rolls. I have tired to use Replicate, Rsync, and just copy the files. When I try to copy the Files manually my Main server crashes.
Here are some of the errors I get when I try to run Replication:
Code:

Replication "Plex2/Files/Media - Plex/Files/Media" failed:​

warning: cannot send 'Plex2/Files/Media/Movies@auto-2021-08-19_00-00':​

Input/output error cannot receive resume stream: checksum mismatch or incomplete stream.​

Partially received snapshot is saved.​

A resuming stream can be generated on the sending system by running: zfs send -t 1-fc4ea6145-8-789c636064000310a500c4ec50360710e72765a5269730309843d560c8a7a515a​

79680647276c2e4d990e4932a4b528b817401fb0f5b2b2cfa4bf2d34b335318187cb2548ebd1014​

bee78124cf0996cf4bcc4d656008c849ad30d277cbcc492dd6f74d4dc94cd4f7cd2fcb4c2d76482c2​

dc9d735323032d435b0d035b48c3730d0353080d8c3cd80f057727e6e41516a71717e36031c0000656c2690..​



First, my pool status show unhealthy, but when I run the results from the S.M.A.R.T test results I don't see anything that stands out.
Here is the results from one of the test, but they are all are about the same. I can put in the other drive too if needed. ID 5, 197,198,199 all have 0.

Code:
root@truenas[~]# smartctl -a /dev/ada0
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate BarraCuda 3.5 (SMR)
Device Model:     ST8000DM004-2CX188
Serial Number:    ZR109E33
LU WWN Device Id: 5 000c50 0c8d6095e
Firmware Version: 0001
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5425 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 Apr 10 09:50:14 2023 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:  (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:                (    0) 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:        ( 986) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x30a5) SCT Status supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   078   064   006    Pre-fail  Always       -       64683856
  3 Spin_Up_Time            0x0003   095   092   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       88
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   091   060   045    Pre-fail  Always       -       1263142675
  9 Power_On_Hours          0x0032   084   084   000    Old_age   Always       -       14435h+31m+47.618s
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       88
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   100   100   000    Old_age   Always       -       0
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   063   051   040    Old_age   Always       -       37 (Min/Max 35/37)
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       -       567
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       670
194 Temperature_Celsius     0x0022   037   049   000    Old_age   Always       -       37 (0 20 0 0 0)
195 Hardware_ECC_Recovered  0x001a   078   064   000    Old_age   Always       -       64683856
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       14355h+37m+42.739s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       24900628508
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       211803156330

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%     14402         -
# 2  Short offline       Completed without error       00%     14234         -
# 3  Extended offline    Completed without error       00%     14228         -
# 4  Short offline       Completed without error       00%     14066         -
# 5  Short offline       Completed without error       00%     13898         -
# 6  Extended offline    Completed without error       00%     13743         -
# 7  Short offline       Completed without error       00%     13467         -
# 8  Short offline       Completed without error       00%     12797         -
# 9  Extended offline    Interrupted (host reset)      00%     12071         -
#10  Short offline       Completed without error       00%     11309         -
#11  Short offline       Completed without error       00%     10588         -
#12  Short offline       Completed without error       00%      9847         -
#13  Short offline       Completed without error       00%      9127         -
#14  Short offline       Completed without error       00%      8388         -
#15  Short offline       Completed without error       00%      7644         -
#16  Short offline       Completed without error       00%      7032         -
#17  Short offline       Completed without error       00%      6288         -
#18  Short offline       Completed without error       00%      5568         -
#19  Short offline       Completed without error       00%      4825         -
#20  Short offline       Completed without error       00%      4153         -
#21  Short offline       Completed without error       00%      3409         -

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



I did run /var/log

Code:
root@truenas[~]# cd
root@truenas[~]# cd /var/log
root@truenas[/var/log]# zpool status -v
  pool: Plex2
 state: ONLINE
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: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
  scan: scrub repaired 0B in 23:18:10 with 1 errors on Sun Apr  9 23:18:12 2023
config:

        NAME                                            STATE     READ WRITE CKSUM
        Plex2                                           ONLINE       0     0 0
          raidz1-0                                      ONLINE       0     0 0
            gptid/d29a01b0-e735-11eb-b8a6-4cedfb75003f  ONLINE       0     0 0
            gptid/2e5f41bc-0dd8-11ec-af6d-18c04de08051  ONLINE       0     0 0
            gptid/f09dea3d-f975-11eb-ae37-4cedfb75003f  ONLINE       0     0 0
          raidz1-1                                      ONLINE       0     0 0
            gptid/b5433343-ee9a-11e7-9ec1-18c04de08051  ONLINE       0     0 0
            gptid/b5546f04-ee9a-11e7-9ec1-18c04de08051  ONLINE       0     0 0
            gptid/b584907c-ee9a-11e7-9ec1-18c04de08051  ONLINE       0     0 0

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

Plex2/Files/Media/Movies@auto-2021-08-19_00-00:/Live Action/Drama/MOVIE_NAME (2020).mkv

  pool: boot-pool
 state: ONLINE
  scan: scrub repaired 0B in 00:00:18 with 0 errors on Sun Apr  9 03:45:18 2023
config:


I am not sure what to look for next. Any Ideas or do you see something that show?[/code][/code][/code][/Code]
 
Last edited:

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
You should run a scrub to see if new defects show up. I suspect they will.

Do you have a one drive pool? I ask because you only provided ada0 drive info, that does not account for the other 5 drives.

You should post your hardware, maybe you have something questionable, and if you are looking for some good help information, we need it, hence why it's in the forum rules, so we can help better.
 

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48
@joeschmuck I do have 2 vdevs with 3 drive in each. I have my hardware listed in my signature, but here it is too. I started the Scrub, but when it's done what do I do to view the results?



TrueNAS-13.0-U4
CPU: Intel i5-10600ka
Motherboard:
Gigabyte B560M AS3H

Ram: 48gb
G.SKILL Ripjaws V Series 32GB 3200
G.SKILL Ripjaws V Series 16gb 3000

Plex2 Pool:
8tb Seagate ST8000DM004-2CX188 (X3)
8tb Seagate ST8000VN004 (x3)
Boot disk: Hyundai 120GB SSD SATA III

ada01:
Code:
=== START OF INFORMATION SECTION ===
Model Family:     Seagate IronWolf
Device Model:     ST8000VN004-2M2101
Serial Number:    WSD32T59
LU WWN Device Id: 5 000c50 0dbfa43ff
Firmware Version: SC60
User Capacity:    8,001,563,222,016 bytes [8.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-4 (minor revision not indicated)
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Apr 10 11:04:50 2023 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:                (  567) 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:        ( 715) 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          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   070   064   044    Pre-fail  Always       -       9509168
  3 Spin_Up_Time            0x0003   091   084   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       36
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   085   060   045    Pre-fail  Always       -       296041990
  9 Power_On_Hours          0x0032   086   086   000    Old_age   Always       -       12892
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       36
 18 Head_Health             0x000b   100   100   050    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   057   049   040    Old_age   Always       -       43 (Min/Max 37/43)
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       29
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       5257
194 Temperature_Celsius     0x0022   043   051   000    Old_age   Always       -       43 (0 19 0 0 0)
195 Hardware_ECC_Recovered  0x001a   070   064   000    Old_age   Always       -       9509168
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       12506h+22m+48.979s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       25916202986
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       68859353188

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%     12858         -
# 2  Short offline       Completed without error       00%     12690         -
# 3  Extended offline    Completed without error       00%     12677         -
# 4  Short offline       Completed without error       00%     12522         -
# 5  Short offline       Completed without error       00%     12353         -
# 6  Short offline       Completed without error       00%     11922         -
# 7  Short offline       Completed without error       00%     11253         -
# 8  Extended offline    Completed without error       00%     10519         -
# 9  Short offline       Completed without error       00%      9764         -
#10  Short offline       Completed without error       00%      9043         -
#11  Short offline       Completed without error       00%      8302         -
#12  Short offline       Completed without error       00%      7582         -
#13  Short offline       Completed without error       00%      6843         -
#14  Short offline       Completed without error       00%      6099         -
#15  Short offline       Completed without error       00%      5488         -
#16  Short offline       Completed without error       00%      4744         -
#17  Short offline       Completed without error       00%      4024         -
#18  Short offline       Completed without error       00%      3281         -
#19  Short offline       Completed without error       00%      2608         -
#20  Short offline       Completed without error       00%      1864         -
#21  Short offline       Completed without error       00%      1120         -

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


ada2
Code:

root@truenas[~]# smartctl -a /dev/ada2
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate IronWolf
Device Model:     ST8000VN004-2M2101
Serial Number:    WSD3KXXQ
LU WWN Device Id: 5 000c50 0dc55fabb
Firmware Version: SC60
User Capacity:    8,001,563,222,016 bytes [8.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-4 (minor revision not indicated)
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Apr 10 11:06:44 2023 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:                (  567) 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:        ( 721) 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          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   080   064   044    Pre-fail  Always       -       102036030
  3 Spin_Up_Time            0x0003   091   084   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       38
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   085   060   045    Pre-fail  Always       -       303081356
  9 Power_On_Hours          0x0032   086   086   000    Old_age   Always       -       12892
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       38
 18 Head_Health             0x000b   100   100   050    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   056   047   040    Old_age   Always       -       44 (Min/Max 38/44)
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       30
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       5266
194 Temperature_Celsius     0x0022   044   053   000    Old_age   Always       -       44 (0 19 0 0 0)
195 Hardware_ECC_Recovered  0x001a   080   064   000    Old_age   Always       -       102036030
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       12503h+54m+38.093s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       25916333186
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       68715015818

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%     12858         -
# 2  Short offline       Completed without error       00%     12690         -
# 3  Extended offline    Completed without error       00%     12677         -
# 4  Short offline       Completed without error       00%     12522         -
# 5  Short offline       Completed without error       00%     12353         -
# 6  Short offline       Completed without error       00%     11922         -
# 7  Short offline       Completed without error       00%     11253         -
# 8  Extended offline    Completed without error       00%     10520         -
# 9  Short offline       Completed without error       00%      9765         -
#10  Short offline       Completed without error       00%      9043         -
#11  Short offline       Completed without error       00%      8302         -
#12  Short offline       Completed without error       00%      7582         -
#13  Short offline       Completed without error       00%      6843         -
#14  Short offline       Completed without error       00%      6099         -
#15  Short offline       Completed without error       00%      5488         -
#16  Short offline       Completed without error       00%      4744         -
#17  Short offline       Completed without error       00%      4024         -
#18  Short offline       Completed without error       00%      3281         -
#19  Short offline       Completed without error       00%      2609         -
#20  Short offline       Completed without error       00%      1865         -
#21  Short offline       Completed without error       00%      1121         -

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


ada3
Code:
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate BarraCuda 3.5 (SMR)
Device Model:     ST8000DM004-2CX188
Serial Number:    ZR119P65
LU WWN Device Id: 5 000c50 0dbad49d1
Firmware Version: 0001
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5425 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 Apr 10 11:08:38 2023 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:  (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:                (    0) 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:        ( 982) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x30a5) SCT Status supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   080   056   006    Pre-fail  Always       -       95051770
  3 Spin_Up_Time            0x0003   096   092   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       84
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   092   060   045    Pre-fail  Always       -       1426765354
  9 Power_On_Hours          0x0032   083   083   000    Old_age   Always       -       14999h+01m+48.611s
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       84
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   100   100   000    Old_age   Always       -       0
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   065   057   040    Old_age   Always       -       35 (Min/Max 32/35)
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       -       569
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       683
194 Temperature_Celsius     0x0022   035   043   000    Old_age   Always       -       35 (0 21 0 0 0)
195 Hardware_ECC_Recovered  0x001a   080   064   000    Old_age   Always       -       95051770
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       14892h+54m+05.427s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       25614636978
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       230081912089

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%     14964         -
# 2  Short offline       Completed without error       00%     14796         -
# 3  Extended offline    Completed without error       00%     14791         -
# 4  Short offline       Completed without error       00%     14628         -
# 5  Short offline       Completed without error       00%     14460         -
# 6  Extended offline    Completed without error       00%     14305         -
# 7  Short offline       Completed without error       00%     14029         -
# 8  Short offline       Completed without error       00%     13359         -
# 9  Extended offline    Interrupted (host reset)      00%     12633         -
#10  Short offline       Completed without error       00%     11871         -
#11  Short offline       Completed without error       00%     11150         -
#12  Short offline       Completed without error       00%     10409         -
#13  Short offline       Completed without error       00%      9689         -
#14  Short offline       Completed without error       00%      8950         -
#15  Short offline       Completed without error       00%      8206         -
#16  Short offline       Completed without error       00%      7595         -
#17  Short offline       Completed without error       00%      6851         -
#18  Short offline       Completed without error       00%      6130         -
#19  Short offline       Completed without error       00%      5387         -
#20  Short offline       Completed without error       00%      4715         -
#21  Short offline       Completed without error       00%      3971         -

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


ada4
Code:
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate BarraCuda 3.5 (SMR)
Device Model:     ST8000DM004-2CX188
Serial Number:    ZR119P65
LU WWN Device Id: 5 000c50 0dbad49d1
Firmware Version: 0001
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5425 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 Apr 10 11:08:38 2023 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:  (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:                (    0) 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:        ( 982) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x30a5) SCT Status supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   080   056   006    Pre-fail  Always       -       95051770
  3 Spin_Up_Time            0x0003   096   092   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       84
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   092   060   045    Pre-fail  Always       -       1426765354
  9 Power_On_Hours          0x0032   083   083   000    Old_age   Always       -       14999h+01m+48.611s
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       84
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   100   100   000    Old_age   Always       -       0
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   065   057   040    Old_age   Always       -       35 (Min/Max 32/35)
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       -       569
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       683
194 Temperature_Celsius     0x0022   035   043   000    Old_age   Always       -       35 (0 21 0 0 0)
195 Hardware_ECC_Recovered  0x001a   080   064   000    Old_age   Always       -       95051770
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       14892h+54m+05.427s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       25614636978
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       230081912089

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%     14964         -
# 2  Short offline       Completed without error       00%     14796         -
# 3  Extended offline    Completed without error       00%     14791         -
# 4  Short offline       Completed without error       00%     14628         -
# 5  Short offline       Completed without error       00%     14460         -
# 6  Extended offline    Completed without error       00%     14305         -
# 7  Short offline       Completed without error       00%     14029         -
# 8  Short offline       Completed without error       00%     13359         -
# 9  Extended offline    Interrupted (host reset)      00%     12633         -
#10  Short offline       Completed without error       00%     11871         -
#11  Short offline       Completed without error       00%     11150         -
#12  Short offline       Completed without error       00%     10409         -
#13  Short offline       Completed without error       00%      9689         -
#14  Short offline       Completed without error       00%      8950         -
#15  Short offline       Completed without error       00%      8206         -
#16  Short offline       Completed without error       00%      7595         -
#17  Short offline       Completed without error       00%      6851         -
#18  Short offline       Completed without error       00%      6130         -
#19  Short offline       Completed without error       00%      5387         -
#20  Short offline       Completed without error       00%      4715         -
#21  Short offline       Completed without error       00%      3971         -

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


ada5
Code:
root@truenas[~]#
root@truenas[~]# smartctl -a /dev/ada5
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate BarraCuda 3.5 (SMR)
Device Model:     ST8000DM004-2CX188
Serial Number:    ZR106P79
LU WWN Device Id: 5 000c50 0db6e18f1
Firmware Version: 0001
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5425 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 Apr 10 11:10:03 2023 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:  (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:                (    0) 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:        (1006) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x30a5) SCT Status supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   079   054   006    Pre-fail  Always       -       73908126
  3 Spin_Up_Time            0x0003   096   093   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       55
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   091   060   045    Pre-fail  Always       -       1281178042
  9 Power_On_Hours          0x0032   085   085   000    Old_age   Always       -       13869h+51m+16.449s
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       55
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   100   100   000    Old_age   Always       -       0
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   065   050   040    Old_age   Always       -       35 (Min/Max 32/35)
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       -       523
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       621
194 Temperature_Celsius     0x0022   035   050   000    Old_age   Always       -       35 (0 20 0 0 0)
195 Hardware_ECC_Recovered  0x001a   079   064   000    Old_age   Always       -       73908126
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       13841h+37m+27.595s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       24407490170
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       193372429884

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%     13835         -
# 2  Short offline       Completed without error       00%     13667         -
# 3  Extended offline    Completed without error       00%     13662         -
# 4  Short offline       Completed without error       00%     13499         -
# 5  Short offline       Completed without error       00%     13331         -
# 6  Short offline       Completed without error       00%     12900         -
# 7  Short offline       Completed without error       00%     12230         -
# 8  Extended offline    Interrupted (host reset)      00%     11504         -
# 9  Short offline       Completed without error       00%     10742         -
#10  Short offline       Completed without error       00%     10021         -
#11  Short offline       Completed without error       00%      9280         -
#12  Short offline       Completed without error       00%      8560         -
#13  Short offline       Completed without error       00%      7821         -
#14  Short offline       Completed without error       00%      7077         -
#15  Short offline       Completed without error       00%      6465         -
#16  Short offline       Completed without error       00%      5721         -
#17  Short offline       Completed without error       00%      5001         -
#18  Short offline       Completed without error       00%      4258         -
#19  Short offline       Completed without error       00%      3586         -
#20  Short offline       Completed without error       00%      2842         -
#21  Short offline       Completed without error       00%      2098         -

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
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
The permanent error showing is in a snapshot.

Question - you appear to have 7 SATA devices (6*HDD, 1 * SSD) yet the board only has 6 SATA ports and 1 M.2 (supporting SATA / NVMe)
Is your boot disk an M.2 format?

To view the results of the scrub - "zpool status -v"
 

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48
@NugentS Yes the Boot drive is m.2. Do you know what the permanent error means?
 
Last edited:

Pitfrr

Wizard
Joined
Feb 10, 2014
Messages
1,531
You have 3 SMR drives (ST8000DM004)...
Not sure if this is the issue but they might throw you an error, but I'm not experienced with SMR drive behavior... :smile:
 

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48
Thank you @Pitfrr, I know I had some, but with this mostly just reading the data I figured it would be fine.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
SMR drives are expected to show up as issues during a resilver and possibly a scrub depending on what exactly is also going on at the same time. Heavy load together with a reasonable amount of writes will show up the SMR shortcomings.

You should plan to either replace the SMR drives with CMR drives or switch to using a filesystem which doesn't have the same issues with SMR as ZFS does... unfortunately that second option will mean replacing TrueNAS with something like OpenMediaVault.
 

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48
@sretalla I'm trying to move everything over to my Dell T7910 (backup) with Western Digital WD80EMAZ-00WJTA0 drives, but so far be unable to.
Here is the scrub results
Code:
pool: Plex2
state: ONLINE
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: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
  scan: scrub repaired 0B in 12:24:44 with 1 errors on Mon Apr 10 23:37:13 2023
config:

        NAME                                            STATE     READ WRITE CKSUM
        Plex2                                           ONLINE       0     0 0
          raidz1-0                                      ONLINE       0     0 0
            gptid/d29a01b0-e735-11eb-b8a6-4cedfb75003f  ONLINE       0     0 2
            gptid/2e5f41bc-0dd8-11ec-af6d-18c04de08051  ONLINE       0     0 2
            gptid/f09dea3d-f975-11eb-ae37-4cedfb75003f  ONLINE       0     0 2
          raidz1-1                                      ONLINE       0     0 0
            gptid/b5433343-ee9a-11e7-9ec1-18c04de08051  ONLINE       0     0 0
            gptid/b5546f04-ee9a-11e7-9ec1-18c04de08051  ONLINE       0     0 0
            gptid/b584907c-ee9a-11e7-9ec1-18c04de08051  ONLINE       0     0 0

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

        Plex2/Files/Media/Movies@auto-2021-08-19_00-00:/Live Action/Drama/The Rental (2020) - 1080p.WEB-DL.DD5.1.H264-CMRG.mkv

 pool: boot-pool
 state: ONLINE
  scan: scrub repaired 0B in 00:00:18 with 0 errors on Sun Apr  9 03:45:18 2023
config:
 
Last edited:

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
"The Rental" has in some respect probably been corrupted. You however cannot delete it as its in a snapshot.
You could try deleting the entire snapshot auto-2021-08-19_00-00 under movies which might solve that issue.

"
raidz1-0 ONLINE 0 0 0
gptid/d29a01b0-e735-11eb-b8a6-4cedfb75003f ONLINE 0 0 2
gptid/2e5f41bc-0dd8-11ec-af6d-18c04de08051 ONLINE 0 0 2
gptid/f09dea3d-f975-11eb-ae37-4cedfb75003f ONLINE 0 0 2"

chksum errors are often (but not always) the result of cabling issues. Are these the SMR drives or the CMR drives? How are they connected to the motherboard? How are the other drives connected to the motherboard?
 

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48
@NugentS Some are SMR drive. I see that file being corrupted, but when I try to manually move the files it just crashes the PC. I was able to run a Replicate to push the data from the Old NAS (Main) to the new NAS (Backup), but after 5ish hours it did not actually do anything. The drive are connected with sata cables. I will replace the cables. It looks like all the WD drives in my new NAS are all CMR.
 

somethingweird

Contributor
Joined
Jan 27, 2022
Messages
183
I'm wondering if could non ECC memory also done this - memory corruption? (Just learning by questioning)
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Try running a 24 hour memory test and see what turns up
of course you can't use the NAS during the test
 

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48
I Switched out the RAM to see if I would work, I just needing to get the files from the Main to the backup and switch rolls. Now the PC will not boot up at all. I'm going to try and rebuild with another board, but if I remember I couldn't use this board before because the onboard ethernet did not work with TN Core. If I install Scale will I be able to use the config file from Core to rebuild the vdevs/Datasets?
 

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410
No config file is needed for pool properties like vdev/datasets.
 

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48
Thank you @Dice. I switch out the motherboard and I am now able to copy files over. I guess it was the board. I am still not sure why the vdev are showing unhealthy. It looks like none have errors. It shows Used paces 47% and 0 Disk errors. The long and short still have no errors on ID 5, 197,198,199. When do a zpool status -v it show that same file has a error. I deleted it, so I'm not sure what to do now.
 

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410
I'd run a zpool scrub <pool> to have zfs run through checksums. This will repair errors where possible, but will not clear remaining error notifications seen in zpool status -v <pool>.
Clearing errors is done by zpool clear <pool>
 

jspfunk

Dabbler
Joined
Oct 26, 2017
Messages
48
Thanks @Dice. I ran 2 scrubs and it still shows the error. Good to know about the Clear command!
 
Top