Re: ext3 and undeletion

Jakob Østergaard (jakob@unthought.net)
Tue, 26 Feb 2002 19:23:00 +0100


On Tue, Feb 26, 2002 at 11:15:09AM -0700, Andreas Dilger wrote:
> On Feb 26, 2002 10:00 -0800, H. Peter Anvin wrote:
> > Rose, Billy wrote:
> > > My company can tolerate 0% loss of data (which is why I raised this issue).
> >
> > There is no such thing as 0% loss of data. You can get some amount of
> > security with backups, snapshots (really useful!) or undelete, but you
> > can *NEVER* guarantee 0% loss of data... consider the case when a
> > (l)user overwrites (not just deletes) a newly created file.
>
> Snapshots at the filesystem level could handle the overwrite case.
>
> However, even then it cannot be 0% loss of data, unless you have snapshots
> for _every_ write of the file, which would quickly become prohibitive in
> space usage (think autobackup from an editor on a large file). Sometimes
> people just have to learn from their mistakes...

That's a logging filesystem. One that stores the "diff" whenever someone
writes, rm's, truncates, etc. etc.

AFAIK they exist, so it can be done. Don't know much else about them though.
It does seem like the "elegant" solution to the problem though, if it's ~0%
data loss that's the objective. Having undelete is far from a full solution
to that problem.

Anyone knows about those devils ?

-- 
................................................................
:   jakob@unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/