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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-03-2023, 11:57 AM
|
#1
|
Senior Member
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,716
Rep: 
|
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"?
|
|
|
12-03-2023, 12:35 PM
|
#2
|
Senior Member
Registered: Jul 2020
Posts: 1,514
|
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
|
|
|
12-03-2023, 05:35 PM
|
#3
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,496
|
Reallocated_Sector_Ct, Current_Pending_Sector & Offline_Uncorrectable are much better indicators of badness.
|
|
2 members found this post helpful.
|
12-04-2023, 01:21 PM
|
#4
|
Senior Member
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,716
Original Poster
Rep: 
|
To "fix" this, should I do a format with bad block checking?
|
|
|
12-04-2023, 01:30 PM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,734
|
As suggested post the drive's attributes.
|
|
|
12-04-2023, 01:38 PM
|
#6
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,496
|
I would first use WD's downloadable tool. It may report that its condition is warrantyable. If claimed OK, then consider badblocks and format.
|
|
|
12-05-2023, 02:50 AM
|
#7
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,356
|
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.
|
12-09-2023, 01:53 AM
|
#8
|
Senior Member
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,716
Original Poster
Rep: 
|
Quote:
Originally Posted by mrmazda
Reallocated_Sector_Ct, Current_Pending_Sector & Offline_Uncorrectable are much better indicators of badness.
|
Quote:
Originally Posted by beachboy2
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.
|
|
|
12-11-2023, 02:59 AM
|
#9
|
Senior Member
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,716
Original Poster
Rep: 
|
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.
|
All times are GMT -5. The time now is 09:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|