Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

If fsck complained about unreadable disk following may help you:

First, you should connect additional hard drive of the same or greater size. Then copy all data from old, failing drive to newly connected with dd_rescue or similar tool (it will skip unreadable portions of the source hdd). After that, disconnect old disk. Now try fsck on new hdd.

I suggest you to always create a copy of failing drive and experimenting with a copy.

share|improve this answer
    
Do you know any recovery software that could recovery all data that is lost? –  Arash Mousavi Jan 10 '13 at 14:42
1  
@ArashMousavi There is no guarantee to recover data if some part of the hard drive has failed. You may recover all, or some, or nothing. If you must have the data back, restore it from your backups. –  Michael Hampton Jan 10 '13 at 17:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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