[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Undelete?



On Wed, Mar 14, 2001 at 04:56:18PM -0700, Andreas Dilger wrote:
> It seems to be some sort of artifact with ext3 - lsdel does not list
> files that have zero blocks (no point in recovering them), nor files
> whose blocks are marked as in-use by another file (even though in
> some cases this might be useful).  It appears that on deleted ext3
> files, the i_blocks field is set to zero on a deleted file, making
> it impossible to recover.  On ext3, the direct and indirect blocks
> are also zeroed out (I checked with "od" after verifying that they
> were stored to disk with debugfs), so there is basically no easy way
> to know where the blocks are.

Yeah, this is the real problem.  Fixing this so that ext3 doesn't
clear the direct and indirect blocks when it's truncating a file which
is about to be unlinked may be somewhat non-trivial, however.  Stephen?

						- Ted





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]