LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to recover a deleted file from ext3 filesystem ? (https://www.linuxquestions.org/questions/linux-software-2/how-to-recover-a-deleted-file-from-ext3-filesystem-395298/)

Honor 12-21-2005 11:11 AM

How to recover a deleted file from ext3 filesystem ?
 
I delete a important file from ext3 filesystem.
How to undelete?

Thanks

Matir 12-21-2005 12:36 PM

Essentially, you can't.
Quote:

From Linux ext3 FAQ:

Q: How can I recover (undelete) deleted files from my ext3 partition?

A: Actually, you can't! This is what one of the developers, Andreas Dilger, said about it:

In order to ensure that ext3 can safely resume an unlink after a crash, it actually zeros out the block pointers in the inode, whereas
ext2 just marks these blocks as unused in the block bitmaps and marks the inode as "deleted" and leaves the block pointers alone.

Your only hope is to "grep" for parts of your files that have been deleted and hope for the best.


All times are GMT -5. The time now is 05:40 PM.