Debugging file system using debugfs

Andreas Dilger adilger at clusterfs.com
Tue Apr 25 18:18:59 UTC 2006


On Apr 25, 2006  15:15 +0530, Manish Katiyar wrote:
>         I am trying to learn recovering of file using debugfs. But even
> though i delete the file and run lsdel in debugfs
> it always gives me 0 deleted nodes found. Where am i making mistake?.

The ext3 implementation makes is basically impossible to recover deleted
files, unless you search the whole disk looking for the data that you
want to recover.  This is an implementation detail for truncate, and may
concievably be fixed (I've discussed an improvement to do this several
times), but nobody has ever worked on it.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.




More information about the Ext3-users mailing list