Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I am trying to list deleted files from my ext3 file system. debugsfs command with -ld option , suppose to list deleted files but it only listing current existing files and folder. Is any alternate way without any third party tools to recover deleted files .


share|improve this question

Check out extundelete, application for undeleting files on ext3. Please note that in typical system there is rather many automatic write operations to disk, and probability for losing deleted files (as those disk areas are overwritten) is high.

Typically you want to remount your filesystem as read-only or boot from live-CD or similar to prevent overwriting, if you want to successfully restore any files.

Another maybe useful (but less so) link is this tutorial for recovering files. Method described in there is rather complex.

share|improve this answer
I don't want to install any third party tool. – vnix27 Feb 15 '11 at 4:40
@vnix27: then you are basically out of luck. Of course you can use any tools for copying data from raw device (for example /etc/sda), but just finding right place will be problematic. – Olli Feb 15 '11 at 11:32
@vnix27 extundelete is in the (Ubuntu, at least) repos, why don't you want to install it? (and debugsfs isn't) – Kevin Nov 2 '11 at 21:33

You could also try photorec from CGSecurity. It tries to recover every stream it can detect. But you can't select files out of the restore process.

share|improve this answer

Your Answer


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.