Super User is a question and answer site for computer enthusiasts and power users. 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

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 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

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 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.


share|improve this answer

I'm a fan of R-Studio. Saved my butt a couple of times.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .