[zfs-discuss] question about COW and snapshots

2011-06-14 Thread Simon Walter
I'm looking to create a NAS with versioning for non-technical users (Windows and Mac). I want the users to be able to simply save a file, and a revision/snapshot is created. I could use a revision control software like SVN (it has autoversioning with WebDAV), and I will if this filesystem level

Re: [zfs-discuss] question about COW and snapshots

2011-06-15 Thread Simon Walter
On 06/15/2011 12:56 PM, Richard Elling wrote: So now my (ignorant) question: can ZFS make a snapshot every time it's written to? I hope not, that would suck most heinously. Can all writes be available as snapshots so all previous "versions" are available? That would suck worse. Why would

Re: [zfs-discuss] question about COW and snapshots

2011-06-15 Thread Simon Walter
Thanks for the comments. So ZFS alone cannot do what I'd like. In linux there Gamin. Or there is also a kernel patch which gives you /proc/fschanges. I could monitor this file for changes and take a snapshot when a change occurs or under certain circumstances. However, the Linux COW type FS ar

Re: [zfs-discuss] question about COW and snapshots

2011-06-15 Thread Simon Walter
On 06/15/2011 07:45 PM, Simon Walter wrote: Thanks for the comments. So ZFS alone cannot do what I'd like. In linux there Gamin. Or there is also a kernel patch which gives you /proc/fschanges. I could monitor this file for changes and take a snapshot when a change occurs or under ce

Re: [zfs-discuss] question about COW and snapshots

2011-06-15 Thread Simon Walter
On 06/15/2011 09:01 PM, Toby Thain wrote: I know I've certainly had many situations where people wanted to snapshot or rev individual files everytime they're modified. As I said - perfect example is Google Docs. Yes it is useful. But no, it's not what ZFS does. Exactly versions of a whole fil

Re: [zfs-discuss] question about COW and snapshots

2011-06-16 Thread Simon Walter
On 06/16/2011 09:09 AM, Erik Trimble wrote: We had a similar discussion a couple of years ago here, under the title "A Versioning FS". Look through the archives for the full discussion. The jist is that application-level versioning (and consistency) is completely orthogonal to filesystem-leve