LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-03-2023, 11:57 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,716

Rep: Reputation: 188Reputation: 188
smartctl read failure


I have a 4TB WDC WD40EFRX-68WT0N0 SATA drive. Running smartctl -a /dev/sdb after running smartctl -t /dev/sdb (self test) reports:
Code:
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       10%      2203         1173004408
# 2  Short offline       Completed: read failure       10%      2009         1352775304
# 3  Short offline       Completed: read failure       90%     55418         2639450161
Yet that report also says, "SMART overall-health self-assessment test result: PASSED".

So what's up here? Does this drive need to be replaced? If it's having read failures, why would it report "PASSED"?
 
Old 12-03-2023, 12:35 PM   #2
lvm_
Senior Member
 
Registered: Jul 2020
Posts: 1,514

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Such trifles as bad blocks are not considered a device failure until they exceed the available relocation space, hence PASSED. Attributes are more informative than self-test results
 
Old 12-03-2023, 05:35 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,496
Blog Entries: 1

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
Reallocated_Sector_Ct, Current_Pending_Sector & Offline_Uncorrectable are much better indicators of badness.
 
2 members found this post helpful.
Old 12-04-2023, 01:21 PM   #4
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,716

Original Poster
Rep: Reputation: 188Reputation: 188
To "fix" this, should I do a format with bad block checking?
 
Old 12-04-2023, 01:30 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,734

Rep: Reputation: 6316Reputation: 6316Reputation: 6316Reputation: 6316Reputation: 6316Reputation: 6316Reputation: 6316Reputation: 6316Reputation: 6316Reputation: 6316Reputation: 6316
As suggested post the drive's attributes.
 
Old 12-04-2023, 01:38 PM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,496
Blog Entries: 1

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
I would first use WD's downloadable tool. It may report that its condition is warrantyable. If claimed OK, then consider badblocks and format.
 
Old 12-05-2023, 02:50 AM   #7
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,356
Blog Entries: 49

Rep: Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597
mfoley,

Have you tried to run a long SMART test?

Code:
sudo smartctl -t long /dev/sdb
Output:

Code:
sudo smartctl -a /dev/sdb
 
1 members found this post helpful.
Old 12-09-2023, 01:53 AM   #8
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,716

Original Poster
Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by mrmazda View Post
Reallocated_Sector_Ct, Current_Pending_Sector & Offline_Uncorrectable are much better indicators of badness.
Quote:
Originally Posted by beachboy2 View Post
mfoley,

Have you tried to run a long SMART test?

Code:
sudo smartctl -t long /dev/sdb
Output:

Code:
sudo smartctl -a /dev/sdb
Running the long test now and will check Reallocated_Sector_Ct, Current_Pending_Sector & Offline_Uncorrectable per mrmazda.
 
Old 12-11-2023, 02:59 AM   #9
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,716

Original Poster
Rep: Reputation: 188Reputation: 188
Results of long test:
Code:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  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
Conclusion: I'll monitor these attributes going forward and only get worried if any of these show failures. I may do a badblock reformat some day.
 
1 members found this post helpful.
  


Reply

Tags
failure, read, smartctl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Failure after failure after failure.....etc 69Rixter Linux - Laptop and Netbook 5 04-14-2015 09:58 AM
[SOLVED] smartctl long selftest shows read error joe_2000 Linux - Hardware 21 12-24-2013 06:41 AM
[SOLVED] Smartctl read failure; Is my HD failing? Kallaste Linux - Newbie 12 12-10-2013 02:03 PM
reiserfsck and smartctl samac Slackware 4 07-10-2005 04:05 PM
smartctl rch Linux - Hardware 0 04-13-2003 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration