Link to home
Start Free TrialLog in
Avatar of bejhan
bejhan

asked on

Unexpected I/O error has occurred (external hard drive)

I have a 3TB hard drive, which is just over a year old, in an external enclosure.
I connect it to my Windows 7 desktop via eSATA.

The other day it disappeared from Windows, I had to power down the enclosure for a few minutes and restart Windows to get it working again. I didn't think much of it as this has happened several times before.

Yesterday, I was copying some larger files (about 5 files around 200MB each) onto it and on the last file I got an error, and found that the hard drive had disappeared from Windows again.
Again I powered down the enclosure for a few minutes and restarted Windows. This time the drive didn't show up.
I left it powered down for a while and restarted, finally the drive showed up.
However, I could not browse any files, it just hung and after a while I got an error "Unexpected I/O error has occurred".
I powered down the drive and restarted again, this time the Windows showed a message indicating that the drive needed to be formatted.

At this point, I hoped it was a problem with the enclosure's interface card.
I thought that the power problems may have corrupted the file system.
As well, the hard drive was not making any noises indicate hardware failure.

I went out and bought a new enclosure then connected it to my desktop.
Again Windows showed a message indicating that the drive needed to be formatted.
I ran chkdsk with the /R option. It fixed a bunch of indexing errors.
I quit the process during stage 4 (verifying file data) as it was taking fairly long.

The drive showed up in Windows and I was able to browse through my files.
I opened some as spot checks.

I left the drive alone for a while then went into a folder I'd already accessed since running chkdsk but this time encountered the I/O error again.

This is leading me to believe something is wrong with the hard drive.
Before I go out and buy another hard drive, I wanted to ask the following questions:
Is it possible that a problem with a file could cause the I/O error?
If so, would stage 4 of chkdsk fix this?

If the hard drive is the problem, what is a good utility to copy as much data off the drive as possible? I would like something that indicates files that could not be copied.

I am running chkdsk now, again at stage 4, I think it will take about 50-60 hours to complete at this rate.
ASKER CERTIFIED SOLUTION
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bejhan
bejhan

ASKER

I've tried both eSATA and USB 2, with various cables and even a totally different enclosure.

It's more like a year and a half, the date on the drive is something like May 2012.
How long is RMA allowed? And will they do data recovery?

Is there any method which would verify it is a problem with the drive?
I suppose if I let chkdsk finish it will tell me?
Avatar of bejhan

ASKER

I found this listed as one of the reasons for I/O error on the NTFS-3G site, gives me a bit of hope:

Corrupt file system. Most often they are caused by unexpected power outage, improperly detaching external storage devices, uncleanly shutting down the operating system, file system drivers, partitioners, security software, viruses, root kits and other malwares. If the problem is definitely not hardware related then run CHKDSK /f DRIVE: on Windows.
This situation describes exactly what happened to me, *fingers crossed*.
depends on the manufacturer; i had a seagate with 5 year warranty so almost 2 years for yours should be fine

likely don't do data recovery; usually an expensive task if you have to take it that far though there are some software products that could help when there isn't physical damage (from water, etc.)

depending on the manufacturer, there are usually tools available.  intel has ssd toolbox for their drives; i've used seatools on seagate drives

are you able to install the drive internally?

ntfs-3g is for accessing ntfs partitions on a mac or in linux

are you also ejecting the drive from windows first prior to turning off the enclosure (when it is working and doesn't disappear from windows)?
Avatar of bejhan

ASKER

i had a seagate with 5 year warranty so almost 2 years for yours should be fine
This drive is Seagate, do I need anything besides the drive to start RMA?

likely don't do data recovery
So I'll still have to buy another drive to salvage what I can before doing the RMA.
I guess I can use the replacement drive they send me to do RAID so I don't run into a situation like this again.

are you able to install the drive internally?
I could put it into my desktop. Do you think the enclosure is still the issue, even though it is brand new?

ntfs-3g is for accessing ntfs partitions on a mac or in linux
I know, but in dire circumstances we must cling to any hope we have!

are you also ejecting the drive from windows first prior to turning off the enclosure (when it is working and doesn't disappear from windows)?
Yes I am, but there has only been one time, since this problem occurred, that I removed without an error condition.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bejhan

ASKER

I'll let chkdsk run over night, if it doesn't get stuck I'll let it finish over the weekend.
Otherwise, I'll put it into my desktop and see if that makes a difference before chalking this up to a bad drive.

Do you know of any utilities for copying data off a bad drive?
Preferably something free which indicates the files that could not be copied.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bejhan

ASKER

I am running chkdsk because I am hoping the problem is due to file system corruption.

I will try Seagate tools next, with my drive connected through SATA. Is eSATA enough or do I need to put the drive into my desktop?

How does the program repair drives? I thought it to be a hardware issue if the drive is bad.
>>  I am running chkdsk because I am hoping the problem is due to file system corruption.
  <<  ok - but what is the problem ?
eSata will work fine

>>  How does the program repair drives?   <<   read the info on http://www.dposoft.net/hdd.html
Avatar of bejhan

ASKER

ok - but what is the problem ?
As I said above, the drive was not recognized by Windows due to power failure during write.
chkdsk stages 1-3 fixed up indexes and the drive was usable again.

However, I still encounted some I/O errors.
I was hoping stage 4 (verifying file data) would fix this.

Unfortunately, chkdsk has been running all night and I am only at file 782 of 29936.
It has indicated that it replaced bad clusters in some files.
I think it may have stalled. I will wait a bit longer to see if it progresses.
then use the methods and soft i posted.
but if the disk is physically bad,  no soft will help
Avatar of bejhan

ASKER

Seagate tests are failing. I'd better buy a replacement drive and start data recovery immediately.
Avatar of bejhan

ASKER

I am running HDD Regenerator prescan at the moment.
Do you think there is any point after failing Seagate tests?
Avatar of bejhan

ASKER

I put disk into my desktop (took out enclosure) and HDD Regenerator told me to backup data immediately, I guess that's confirmation that the drive is bad.

I am going to buy a replacement but in the mean time I will let it run and regenerate the sectors it can. So far it has scanned 816MB and already encountered 4 bad sectors. I'm not sure that this will do much.
>>  Seagate tests are failing  <<  did it say on what it fails?
if it is an i/o error, chances are it is in the logic board; you tried another cable (for the usb device)?

>>  So far it has scanned 816MB and already encountered 4 bad sectors.   << that looks VERY promising for recovery. I've had cases where i had several hundreds of errors, (mostly in one section of the drive) and all was running 100% later

i'm curious to see the outcome
Avatar of bejhan

ASKER

did it say on what it fails?
It fails on the short sequence test during the inner scan.

if it is an i/o error, chances are it is in the logic board; you tried another cable (for the usb device)?
I've tried different USB cables, different eSATA cables, and now I even have it in my desktop.

that looks VERY promising for recovery. I've had cases where i had several hundreds of errors, (mostly in one section of the drive) and all was running 100% later
The hard drive disappeared from Windows partway through the test.
Avatar of bejhan

ASKER

I want to copy my data but the hard drive keeps disappearing from Windows.
I've noticed it gets pretty hot, I suspect this is the cause of my issues.
Avatar of bejhan

ASKER

I've put it back in the enclosure because I could not get Windows to recognize it while it was in my desktop. It is showing up in Windows again but I cannot browse the files. chkdsk even hangs.

I tried that EaseUS utility but it also hangs.

Any suggestions?
Avatar of bejhan

ASKER

I created a LiveUSB of Ubuntu and booted into that.
I am currently attempting to copy the data via ddrescue.

It has been about 5 minutes with 0 bytes rescued.

Yesterday, I was able to access the files I spot checked, so I'm hoping there is still data to be saved. I hope that running chkdsk and HDD Regenerator did not totally kill the drive...
Avatar of bejhan

ASKER

I ended up running chkdsk again, in an attempt to restore the file system.
It allowed me to view directory listings in Windows.

I attempted to copy via rsync in Ubuntu but the linux NTFS driver did not allow me to even view directory listings.

Currently, I am using TeraCopy in Windows to retrieve what I can.
I have a cold pack under the hard drive enclosure, it seems to be keeping it from disappearing from Windows.
It is going slow but I have been able to copy some files!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bejhan

ASKER

Never use an usb enclosure for recovery - it adds only an interface hardware, and software, and removes error handling - leave it directly connected to sata port
For some reason, Windows will only detect the drive via USB, not eSATA or directly plugging into desktop. What could be the reason for this?

cool it  as best as you can
Having the cold pack under the drive seems to keep it relatively cold.

Do NOT run chkdsk on a bad drive -  it only corrupts it further !
The reason I had been running chkdsk is so I could actually access the files in Windows and attempt to copy via TeraCopy. I was able to recover 40GB with this method but it stopped working after a while.

I am going to try Acronis True Image with ignoring error option.
I can't seem to get it to see my device though.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do NOT run chkdsk on a bad drive -  it only corrupts it further !

that's ridiculous
if any files are corrupt or 0 bytes in size after chkdsk it's because the file was corrupt from the start and chkdsk fixed either an MFT entry, relocated a bad sector that had part of the file, etc.  it doesn't go in there causing data corruption

any further progress on the data recovery?
@seth : it is NOT ridiculous.
try running chkdsk on a reported bad drive - by the diagnostic program
what do you think will happen ? answer : you don't know
Avatar of bejhan

ASKER

TeraCopy is able to partially copy folders, but it seems to halt upon encountering a bad sector. So aside from going file by file it isn't much help (with ~30K files this isn't really a viable option). At certain points it would be transferring ~20 MB/s then it would drop to ~500 KB/s then to ~40 KB/s at which point I believe it halts. What would be the cause for it to drop speed but continue working for a while? I thought if it encountered a bad sector it would just halt.

I tried to make a backup with Acronis True Image, ignoring bad sectors, but the process never seemed to start. This program created a bunch of other problems (computer freezing, other programs not starting, etc.) so I removed it.

Next, I tried to make a backup with StorageCraft ShadowProtect (Desktop Edition), it apparently ignores bad sectors by default. I was able to get about 10% through the copy when my new drive disappeared from Windows, then appeared again, causing the backup to fail. I'm thinking this is due to the RAID enclosure the new drive is in. I will put it directly into my desktop and try again.

Another program I was thinking to try is HDDGuru HDD Raw Copy Tool, which does a sector by sector copy of the drive, ignoring bad sectors.

Any thoughts?
>>  What would be the cause for it to drop speed   <<  these are the bad sectors; the system retries a number of times (maybe up to 20 ir more)
it never halts -because then it would be less than useless.

now- did you let hddRegenerator finish? that was not clear to me
Avatar of bejhan

ASKER

As I said in a previous post, the bad hard drive disappeared from Windows partway through the the HDD Regenerator processing. Do you think I should try again?
did HDDREg give an error? which one?
i never had problems with it, , so yes, you can try it once more
it can be a bad contact in the logic - causing the disk to vanish
Avatar of bejhan

ASKER

did HDDREg give an error?
It was complaining about too many bad sectors and indicated the drive should be replaced immediately.

I've had HDDGuru HDD Raw Copy Tool running overnight and it is at 20%, I will let it continue.

If it fails, I will try HDD Regenerator again.
if it runs in the thousands of errors - then yes it is useless
a couple of hundreds of errors can be handled in most cases
Avatar of bejhan

ASKER

I've tried HDD Raw Copy about 3 times, it continually fails between around 18%.
One of my colleagues suggested that it may be the logic board, there are some on eBay for purchase.

I will try HDD Regenerator now.
Avatar of bejhan

ASKER

I ran HDD Regenerator, it got to 0.02% and then complained about a seek failure.
Then it indicated that the drive is not ready.

The # of scanned sectors is SLOWLY increasing though.
What does this mean?
Avatar of bejhan

ASKER

HDD Regenerator halted, and indicated that some bad sectors cannot be repaired under Windows.

Should I attempt to do so with bootable CD?
no it won't help.
you can try by replacing the logic board, but i must warn you i never saw a success on modern drives (200 GB and more); it seems the bad sector info + other info is stored in the board itself - but you're free to try. Be sure to getone with  the same model and firmware number
if you do so, - post your findings.
if you NEED the data - and are willing to pay, a data recovery service is the only way to go, here a couple of links - but you may find others in your town too.
http://www.lowcostrecovery.com/index.html                        data recovery Company
http://www.gillware.com/                                 "           "                   "
http://www.drivesavers.com/services/estimates.html                     "           "                   "
be sure to ask for their recovery policy, and fee !
Avatar of bejhan

ASKER

I was lucky enough to find an exact match logic board on eBay for $50. I think it's worth a shot, I'm interested in trying, for experience if nothing else. I will definitely post my findings, I'm sure I will have some questions as well.

The data on the drive isn't important enough to warrant data recovery service, as I understand it is very costly.
ok; waiting for results then
don't be surprised if it sees the drive as another size
Avatar of bejhan

ASKER

I've been using robocopy to attempt to retrieve data off the drive while I wait for the PCB. It has actually been quite successful. So far I have retrieved 700 GB / 2.5 TB with only 47 file CRC errors so far.

My progress has slowed quite a bit, files are still being transferred but VERY slowly.
What does this indicate?

Do you think it will remain slow or am I just on a bad platter or something?

I am thinking that swapping PCB will not solve any problems, and may just return it.
Any thoughts?
Avatar of bejhan

ASKER

A lot of the slowness is due to CRC errors, and the fact that Windows takes forever to detect them.

Any thoughts on decreasing the Windows disk read timeout? I know this can be potentially dangerous and can't find much information, aside from a blog post.
the slowness is caused by the bad sectors - causing retries.
>>  decreasing the Windows disk read timeout?  <<  never did that; what blog are you referring to?
Avatar of bejhan

ASKER

the slowness is caused by the bad sectors - causing retries.
If the sectors are bad, how does copying of the file eventually progress?

Some of the "slow" files are successfully transferred.
Other times, it gets to some arbitrary percent, very slowly, then finally fails with CRC error.

never did that; what blog are you referring to?
http://blogs.msdn.com/b/san/archive/2011/09/01/the-windows-disk-timeout-value-understanding-why-this-should-be-set-to-a-small-value.aspx?Redirected=true

I'm not sure if this even applies to non-server editions of Windows. Or if it will even help my problem. But things are getting really slow now, only 10GB of transfer since I posted yesterday.

Not sure if this is a factor, but the first ~600GB were larger files (700MB - 2GB). Now I am onto a smaller files (70MB - 300MB).

Also, could the transfer benefit from giving the bad hard drive a break (i.e. turning it off for a day or so)?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bejhan

ASKER

Since there was no real resolution to this issue, I assigned points to answers which were helpful to me.