Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Just rm -rf *'d home/me/ directory... tried extundelete, didn't recover more than 10% of data.. trying scalpel, taking forever..

Anyone know of a sure fire way to recover data from ext4?

share|improve this question

migrated from stackoverflow.com Aug 4 '10 at 1:42

This question came from our site for professional and enthusiast programmers.

    
Uh... stop using the computer? –  Hello71 Aug 4 '10 at 2:00

5 Answers 5

First of all, if the disk contains anything that's important for you, STOP THE RECOVERY ATTEMPTS RIGHT NOW. You should first get another disk and take an image of your drive to that one. Then you can safely try different recovery options with that image. Just trying to recover something from your disk can only lead to further loss!

Then you might like to try already mentioned Testdisk and PhotoRec. Those can recognize and recover all kinds of filetypes from many kinds of filesystems.

share|improve this answer
    
What you mean by making an image? Copying them? or is there any other way to make an image? –  Santosh Kumar Mar 15 '13 at 5:08

Have you tried TestDisk? I used it a few times to easily recover information from accidentally formatted hard drives. The website says it supports recovery from ext2/ext3 filesystems, but probably won't hurt giving it a try for your disk. This software is very easy to use IMHO, if you follow the instructions on the website. By the way, if you're not sure if it works for ext4, I am sure you can just ask them! :)

share|improve this answer

I second TestDisk and kindly point you towards http://ubuntuforums.org/showthread.php?t=1132299 where the OP managed to recover his files with TestDisk + PhotoRec.

share|improve this answer

You can also try ext4magic. Is not finished yet, but stable. Works like extundelete. I hope it works better and more thoroughly, but I think it is more difficult to use. At the moment it can only restore files if a copy of the inode in the journal is available. The second stage, similar PhotoRec, but only on the remaining data blocks that could not be restored, is still under development.

http://developer.berlios.de/projects/ext4magic/

robi

share|improve this answer

I'm a fan of R-Studio. Saved my butt a couple of times. http://www.data-recovery-software.net/

share|improve this answer

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.