Hey all,
I've recently upgraded from TrueNAS to FreeNAS, and everything was going well until I got the warning via email that one of my drives has bad sectors.
It originally started with:
Shortly followed by a reboot to:
The interesting part was that this was a replacement drive from Seagate under warranty after the original failed within warranty.
Using the below command in the shell:
Which outputted:
Now my bad for not enabling S.M.A.R.T tests since replacing the drive (I didn't realise I only had single drives selected), but I find it slightly coincidental that I've now had two drives fail with a low number of hours. Could it be something within my hardware setup or just bad luck?
My setup:
AMD Athlon 3000G with Radeon Vega Graphics, Gigabyte B450 AORUS PRO, 16GB ECC DDR4 RAM (I know, I need more)
	
		
			
		
		
	
			
			I've recently upgraded from TrueNAS to FreeNAS, and everything was going well until I got the warning via email that one of my drives has bad sectors.
It originally started with:
Code:
Device: /dev/ada2, 8 Currently unreadable (pending) sectors.
Shortly followed by a reboot to:
Code:
Device: /dev/ada2, 2840 Currently unreadable (pending) sectors.
The interesting part was that this was a replacement drive from Seagate under warranty after the original failed within warranty.
Using the below command in the shell:
Code:
smartctl -a /dev/ada2
Which outputted:
Code:
root@freenas[~]# smartctl -a /dev/ada2
smartctl 7.2 2020-12-30 r5155 [FreeBSD 12.2-RELEASE-p14 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family:     Seagate IronWolf
Device Model:     ST3000VN007-2E4166
Serial Number:    Z7311NV5
LU WWN Device Id: 5 000c50 0b2dbe8c4
Firmware Version: SC60
User Capacity:    3,000,592,982,016 bytes [3.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5900 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Aug 24 20:58:07 2022 BST
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:                (  107) 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:        ( 389) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x10bd) 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   111   100   006    Pre-fail  Always       -       32811848
  3 Spin_Up_Time            0x0003   093   093   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       11
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   078   060   030    Pre-fail  Always       -       63340996
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       7548
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       11
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   094   000    Old_age   Always       -       30065229831
189 High_Fly_Writes         0x003a   069   069   000    Old_age   Always       -       31
190 Airflow_Temperature_Cel 0x0022   065   053   045    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       -       1
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       32
194 Temperature_Celsius     0x0022   035   047   000    Old_age   Always       -       35 (0 21 0 0 0)
197 Current_Pending_Sector  0x0012   081   081   000    Old_age   Always       -       3272
198 Offline_Uncorrectable   0x0010   081   081   000    Old_age   Offline      -       3272
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      7547         -
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_testingNow my bad for not enabling S.M.A.R.T tests since replacing the drive (I didn't realise I only had single drives selected), but I find it slightly coincidental that I've now had two drives fail with a low number of hours. Could it be something within my hardware setup or just bad luck?
My setup:
AMD Athlon 3000G with Radeon Vega Graphics, Gigabyte B450 AORUS PRO, 16GB ECC DDR4 RAM (I know, I need more)