[SOLVED] Capturing hard disk failure when disk is unwritable
Linux - HardwareThis 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.
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.
Capturing hard disk failure when disk is unwritable
I was listening to some audio files this morning. When I went to do something on the computer I saw hard disk failure reports scrolling past. The disk was inaccessible, read or write, but the audio file continued to play. I was too lazy to try to write down the error message. I had to use the power switch to reboot, then ran
Code:
shutdown now -Fr
. The disk checked out. The same happened to me a few days ago. There are no errors in the logs.
If I partition the disk into more partitions, keep the apps and logs on a partition separate from the data, will I be more likely to have a failure only on the data disk and still be able to run programs, capture error messages? Or is this more likely a failure of the hardware than the medium?
The computer and drive are 9 years old. Should I get a new computer or just a new disk?
If you're starting to get disk errors on a reasonably consistent basis then you should replace the disk. Note though that the problem could be a faulty cable, connector or other component. Have you done a SMART check of the disk?
If you feel that it's time to replace your computer anyway then you can replace both computer and disk. That's your call to make as you know what your setup and requirements are.
If you're starting to get disk errors on a reasonably consistent basis then you should replace the disk. Note though that the problem could be a faulty cable, connector or other component. Have you done a SMART check of the disk?
No. I had forgotten about SMART. When it first appeared my disk wasn't SMART-capable; I haven't thought about it since. It's underway. Thanks.
Quote:
Originally Posted by hydrurga
I hope that you have your data backed up.
Yes, of course; the PATA disk of my old computer: it's my backup disk. It's still working! (and un-SMART)
Ensure your data is backed up and replace the disk.
I bought a new disk. I get the same failure. This is an internal drive in a laptop, so there is no cable. Considering the failures of the CD drive and USB ports, I should probably have replaced the whole computer. sigh.
I bought a new disk. I get the same failure. This is an internal drive in a laptop, so there is no cable. Considering the failures of the CD drive and USB ports, I should probably have replaced the whole computer. sigh.
Oh well. Computers don't last forever - looks like you'll need to get a new one. At least now you have a spare drive in case anything goes wrong with the drive on the new computer.
By the way, you didn't mention the failure of the CD drive and USB ports. That would have definitely affected the diagnosis.
you didn't mention the failure of the CD drive and USB ports. That would have definitely affected the diagnosis.
The CD stopped burning after 2 or 3 years. I switched to backing up to an external disk but could still read the occasional CD, so I forgot about it. When trying to install on a new drive, I needed to boot off something other than the hard drive, which drove me to make a boot DVD (on a library machine). Only when that didn't work did I know the CD wasn't reading anymore. I've attributed problems of USB devices to the devices, but the closer attention I had to pay to trying to make a boot USB drive finally provided the evidence that points to the USB hardware. I've replaced the keyboard twice. The CPU and RAM are enough for me; the screen is nearly perfect; now it seems the drive was good too: it seems a shame to ditch it for such minor problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.