Slashdot Mirror


Filesystems with Transactions?

Bryan Andersen asks: "I'm looking for a filesystem that I can rollback all the changes made by a user to a given date/time. Are there any for Linux or *BSD, or is my only option to go to one of the NAS vendors? I want this so I can more easily cleanup after users trash all the files they can access. Yes I know this would mean I'd have to have much larger partition sizes, but I feel with disk prices the way they are I can't go wrong doing this." I'm not aware of any filesystems that can specifically do this, and I'm not quite up on my JFS knowledge to know if any of those can be adapted to this task without code changes. It would seem like the easiest way to do this would be to mirror the drives at set times (your "commit") and then a "rollback" would be a simple matter of restoring from those images. Of course, there may be just such a file system in the works that I simply haven't heard about yet. Have you?

2 of 13 comments (clear)

  1. Cacadeless roll backs? by heliocentric · · Score: 4, Insightful

    Unless you make like a specific system backup point where the system is in a completely safe state you know you can return to, wouldn't you still have to be concerned with cascading roll backs?

    Hmmm, as soon as you talked about rolling back "trashed" files I immediately began thinking about some sort of optimistic validation protocol where transactions would attempt to write to the same file and one would roll back (like based on time stamp) but then I caught you just want a restore point for users and I'm wondering why the overhead? Why not just a backup like to external tape, or, as you suggest, added internal HD locations for backup?

    Ok, so maybe having a file system handle the restoration rather than you might seem easy, but how hard is backup software?

    --
    Wheeeee
  2. Re:I hate to do this, but by Anonymous Coward · · Score: 1, Insightful

    Is that more than just a backup of the registry? (Not a troll -- I really don't know.)