Live data from Hacker News

Linux NILFS file system: automatic continuous snapshots

dataswamp.org

1–10 of 158 posts

Re: Linux NILFS file system: automatic continuous snapshots

#5
post #4

How does this compare to ZFS + cron to create snapshots every X minutes?

There is no comparison. NILFS provides *continuous* snaphots, so you can inspect and rollback changes as needed.

It does without a performance penalty compared to other logging filesystems.

And without using additional space forever. The backlog rotates forward continuously.

It's a really unique feature that makes a lot of sense for desktop use, where you might want to recover files that were created and deleted after a short time.

Re: Linux NILFS file system: automatic continuous snapshots

#6
post #4

How does this compare to ZFS + cron to create snapshots every X minutes?

There is no comparison. NILFS provides *continuous* snaphots, so you can inspect and rollback changes as needed. It does without a performance penalty compared to other logging filesystems. And without using additional space forever. The backlog rotates forward continuously. It's a really unique feature that makes a lot of sense for desktop use, where you might want to recover files that were created and deleted afte…

"It does without a performance penalty"

yeah. it's already so terribly slow that it's unlikely that taking snapshots can make it any slower :-D

Re: Linux NILFS file system: automatic continuous snapshots

#8
post #4

How does this compare to ZFS + cron to create snapshots every X minutes?

There is no comparison. NILFS provides *continuous* snaphots, so you can inspect and rollback changes as needed. It does without a performance penalty compared to other logging filesystems. And without using additional space forever. The backlog rotates forward continuously. It's a really unique feature that makes a lot of sense for desktop use, where you might want to recover files that were created and deleted afte…

> It does without a performance penalty.

What is the basis for comparison? Sounds like a pretty meaningless statement at its face.

Re: Linux NILFS file system: automatic continuous snapshots

#9
post #4

How does this compare to ZFS + cron to create snapshots every X minutes?

There is no comparison. NILFS provides *continuous* snaphots, so you can inspect and rollback changes as needed. It does without a performance penalty compared to other logging filesystems. And without using additional space forever. The backlog rotates forward continuously. It's a really unique feature that makes a lot of sense for desktop use, where you might want to recover files that were created and deleted afte…

>It's a really unique feature that makes a lot of sense for desktop us

Sounds like it could serve as a basis for a Linux implementation of something like Apple Time Machine.

Re: Linux NILFS file system: automatic continuous snapshots

#10
post #7

How close is this to a large continuous tape loop for video surveillance? I would very much welcome a filesystem that breaks away from the directories/files paradigm. Any time-based data store would greatly benefit from that.

I think all you would need to add is a daemon that automatically deletes the oldest file(s) whenever free space drops below a certain threshold, so that the filesystem GC can reclaim that space for new files.
Post reply on HN