xfs
[Top] [All Lists]

Re: undelete - xfsrecover'ing deleted files in xfs

To: King Kac <kacperw@xxxxxxxxx>, linux-xfs@xxxxxxxxxxx
Subject: Re: undelete - xfsrecover'ing deleted files in xfs
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Fri, 01 Feb 2002 19:01:38 +0100
In-reply-to: <20020201114711.A5367@comotion>
References: <4.3.2.7.2.20020201142828.037499a0@xxxxxxxxxxxxx> <20020131210325.C966@comotion> <B87F3B30.17EF%gnydick@xxxxxxxxxxxxx> <4.3.2.7.2.20020201142828.037499a0@xxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
At 11:47 1-2-2002 -0500, King Kac wrote:
[insert amount of random swearwords]
lost data then, eh? 10K is just a little bit above what I can spend, although I was aware of the option :-) Thanks for the help anyways.

XFS reuses the freed blocks very fast you say? I'd think that on a striping raid array the blocks wouldn't be as quickly freed... Does this, in essence, mean that if you're stupid and don't back up your data, you lost it forever in xfs?

The odds are against you. Undelete is something that needs to be designed in from the start. That's not possible anymore with XFS.

When you delete a file the space that you freed is mostly contigous and thus easily reused for the next file you create.

The only that you can do is switch it off as soon as you notice it and then mount the disk read only in another box. Then you start poking it with utilities. If you know the name you might be able to retrieve the file(s).

Backups are the only solution to this problem.

Cheers


--
Seth
Every program has two purposes one for which
it was written and another for which it wasn't
I use the last kind.


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