Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Recover formatted ext3 partition

I have a folder of about 5GB that suddenly disappeared. When I checked its hard disk, I found out it has bad sector for about 2-3MB on this folder. Maybe it is on the folder's pointer.

The partition is EXT3 , and operating system is Debian.

I tried the fsck command , but it hasn't worked.

What should I do? How can I recover data? Any program or command?

share|improve this question

marked as duplicate by Michael Mrozek Jan 10 '13 at 15:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

first of all: Create an umage of that partition/drive and then work on that image. – Bonsi Scott Jan 10 '13 at 18:51
@Arash Are the answers to the duplicate not the same as for your question? It doesn't really matter what the cause was, as long as the fix is the same – Michael Mrozek Jan 11 '13 at 7:31
up vote 2 down vote accepted

Maybe testdisk will handle this.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.