CHKDSK freezes at stage 2 for 3 days now

2

Last week on my laptop fair few files got corrupt. I cannot rename them, copy them or delete them. Files belong to visual studio so I cannot compile some of my projects, which I need to finish by tomorrow. I get I/O device error. I have had similar issue about a month ago and running check disk utility seemed to fix it. Last time it ran for 3-4 days and on day 4 it got stuck at step 2 of the CHKDSK half way through but once I restarted my PC it had fixed all issues.

Now I am having the same issue, however this time I have had my CHKDSK running for 2 days now and it just got stuck on file 350,064 of 386,050 and hasn't progressed any further for 2 days. I tried to restart like last time but it didn't fix my files. I wonder what is wrong and why it gets stuck. Are there any other good FREE check disk utilities I can use or other switches with chkdsk that I should be trying (if so, how do I do that)? Thanks

fenix2222

Posted 2012-08-06T22:30:51.087

Reputation: 53

3Welcome to [su]! This sounds like a damaged harddrive, which should probably be fixed before worrying about the filesystem. I highly recommend you back up the entire contents to a new disk as fast as possible. I/O errors usually mean the drive controller is damaged, or the platters are scratched / bad / dying / dead. You'll want to look for a tool which can image drives with bad sectors (so it doesn't hang like CHKDSK is), but I'm afraid our Q-A style is not a good fit for software recommendations. You can try the [chat] though! Best of luck with your files. – Darth Android – 2012-08-06T22:52:26.387

@DarthAndroid - what are the good applications that do disk imageing with bad sectors? – fenix2222 – 2012-08-06T23:53:02.120

1

Clonezilla has a -rescue option which will handle bad sectors properly: http://sourceforge.net/projects/clonezilla/forums/forum/663168/topic/3536957

– Darth Android – 2012-08-07T01:42:56.927

@DarthAndroid - Is it possible to only recover selected files, rather then entire drive? Most of my data is already backed up elsewhere and I only wnat to recover few hundred files only not the whole 500GB hard drive, which is almost full? – fenix2222 – 2012-08-07T04:00:48.597

You might try with a linux live CD, but generally no, it would be quite difficult if the files in question have bad sectors, because recovering them requires the FS to be mounted, and there's a good chance that FS drivers don't handle bad sectors properly (most software doesn't, in fact, just because it's such a rare edgecase to worry about). The easiest way to recover a few files is to clone the disk temporarily, recover the files, and then erase the clone. – Darth Android – 2012-08-07T14:45:50.203

Answers

4

This sounds a lot like you have a damaged hard drive, which is probably what caused the corruption in the first place. When a program tries to read a bad sector on a disk, it will fail, causing the disk to attempt to read it again. If the application is not designed to time out the reads and move on, they can get stuck forever.

Because very few programs, including filesystem drivers, are designed to deal with bad clusters in this manner, recovering the data is problematic.

If you just need a few files, you can try booting the system up with a linux livecd, and then mounting the disk as read-only and disable integrity checks. As long as the critical filesystem structures and the files you want are on good sectors, you should be able to recover them - from there, you can just discard the harddrive and replace it with a new one and reinstall everything.

If you don't have a good backup or the filesystem is damaged, it'll probably be easier just to re-image the data onto a new drive. You'll need a tool like dd-rescue or CloneZilla running with the -rescue option (or any of a number of other tools which are designed to handle this) to make a clone or image of the bad disk and write it out over the network or to another disk on the system. Once the data is on a properly working disk, you can then attempt proper repairs on the filesystem and recovering your files.

Darth Android

Posted 2012-08-06T22:30:51.087

Reputation: 35 133