data recovering in EXT3
..:::BeOS Mr. X:::..
mr._x at shaw.ca
Thu Jul 27 14:36:16 UTC 2006
Q: How can I recover (undelete) deleted files from my ext3 partition?
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.
You can try to contact Andreas Dilger and maybe he can help.
adilger at clusterfs.com
Dmitry Bandurin wrote:
> We have run and stopped by chance command "fsck -y" on one of our raid
> (with ext3 file system). After that we have found that SOME files
> (they are not seen in the directories where they have been before).
> The data are extremely important and contain a lot of programs,
> scripts for some data analysis and very hard to recover by hands.
> I have run ''fsck -y" once more and it recovered just few files..
> Is there any way, any tool that would allow to recover the data?
> Probably there is some specific options for the recovery ralated with
> journaling in ext3?
> I have used debugfs, it produced following, if it helps:
> debugfs: open -f -w /dev/sdb1
> debugfs: features
> Filesystem features: has_journal resize_inode filetype needs_recovery
> sparse_super large_file
> Ext3-users mailing list
> Ext3-users at redhat.com
More information about the Ext3-users