LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-12-2006, 07:37 AM   #1
osodani
LQ Newbie
 
Registered: Sep 2006
Posts: 6

Rep: Reputation: 0
input/output error


I have Redhat 8 running on hosted server - it's been running great for years.

All of a sudden, last night, almost every file I try to access comes back with "input/output error". Some directories, most notably /usr/bin - are completely unreadable. Others will allow ls to display the file size and permissions, but when I try to read the file, the same input/output errors occur.

I assume this is a massive hard drive failure? Could 80% of the blocks have gone bad simultaneously? I'm no Linux expert, so I want to make sure that I'm not missing something obvious.

The problem is, there is some database data (in a nightly export file) that I desperately need to access.

I asked the hosting company to mount it as secondary drive. Should I try running disk utilities on it? Or will that risk causing further damage? Should I just send the drive to a professional recovery service?

Thanks for any help - I'm in a real bind.
 
Old 09-13-2006, 04:14 PM   #2
fudam
Member
 
Registered: Feb 2006
Distribution: FC
Posts: 86

Rep: Reputation: 15
You don't have to have 80% of the blocks go bad. Just enough to corrupt the file table. So yeah, it's possible.

As an FYI, I've used hard drive recovery services at work on failed drives. Anecdotally we've paid between $2,000 and $8,000 for drive repair.

Using fsck with the -N option should prevent it from making any changes. There is also a -n option, though I'm not sure what the difference is between the two. I would verify that fsck for your fileystem has the -N option and give it a shot (probably with -V too).

If I was your mother, I'd be telling you that you should've backed up like I told you too.

Good luck.
-fudam
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
cp input/output error. bruse Linux - Software 0 05-21-2006 12:38 AM
dd Input/output error Shishio Linux - General 4 01-16-2006 05:46 PM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM
Input / output error xviddivxoggmp3 Slackware 22 08-24-2004 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:33 PM.

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