xfs
[Top] [All Lists]

Re: undelete - xfsrecover'ing deleted files in xfs

To: Steve Lord <lord@xxxxxxx>
Subject: Re: undelete - xfsrecover'ing deleted files in xfs
From: Andi Kleen <ak@xxxxxxx>
Date: Sat, 2 Feb 2002 05:10:59 +0100
Cc: Andi Kleen <ak@xxxxxxx>, Seth Mos <knuffie@xxxxxxxxx>, King Kac <kacperw@xxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <1012590178.26396.429.camel@xxxxxxxxxxxxxxxxxxxx>
References: <4.3.2.7.2.20020201142828.037499a0@xxxxxxxxxxxxx> <20020131210325.C966@comotion> <B87F3B30.17EF%gnydick@xxxxxxxxxxxxx> <4.3.2.7.2.20020201142828.037499a0@xxxxxxxxxxxxx> <4.3.2.7.2.20020201185638.03660ee8@xxxxxxxxxxxxx> <20020201193334.A24652@xxxxxxxxxxxxx> <1012590178.26396.429.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.22.1i
On Fri, Feb 01, 2002 at 01:02:58PM -0600, Steve Lord wrote:
> > When you can find the inode of the deleted file again and its extent btrees 
> > are not destroyed it should be possible to reconnect it to a directory.
> 
> Unfortunately when we free an inode we also remove all the extents from
> it. So even if those extents used to be in the inode, they are not there
> now. The reason this happens is that deleting a file is an unbounded

I see. The extents would be in a btree which would be likely rebalanced
on the extent freeing and that would destroy them because they're inline
in the btree. Is that correct? 

Thanks,
-Andi


<Prev in Thread] Current Thread [Next in Thread>