<begin crackly, broken record :) >
I, for one, would love to have similar functionality that we had in good
old netware, where we could 'salvage' deleted files.
The concept was that when the files were deleted, they were not actually
removed, nor were the all important references to the files to allow
undeleting them.
In the event that a user had an oops, they could just run salvage (or
later, filer) and pick the files from the directory in question, and
*whammo*, undelete it.
I don't recall ever having to do whole directories, nor if it was
actually possible...
IIRC, you could set policy that determined when the deleted files data
blocks became available for overwriting (and hence permanent deletion of
the file).
If it happened that there was too much space 'used up' by the deleted
files, you could run a purge. (I was not a fan of that part).
I'd have preferred that the deleted files were simply overwritten in a
fifo manner, and left purge out of it.
Yes - Snapshots are great, but how often do you run a snapshot? Every 60
seconds? That's going to get real ugly if you have a filesystem per
user...
I once cobbled up a poor man's version of this sort of thing, aliasing
rm to a scripted mv, and pushing everything into a /<fs>/deleted/* area
when someone ran rm (maintaining filesystem directory structure). I then
had occasional rm's run through it, once the filesystem reached a
certain highwater mark.
Something under the covers of ZFS that provided dumb dumb protection
would be very cool. I was saved a number of times by the hackery above...
cheers!
Nathan.
Robert Milkowski wrote:
Hello Jeremy,
Monday, February 19, 2007, 1:58:18 PM, you wrote:
Something similar was proposed here before and IIRC someone even has a
working implementation. I don't know what happened to it.
JT> That would be me. AFAIK, no one really wanted it. The problem that it
JT> solves can be solved by putting snapshots in a cronjob.
Not exactly the same.
But if people really do not want it...
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss