Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED]What's The Best Way To Test For Bad Drives?

Featured Replies

Duh  ???

 

Thanks

preclearing if there is no data on them yet

 

reading the smart attrtibutes if there is.

  • Author

smartctl -a -d ata /dev/sdd

smartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build)

Copyright © 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

 

=== START OF INFORMATION SECTION ===

Model Family:    Western Digital Caviar Green (AF)

Device Model:    WDC WD15EARS-00Z5B1

Serial Number:    WD-WMAVU1523713

LU WWN Device Id: 5 0014ee 001ea3084

Firmware Version: 80.00A80

User Capacity:    1,500,301,910,016 bytes [1.50 TB]

Sector Size:      512 bytes logical/physical

Device is:        In smartctl database [for details use: -P show]

ATA Version is:  ATA8-ACS (minor revision not indicated)

SATA Version is:  SATA 2.6, 3.0 Gb/s

Local Time is:    Mon Mar  9 07:25:35 2015 EDT

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:      ( 121) The previous self-test completed having

the read element of the test failed.

Total time to complete Offline

data collection: (32400) 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: ( 370) minutes.

Conveyance self-test routine

recommended polling time: (  5) minutes.

SCT capabilities:       (0x3031) SCT Status 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  200  200  051    Pre-fail  Always      -      0

  3 Spin_Up_Time            0x0027  185  181  021    Pre-fail  Always      -      5733

  4 Start_Stop_Count        0x0032  099  099  000    Old_age  Always      -      1626

  5 Reallocated_Sector_Ct  0x0033  200  200  140    Pre-fail  Always      -      0

  7 Seek_Error_Rate        0x002e  200  200  000    Old_age  Always      -      0

  9 Power_On_Hours          0x0032  051  051  000    Old_age  Always      -      36349

10 Spin_Retry_Count        0x0032  100  100  000    Old_age  Always      -      0

11 Calibration_Retry_Count 0x0032  100  100  000    Old_age  Always      -      0

12 Power_Cycle_Count      0x0032  100  100  000    Old_age  Always      -      336

192 Power-Off_Retract_Count 0x0032  200  200  000    Old_age  Always      -      50

193 Load_Cycle_Count        0x0032  193  193  000    Old_age  Always      -      23517

194 Temperature_Celsius    0x0022  124  102  000    Old_age  Always      -      26

196 Reallocated_Event_Count 0x0032  200  200  000    Old_age  Always      -      0

197 Current_Pending_Sector  0x0032  196  195  000    Old_age  Always      -      1105

198 Offline_Uncorrectable  0x0030  200  198  000    Old_age  Offline      -      5

199 UDMA_CRC_Error_Count    0x0032  200  200  000    Old_age  Always      -      0

200 Multi_Zone_Error_Rate  0x0008  200  190  000    Old_age  Offline      -      52

 

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  Extended offline    Completed: read failure      90%    36335        429847680

# 2  Short offline      Completed without error      00%    36329        -

 

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.

 

197 Current_Pending_Sector  0x0032  196  195  000    Old_age  Always      -      1105

198 Offline_Uncorrectable  0x0030  200  198  000    Old_age  Offline      -      5

# 1  Extended offline    Completed: read failure      90%    36335        429847680

It's dead, Jim.

 

You might possibly be able to resurrect it, but given the age of the drive, I think the best course of action is to use this drive as a door stop. I hope all your other drives are healthy, because this drive will very likely cause a failure to rebuild on any other dead drive in the array. It needs to be out of the array ASAP.

197 Current_Pending_Sector  0x0032  196  195  000    Old_age  Always      -      1105

198 Offline_Uncorrectable  0x0030  200  198  000    Old_age  Offline      -      5

# 1  Extended offline    Completed: read failure      90%    36335        429847680

It's dead, Jim.

 

You might possibly be able to resurrect it, but given the age of the drive, I think the best course of action is to use this drive as a door stop. I hope all your other drives are healthy, because this drive will very likely cause a failure to rebuild on any other dead drive in the array. It needs to be out of the array ASAP.

 

While I generally agree with the diagnosis, I feel it necessary to point out that although there were a lot of pended sectors, not a single one of them has been actually reallocated.

 

  5 Reallocated_Sector_Ct  0x0033  200  200  140    Pre-fail  Always      -      0

 

I have seen this type of behavior before, and found that a parity check (complete re-read of the disk) can sometimes clear all or most of the currently pending sectors without reallocating any of them. I chock this up to some type of firmware bug that is pending sectors inappropriately. If successful, in my experience, this is not a sign of a failing disk. Maybe a long shot, but worth a shot I think. The offline uncorrectable is not good - but if it held steady I'm not sure I'd kick the disk for that. The failed test at 90% can be caused by the drive being spun down by the host OS in the middle of the test.

The failed test at 90% can be caused by the drive being spun down by the host OS in the middle of the test.

 

It would say aborted by host.  There's an LBA read failure. no question about it.

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       90%     36335         429847680

  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   051   051   000    Old_age   Always       -       36349
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   196   195   000    Old_age   Always       -       1105
198 Offline_Uncorrectable   0x0030   200   198   000    Old_age   Offline      -       5 

 

I wouldn't trust this drive in my array, it's over 4 years old with over 1100 pending sectors.

I wouldn't even use preclear.

I would get my data off this drive.

I would use badblocks in write mode doing the 4 pass pattern test. (once the drive is removed from the array)

i.e. badblocks -svw /dev/sd?

Keeping in mind this will erase the drive. The final state of the drive is zeroed. i.e. ready for preclear signature.

 

If those 1105 sectors were reallocated, I might use the drive as a scratch drive.

I would surely be looking at retiring it soon.

 

 

 

  • Author

Thanks guys. While it's not good news...it was wholly expected.

 

Just wanted the confirmation of the experts. As always...mucho gracias!

  • 2 weeks later...
  • Author

UPDATE- Got a new 3T, and replaced previous old/failing drive (SDC). After re-build, things look like this:

 

32_zpsz8g269ee.png

 

Looks like SDB is in bad shape too. What are the chances, I'm going to lose data?

  • Author

Well...I'm no expert at reading these things; but even I can see, this don't look good  :(

 

smartctl -a -d ata /dev/sdbsmartctl 6.2 2013-07-26 r3841 [i686-linux-3.9.11p-unRAID] (local build)

Copyright © 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===

Model Family:    Western Digital Caviar Green (AF)

Device Model:    WDC WD20EARS-00MVWB0

Serial Number:    WD-WMAZA4007510

LU WWN Device Id: 5 0014ee 600d73164

Firmware Version: 51.0AB51

User Capacity:    2,000,398,934,016 bytes [2.00 TB]

Sector Size:      512 bytes logical/physical

Device is:        In smartctl database [for details use: -P show]

ATA Version is:  ATA8-ACS (minor revision not indicated)

SATA Version is:  SATA 2.6, 3.0 Gb/s

Local Time is:    Wed Mar 25 07:40:28 2015 EDT

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:      ( 121) The previous self-test completed having

the read element of the test failed.

Total time to complete Offline

data collection: (36660) 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: ( 354) minutes.

Conveyance self-test routine

recommended polling time: (  5) minutes.

SCT capabilities:       (0x3035) SCT Status 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  186  177  051    Pre-fail  Always      -      18888

  3 Spin_Up_Time            0x0027  253  172  021    Pre-fail  Always      -      1008

  4 Start_Stop_Count        0x0032  099  099  000    Old_age  Always      -      1134

  5 Reallocated_Sector_Ct  0x0033  190  190  140    Pre-fail  Always      -      200

  7 Seek_Error_Rate        0x002e  200  200  000    Old_age  Always      -      0

  9 Power_On_Hours          0x0032  060  060  000    Old_age  Always      -      29537

10 Spin_Retry_Count        0x0032  100  100  000    Old_age  Always      -      0

11 Calibration_Retry_Count 0x0032  100  100  000    Old_age  Always      -      0

12 Power_Cycle_Count      0x0032  100  100  000    Old_age  Always      -      231

192 Power-Off_Retract_Count 0x0032  200  200  000    Old_age  Always      -      41

193 Load_Cycle_Count        0x0032  194  194  000    Old_age  Always      -      20729

194 Temperature_Celsius    0x0022  124  102  000    Old_age  Always      -      26

196 Reallocated_Event_Count 0x0032  153  153  000    Old_age  Always      -      47

197 Current_Pending_Sector  0x0032  200  197  000    Old_age  Always      -      67

198 Offline_Uncorrectable  0x0030  200  199  000    Old_age  Offline      -      8

199 UDMA_CRC_Error_Count    0x0032  200  200  000    Old_age  Always      -      0

200 Multi_Zone_Error_Rate  0x0008  200  060  000    Old_age  Offline      -      61

 

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  Extended offline    Completed: read failure      90%    29537        352720192

# 2  Extended offline    Completed: read failure      90%    29526        352720192

# 3  Extended offline    Completed: read failure      90%    29525        352720192

# 4  Extended offline    Completed: read failure      90%    29525        352720198

# 5  Extended offline    Completed: read failure      90%    29513        352720195

# 6  Extended offline    Completed: read failure      90%    29513        352720196

# 7  Extended offline    Completed: read failure      90%    29513        352720194

# 8  Extended offline    Completed: read failure      90%    29501        352720194

 

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.

 

With 2 "bad" drives like this; what are the chances I lost data? Or let me better ask this: how do you guys actually check for lost data??

Well...I'm no expert at reading these things; but even I can see, this don't look good  :(

 

  5 Reallocated_Sector_Ct  0x0033  190  190  140    Pre-fail  Always      -      200

196 Reallocated_Event_Count 0x0032  153  153  000    Old_age  Always      -      47

197 Current_Pending_Sector  0x0032  200  197  000    Old_age  Always      -      67

198 Offline_Uncorrectable  0x0030  200  199  000    Old_age  Offline      -      8

200 Multi_Zone_Error_Rate  0x0008  200  060  000    Old_age  Offline      -      61

 

With 2 "bad" drives like this; what are the chances I lost data? Or let me better ask this: how do you guys actually check for lost data??

 

This doesn't look good, but not sure you have lost data. I would try to get the data off as soon as possible.

 

Mount it outside the array and start copying data to another disk. I would start with the most critical data first. Try to keep the drive cool. You may get errors on some files - skip them. Chances of success are 90% or better to retrieve the vast majority of data.

 

The drive is a goner. Check for any remaining warranty and RMA fast after data recovery. Some of this generation had 5 year warranties I believe.

  • 2 weeks later...
  • Author
r_zpsze5pwtl8.jpg

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.