[SOLVED] internal 2.5" hdd input/output error can no longer see contents
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.
internal 2.5" hdd input/output error can no longer see contents
Ok - I'm going back to paper and pencil.
I got this drive. I moved a maga bunch of stuff onto it. then today when I plugged it in again. I can not seeing anything on it whatsoever. It is showing data space being used, just not the data itself.
I opened a term. cd into the hdd. ls
Code:
userx%slackwhere ⚡ ~ ⚡> cd /run/media/userx/NTFS-External
userx%slackwhere ⚡ NTFS-External ⚡> ls
ls: reading directory '.': Input/output error
that is what I am getting. Who is the hdd expert in here. Short of wiping it clean and reestablishing a partition. How can I fix this?
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by BW-userx
Ok - I'm going back to paper and pencil.
I got this drive. I moved a maga bunch of stuff onto it. then today when I plugged it in again. I can not seeing anything on it whatsoever. It is showing data space being used, just not the data itself.
I opened a term. cd into the hdd. ls
Code:
userx%slackwhere ⚡ ~ ⚡> cd /run/media/userx/NTFS-External
userx%slackwhere ⚡ NTFS-External ⚡> ls
ls: reading directory '.': Input/output error
that is what I am getting. Who is the hdd expert in here. Short of wiping it clean and reestablishing a partition. How can I fix this?
Don't know if you've already done this or not, but I would run the following command on it and see what the results are;
Code:
smartctl -t long /dev/sXX
Replace "sXX" with the actual dev name, of course.
Don't know if you've already done this or not, but I would run the following command on it and see what the results are;
Code:
smartctl -t long /dev/sXX
Replace "sXX" with the actual dev name, of course.
Code:
boo
userx%slackwhere ⚡ ~ ⚡> su
Password:
bash-4.3# smartctl -t long /dev/sde1
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.4.38] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 155 minutes for test to complete.
Test will complete after Sat Apr 22 11:03:14 2017
Use smartctl -X to abort test.
bash-4.3#
what? I do not even see it running a test.
and No I am not savy on the smartctl - just never messed with it much.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by BW-userx
Oh, I just figured I'd see something more to indecte it was doing something.
Well it is a good thing I got coffee and something else to do
so now that I just ran this test on a partition and the entire drive, is it best to kill them and just run on on the effected partition, Instead?
which is what I think is a good idea. done. and put back into waiting state.
You have started the test now, so I'd just wait until it finishes and maybe do something else while ya wait for it. Hopefully your drive passes the test, but we won't know until later on.
You have started the test now, so I'd just wait until it finishes and maybe do something else while ya wait for it. Hopefully your drive passes the test, but we won't know until later on.
international date line.
your side bar says you're in Australia so it is Friday there.
yep it will still get done sooner where you are at.
Yeah, I am in oz but it's Saturday 22nd April here.
damn it what happened?
I had a job that deal with Australia and they made me work on Sundays because they said it was your Saturdays there. I just took them at their word.
Now I'm thinking they screwed me.
now I am really confused just googled
"australia date today"
Search Results
Sunday, April 23, 2017
Date in Canberra ACT, Australia
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by BW-userx
damn it what happened?
I had a job that deal with Australia and they made me work on Sundays because they said it was your Saturdays there. I just took them at their word.
Now I'm thinking they screwed me.
now I am really confused just googled
"australia date today"
Search Results
Sunday, April 23, 2017
Date in Canberra ACT, Australia
Yeah it's after 12:00 now so, yes it's Sunday here now.
Use smartctl -X to abort test.
bash-4.3# smartctl -H /dev/sde1
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.4.38] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
Failed Attributes:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 001 001 010 Pre-fail Always FAILING_NOW 16376
this thing has 2 partitions on it.
ext4 is woring
ntfs is not now and I just moved back up data to it. Now I cannot even see it to get it off of it.
twice this has happened to me. use a hdd to back it up then it dies and I lose everything anyways. lmao ---
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.