LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2005, 09:48 AM   #1
Xyem
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 100

Rep: Reputation: 15
I/O Errors on HDD


My fathers HDD (40Gb IBM Deskstar) recently "failed" (ie Windows could not see nor read it) after a period of it sometimes being there, other times not. It had been making chirping and clicking sounds for the same period of time. Unfortunately he didn't see this as a sign of imminent failure and didn't back up any of the data on it.

I now have it plugged into my Linux system and I have found the following:

During bootup I get "Buffer I/O error on /dev/hdb device block 0" and it goes through to 5 I believe.
fdisk cannot read the drive to print the parition details.
fsck.vfat (as it has FAT32 parititons) reports I/O errors.
Attempts to mount it and mount as readonly also report I/O errors.

The HDD itself is not important but is it possible to recover the data from it?
 
Old 08-20-2005, 02:28 PM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,
i don't want to be the pessimist guy but i would start the preparation for the burial ceremony.
imho, and also some personal experience, fdisk is the last resource.
if you can't read a hd with fdisk, no chance. i never got back.
i thought i should share that with you.
sorry
regards,
slackie1000
 
Old 08-20-2005, 05:29 PM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Same experience here. If you can't read the drive, there is no
way you'll retrieve the data. If it's important enough, and he
wants to spend big money, there are professional data
recovery specialists.
 
Old 08-20-2005, 07:48 PM   #4
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
Seems like the partiton table is damaged. As others said, there is little chnace of fixing this without paying some money to a professional.

There are companies/people who specialise in fixing things like this for some money, doing a search on Google should bring up some results.
 
Old 08-20-2005, 07:56 PM   #5
Xyem
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 100

Original Poster
Rep: Reputation: 15
http://www.dataclinic.co.uk/data-rec...disk-drive.htm

The sound the HDD makes is neither of the sounds on this site (which my Dad found). It's more of a very quiet scraping noise without the clicks.

I doubt it's the partition table or a fix would be simple (use dd to overwrite it and then use something to reconstruct it or simply recover the data such as Easy Recovery, which doesn't work BTW), seems to be more of a hardware failure such as the read/write headers failing or scratching across the surface of the disk... *cringes at the thought*
 
Old 08-20-2005, 09:23 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
I had to have a new WD800JB replaced yesterday, because it
failed. Acutally, I had errors during my first install of Slackware
but thought it was my CDs. It finally hung the box, and was
making a soft 'chick-a chick-a chick' type of sound. Western
Digital's diagnostic software wouldn't even run on the drive,
and I just exchanged it. This type of failure is usually physical
and beyond anything such as Easy Recovery, as you found.

You might want to help your Dad with a good backup plan once
you get a new drive.

Edit: The drive was only 6 days old, but did have errors
when I first got it. I just didn't test it then.

Last edited by Bruce Hill; 08-20-2005 at 09:26 PM.
 
Old 08-26-2005, 07:01 PM   #7
Xyem
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 100

Original Poster
Rep: Reputation: 15
Windows Puts Linux To Shame (regarding this anyway)

My dad found some recovery software that can read the drive, also gets the data back fine. It runs in Windows. I'm quite shocked that Linux refuses to let me tamper with the drive due to I/O errors when Windows will ignore them and let me get on with it. I think thats 1 up to Windows.
 
Old 08-26-2005, 07:11 PM   #8
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
I'm not sure why windows would read the disc and linux wouldn't. I have a disc at home that does the same thing(You can have it if you want...lol) that I took out of my sisters windows laptop. It wouldn't boot or anything. I ended up using a damn small linux cd to boot up the laptop, I was then able to copy the data over my network, to another computer. Seems strange if windows can use it. I would still get everything you want to keep off of that disc.
 
Old 08-26-2005, 07:15 PM   #9
Xyem
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 100

Original Poster
Rep: Reputation: 15
Hmm how to explain it. Windows cannot read the disc "normally" (ie it isn't in explorer or have a drive letter etc.) but recovery software can read it.

Linux just says "I/O Error" any attempt to do anything with the drive (mount, dd, fdisk). I'm now trying to get dd to dump the drive into a file while ignoring the very first part of the disk (which is what I believe the error is coming from). However, I can't remember what I need on the command line to skip without reading. Can anyone enlighten me?
 
Old 08-26-2005, 07:17 PM   #10
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
http://www.cpqlinux.com/dd-resize.html
 
Old 08-26-2005, 07:25 PM   #11
Xyem
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 100

Original Poster
Rep: Reputation: 15
I entered
Code:
dd if=/dev/hdc of=./recover.iso seek=10240
and no I/O error was reported and recover.iso is increasing in size and the drive is not making any strange sounds so it looks like I'm making some kind of progress!
 
Old 08-26-2005, 07:29 PM   #12
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
you used the link i posted for instructions?
cool, glad it's working
 
Old 08-26-2005, 07:31 PM   #13
Xyem
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 100

Original Poster
Rep: Reputation: 15
I'm actually not so sure it's working, even though it's on 3GB now. The drive I'm trying to dd from just powered down... that can't be good...
 
Old 08-26-2005, 07:32 PM   #14
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Re: Windows Puts Linux To Shame (regarding this anyway)

Quote:
Originally posted by Xyem
My dad found some recovery software that can read the drive, also gets the data back fine. It runs in Windows. I'm quite shocked that Linux refuses to let me tamper with the drive due to I/O errors when Windows will ignore them and let me get on with it. I think thats 1 up to Windows.
Check out ddrescue
 
Old 08-26-2005, 07:33 PM   #15
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
How long have you been messing with it? for a while? maybe leave it alone for a while and let it cool down.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
The sound of a breaking system: checking for hdd errors michapma Debian 2 11-15-2005 06:11 AM
IDE HDD errors Razeor Debian 6 07-06-2005 07:27 PM
Problem with HDD IO Errors (WD2000JB) MHOOO Linux - Hardware 5 04-05-2005 10:06 AM
bad shutdown + tons of errors = bad hdd? Red Squirrel Linux - Hardware 3 11-09-2004 05:48 PM
Sata hdd on Silicon Image controller errors Am0eba Linux - Hardware 0 10-25-2004 04:44 PM


All times are GMT -5. The time now is 03:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration