Determining if Used Drives are Acceptable to Load Data onto

waves

Cadet
Joined
Mar 7, 2020
Messages
9
Hi,

I bought a lot of 8 used 4tb SAS drives off ebay based on the recommendations in the NAS Killer v4.0 guide. I built 1 freenas and loaded it with data. I am currently trying to get the 2nd freenas running. I put 4 of the SAS drives in it and 2 brand new WD Red SATA drives. I am not too concerned with the SATA drives since they are new and the SMART data matches that. The SAS drives (da0-da3) are what I am concerned with. I ran a short SMART test and pasted all the SMART data below. It looks like the drives vary between 23000 and about 33000 hours.

Are there stats I should be looking for to determine if I should scrap the drive and buy another?

Code:

root@freenas-beta[~]# smartctl -a /dev/da3
smartctl 7.0 2018-12-30 r4883 [FreeBSD 11.3-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              H7240AS60SUN4.0T
Revision:             A2D2
Compliance:           SPC-4
User Capacity:        4,000,787,030,016 bytes [4.00 TB]
Logical block size:   512 bytes
Formatted with type 1 protection
8 bytes of protection information per logical block
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca0731c504c
Serial number:        001520EHKR7X        PEGHKR7X
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun Jun 14 14:57:06 2020 MST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     33 C
Drive Trip Temperature:        85 C

Manufactured in week 20 of year 2015
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  12
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1008
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 521181211918336

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:       1475        0         0      1475        115        212.444  0
write:         0        0         0         0      75559       8250.070  0
verify:        0        0         0         0      10310          0.000  0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -   23880                 - [-   -    -]

Long (extended) Self-test duration: 37452 seconds [624.2 minutes]

root@freenas-beta[~]# smartctl -a /dev/da2
smartctl 7.0 2018-12-30 r4883 [FreeBSD 11.3-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              H7240AS60SUN4.0T
Revision:             A2D2
Compliance:           SPC-4
User Capacity:        4,000,787,030,016 bytes [4.00 TB]
Logical block size:   512 bytes
Formatted with type 1 protection
8 bytes of protection information per logical block
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca07320bdf4
Serial number:        001520EL06PX        PEGL06PX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun Jun 14 14:57:41 2020 MST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     31 C
Drive Trip Temperature:        85 C

Manufactured in week 20 of year 2015
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  14
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1010
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 523277860601856

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:       1857        1         0      1858         73        366.121  0
write:         0        0         0         0       1576       8300.451  0
verify:        0        0         0         0      16558          0.000  0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -   23900                 - [-   -    -]
# 2  Background short  Completed                   -   23898                 - [-   -    -]

Long (extended) Self-test duration: 37452 seconds [624.2 minutes]

root@freenas-beta[~]# smartctl -a /dev/da1
smartctl 7.0 2018-12-30 r4883 [FreeBSD 11.3-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              H7240AS60SUN4.0T
Revision:             A2D2
Compliance:           SPC-4
User Capacity:        4,000,787,030,016 bytes [4.00 TB]
Logical block size:   512 bytes
Formatted with type 1 protection
8 bytes of protection information per logical block
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca073216e28
Serial number:        001520ELBYGX        PEGLBYGX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun Jun 14 14:58:41 2020 MST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     33 C
Drive Trip Temperature:        85 C

Manufactured in week 20 of year 2015
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  13
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1010
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 521062764773376

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:       3901        0         0      3901        158        204.051  0
write:         0        0         0         0       1683       8238.040  0
verify:        0        0         0         0       3920          0.000  0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -   23898                 - [-   -    -]

Long (extended) Self-test duration: 37452 seconds [624.2 minutes]

root@freenas-beta[~]# smartctl -a /dev/da0
smartctl 7.0 2018-12-30 r4883 [FreeBSD 11.3-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              H7240AS60SUN4.0T
Revision:             A2D2
Compliance:           SPC-4
User Capacity:        4,000,787,030,016 bytes [4.00 TB]
Logical block size:   512 bytes
Formatted with type 1 protection
8 bytes of protection information per logical block
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca073213f2c
Serial number:        001520EL8UGX        PEGL8UGX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun Jun 14 14:59:36 2020 MST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     34 C
Drive Trip Temperature:        85 C

Manufactured in week 20 of year 2015
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  12
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1008
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 521351869759488

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:       2999        0         0      2999        136        209.733  0
write:         0        0         0         0       1642       8239.737  0
verify:        0        0         0         0     252353          0.000  0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -   23880                 - [-   -    -]

Long (extended) Self-test duration: 37452 seconds [624.2 minutes]

root@freenas-beta[~]# smartctl -a /dev/ada1
smartctl 7.0 2018-12-30 r4883 [FreeBSD 11.3-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD40EFRX-68N32N0
Serial Number:    WD-WCC7K4AY8RNX
LU WWN Device Id: 5 0014ee 2110f1960
Firmware Version: 82.00A82
User Capacity:    4,000,787,030,016 bytes [4.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 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: 3.0 Gb/s)
Local Time is:    Sun Jun 14 14:59:56 2020 MST
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:                (44400) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 471) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x303d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   253   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   164   164   021    Pre-fail  Always       -       6775
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       10
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       1
 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       10
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       8
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       1
194 Temperature_Celsius     0x0022   121   119   000    Old_age   Always       -       29
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   253   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

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

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
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Elements in grown defect list: 0
That's the main SMART indicator for a SAS drive going bad - and all four of yours appear to be showing as 0.

If you're concerned you could run some of the burn-in testing scripts and then see if any of the SAS drives kick back an error.
 

waves

Cadet
Joined
Mar 7, 2020
Messages
9
That's the main SMART indicator for a SAS drive going bad - and all four of yours appear to be showing as 0.

If you're concerned you could run some of the burn-in testing scripts and then see if any of the SAS drives kick back an error.

Thanks, I'll keep an eye on it. So do SAS drives have different SMART stats than SATA drives? The SATA drive is at the bottom of that pasted list (ada1). I wasn't familiar with what the SAS drives were displaying.

Is it worthwhile to run the following pattern on tests on each drive?:
smartctl -t short /dev/daX
smartctl -t long /dev/daX
badblocks -ws -b 4096 /dev/daX

Is it correct that you can't start a long test on every drive at once due to them needing to be run one at a time? Or is that true only with the badblock test?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Is it correct that you can't start a long test on every drive at once due to them needing to be run one at a time? Or is that true only with the badblock test?
That isn't correct with either test.
 
Top