LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 04-22-2017, 08:18 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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?
 
Old 04-22-2017, 08:24 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by BW-userx View Post
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.
 
Old 04-22-2017, 08:29 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by jsbjsb001 View Post
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.

Code:
bash-4.3# smartctl -t long /dev/sde  <----
entire drive - gets me that same output.

Last edited by BW-userx; 04-22-2017 at 08:33 AM.
 
Old 04-22-2017, 08:32 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
You'll have to wait for at least 155mins as your output says, for the test to finish.
 
Old 04-22-2017, 08:39 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by jsbjsb001 View Post
You'll have to wait for at least 155mins as your output says, for the test to finish.
Oh, I just figured I'd see something more to indicate 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.

Last edited by BW-userx; 04-22-2017 at 08:42 AM.
 
Old 04-22-2017, 08:44 AM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by BW-userx View Post
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.
 
Old 04-22-2017, 08:51 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by jsbjsb001 View Post
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.
 
Old 04-22-2017, 09:10 AM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by BW-userx View Post
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.
 
Old 04-22-2017, 09:49 AM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by jsbjsb001 View Post
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
 
Old 04-22-2017, 10:19 AM   #10
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by BW-userx View Post
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.
 
Old 04-22-2017, 10:21 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by jsbjsb001 View Post
Yeah it's after 12:00 now so, yes it's Sunday here now.
does your mom know you're up this late? because it has to be 12Midnight you're talking about. right?
 
Old 04-22-2017, 11:38 AM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
hahahahaha
Quote:
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 ---

C'est la vie

Last edited by BW-userx; 04-22-2017 at 11:41 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External HDD Input/Output error when moving and deleting certain files. mothqueen Linux - Hardware 11 08-13-2016 11:23 AM
Toshiba 500 GB HDD Input/Output Read Error eruptionjoojo Linux - Laptop and Netbook 2 09-20-2014 09:26 AM
"failed to execute child process" "Input/output error" fl.bratu Fedora 4 12-15-2008 04:03 AM
Input/output error after mounting floppy and trying to access contents on GNU/Linux OliverThomas Linux - Hardware 1 01-04-2007 04:23 AM
/dev/hdd input/output error... Linux~Powered Linux - Software 8 02-17-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration