[SOLVED] Disk errors from fsck - 'Input/output error while trying to open (device)'
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.
Disk errors from fsck - 'Input/output error while trying to open (device)'
Hi, all;
I have a device attached as a storage drive. I'm receiving the above error, with a further of message of 'the superblock could not be read or does not describe...' etc.
When I tried the recommended alternate superblock run (-b 8193, and -b 32768), they both returned the same error on running them individually.
I don't have anything on the drive that I need to recover; it would be nice, but not needed.
Is this error the result of a hardware failure/drive going bad? If so I need to replace the drive. Or, is it more a logical error/ext format problem, that can be solved by re doing the partion (reformating/building/etc)? And, if it is a partiton error, does it mean that there may be a hardware failure looming, anyway, in the future?
Thanks for guidance - I'm not sure what this means, if it's salvagable or fatal.
It's a hardware error. Most likely the drive, but also check power, cooling and cables. In very rare cases could be the disk controller. Note that external enclosures can be bad. If you have one, make sure it is plugged into the same outlet strip as the computer.
the usual way is to try it using another cable, another OS, another PC, another enclosure or another disk. Probably you only need a better power source (more current).
Is this newly changed behavior, or has it always happened?
What form factor is it?
How is it attached?
If externally via USB, what is its power source? As pan64 implied, if a 2.5" drive getting power from the USB port, the port used might not be providing adequate power.
If an external drive that can be removed from its container, attaching it via SATA internally should be a good way to tell if its container or the USB power bus is the problem, and the drive itself OK.
It's a hardware error. Most likely the drive, but also check power, cooling and cables. In very rare cases could be the disk controller. Note that external enclosures can be bad. If you have one, make sure it is plugged into the same outlet strip as the computer.
WRONG. it's usually the cables. check Tom's Hardware if you unsure which is more frequent.
Thank you for the answers - I didn't post and run, it just took me a bit to get to checking everything, lol.
The drive is a Seagate NAS (ST12000VN0008) ~8 months old, in a system (not external enclosure). It had never given an error before, so I was thinking maybe a hardware/disk failure developing.
I reseated the power cables and replaced the hardware cable, no errors when I test the drive now. I didn't read the dmesg output first, so I can't compare before/after. Are the sata cables that fragile? I guess I could have jostled it a tiny bit loose when I was in the case, or bumped a loose fitted cable just enough to break the connection.
Off to run smart etc checks, just to make there's nothing still happening in the harddrive itself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.