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.
|
 |
|
10-18-2023, 11:17 PM
|
#1
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,267
|
How worried should I be about my hard drive?
I decided to install AntiX-21 on the partition of my main machine that currently hosts Slackware-14, after failing to install it on my very old laptop because of video problems. After I had specified the partitions that I wished to use for the install (root, EFI, swap but no home), the installer put up a warning saying that my drive had passed smartctl tests but might fail in the near future and that I should install Gsmartmon.I terminated the install because I needed to think about this.
How worried should I be? This is my main machine and has some valuable stuff on it. I usually back up by tarring the partition and copying the tarball to the laptop. Current sizes of the important ones (untarred) are:
Slackware root: 14G
LFS: 4.9G
Data 5.7G
Why does the installer think the drive is going to fail? I've never noticed any errors reported at boot. I have had this machine for about 5 years and never had any trouble with it, but it was already second-hand when I bought it.
Last edited by hazel; 10-18-2023 at 11:21 PM.
|
|
|
10-18-2023, 11:59 PM
|
#2
|
Senior Member
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 1,030
|
Is it the LifeTime hours test (smartctl -l selftest $DISK)? Mine does that too. The disk is about 5 years old, but in the past I've had WDC's go 10 years. I have no errors either. It might just be looking at the age of the disk. I'd install, but backup anything that would make you cry if you lost it.
|
|
|
10-19-2023, 12:03 AM
|
#3
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,267
Original Poster
|
Quote:
Originally Posted by jayjwa
Is it the LifeTime hours test (smartctl -l selftest $DISK)? Mine does that too.
|
I have no idea what test the AntiX installer ran. It just reported this rather alarming result. I'm tarring up the data partition now, ready to dump it. As you say, better safe than sorry.
|
|
|
10-19-2023, 12:16 AM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,385
|
Your disk is always just about to fail. Likewise your backup. (royal plural)
Tar ? - have you looked at fsarchiver for some confidence in the consistency of that backup ?. My tool of choice for full filesystem backups.
|
|
1 members found this post helpful.
|
10-19-2023, 12:28 AM
|
#5
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,267
Original Poster
|
Quote:
Originally Posted by syg00
Your disk is always just about to fail. Likewise your backup. (royal plural)
Tar ? - have you looked at fsarchiver for some confidence in the consistency of that backup ?. My tool of choice for full filesystem backups.
|
I'd forgotten that one. I have it on SystemRescueCD. What worries me is that I've never had such a message from an installer before.
|
|
|
10-19-2023, 02:51 AM
|
#6
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,359
|
hazel,
As Corporal Jones used to say, "Don't panic"!
Long test (probably less than 2 hours):
Code:
sudo smartctl -t long /dev/sda
View the results:
Code:
sudo smartctl -a /dev/sda
Read the output and if items #5 or # 197 are not zero, then you could have a problem with that drive.
|
|
1 members found this post helpful.
|
10-19-2023, 04:14 AM
|
#7
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,872
Rep: 
|
I wouldn't worry either, just make sure to back up regularly, onto an external disk, (another computer is fine) - I only start worrying if it makes excessive noise, or I have problems mounting it - then I make sure of that back up. 
|
|
1 members found this post helpful.
|
10-19-2023, 04:54 AM
|
#8
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,267
Original Poster
|
Quote:
Originally Posted by beachboy2
Long test (probably less than 2 hours):
Code:
sudo smartctl -t long /dev/sda
View the results:
Code:
sudo smartctl -a /dev/sda
Read the output and if items #5 or # 197 are not zero, then you could have a problem with that drive.
|
It takes 88 minutes apparently. Results promised 12:20. Thanks.
|
|
|
10-19-2023, 06:56 AM
|
#9
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,267
Original Poster
|
OK, here it is.
|
|
|
10-19-2023, 08:11 AM
|
#10
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,359
|
hazel,
Those figures for items #5 and #197 do not make for pretty reading.
The Current Pending Sector Count of 343 and Reallocated Sector Count of 1063 indicate imminent drive failure!
It does not matter if SMART says PASSED, those 2 figures are the ones which tell the true state of your drive.
Get your personal data backed up from the drive (I think you have already done this?) and then get yourself a nice new SSD such as this Crucial MX500 256GB:
https://www.amazon.co.uk/dp/B0781VSX...OKL5A1OLE&th=1
I have bought lots of these for several different machines (mine and in new builds for other people) and they are very good quality.
Last edited by beachboy2; 10-20-2023 at 07:16 AM.
|
|
|
10-19-2023, 08:19 AM
|
#11
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,267
Original Poster
|
I don't know how to buy stuff from Amazon!! I never buy anything online, I don't feel safe doing that. And I have no idea how to put in a new drive anyway.
No, it looks like I will have to buy another computer. And it will have to be a laptop because no one sells towers any more. And I hate laptops!!!
The only computer shop anywhere near here is Computer Exchange and those are all second hand; it's where I got this machine from. Well, it lasted 5-6 years, didn't it. Maybe I'll just buy another one from them.
|
|
|
10-19-2023, 08:31 AM
|
#12
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,359
|
hazel,
Fair enough.
I should point out for the benefit of others that the Crucial MX500 SSDs need a firmware update according to this purchaser on Amazon:
Quote:
If you are a Linux user, you must update these MX500 SSDs to their latest firmware which is M3CR046 currently done via their windows utility. All firmware revisions prior to this are plagued with issues. Ordinary desktop users (windows, mac) supposedly will be less affected.
|
My Crucial MX500s must have been earlier versions and there were no problems whatsoever.
Going back to laptops, I can strongly recommend a used Lenovo T440s.
I think this is your local store (Cex):
https://uk.webuy.com/search?stext=lenovo%20T440s
Get an Intel Core i5-4300U with 8GB of RAM.
Good luck.
PS Give the store a ring first.
They can perhaps
get a Lenovo T440s in from another branch.
I think that link I gave was for stock at all their many branches.
ALSO, they may well have a Lenovo Think Centre like your current one.
Call in and enquire about availabilty of both machines.
Last edited by beachboy2; 10-19-2023 at 09:04 AM.
|
|
|
10-19-2023, 11:49 AM
|
#13
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,872
Rep: 
|
@Hazel
Lots of good used kit on Ebay - could you not get a friend to purchase one on your behalf?
I buy all my computers pre used now - so many people get rid of perfectly good computers because MS Windows is so slow on their 'old' one. 
|
|
|
10-19-2023, 11:53 AM
|
#14
|
Member
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 312
Rep: 
|
Quote:
Originally Posted by hazel
And I have no idea how to put in a new drive anyway.
No, it looks like I will have to buy another computer.
|
Buying a new computer due to a HDD/SSD failure in the old one is a little bit strange. Changing a HDD/SSD in a common tower or desktop case (except some non-standard proprietory cases) is one of the simplest things to do.
|
|
|
10-19-2023, 01:26 PM
|
#15
|
Senior Member
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,918
|
Quote:
Originally Posted by hazel
I don't know how to buy stuff from Amazon!! I never buy anything online, I don't feel safe doing that.
|
Buying from Amazon or eBay requires verifying/trusting the sellers, but that's very different from buying from a store where there are real humans you can contact via phone or email to confirm you're getting the right part, or if anything goes wrong - for example, QuietPC ( www.quietpc.com) are a company I've used multiple times.
Quote:
And I have no idea how to put in a new drive anyway.
|
It generally involves using a screwdriver and plugging in a couple of cables (one for power, one for data). The cables are different from each other (so can't be mixed up) and the ports are asymmetric so they can't be put in backwards.
Depending on the case/mounting, the screws might be a bit awkward, but for a stationary tower you may only need a couple to hold it in place - can't remember the last time I used four screws.
Quote:
No, it looks like I will have to buy another computer. And it will have to be a laptop because no one sells towers any more. And I hate laptops!!!
|
The above mentioned QuietPC still sell desktops, in various form factors (ATX,mATX,ITX,etc).
Quote:
The only computer shop anywhere near here is Computer Exchange and those are all second hand; it's where I got this machine from. Well, it lasted 5-6 years, didn't it. Maybe I'll just buy another one from them.
|
I don't know your precise location or how far you're willing to travel, but there may be a Currys not too far away, where you can probably buy an overpriced drive - a quick comparison shows they can charge £30-50 more than QuietPC for the exact same item.
Searching for " computer repair in YOUR_LOCATION site:https://www.checkatrade.com" also reveals a number of (presumably verified) people who would probably come to you and plug in a new drive, if for whatever reason you are unable to do it yourself.
|
|
|
All times are GMT -5. The time now is 05:22 PM.
|
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
|
|