News for hackers. Stuff that matters.
Re:OpenZFS launch by emillon on Tuesday September 17, 2013 @01:20PM (#6400554)
I have trouble understanding the position of OpenZFS.

My understanding is that Oracle ZFS, which can not be integrated in mainline Linux, can still be distributed as a separate project (zfsonlinux.org).

On the other hand, Linux kernel developers have started btrfs, which is inspired by, but incompatible with, ZFS.

So, what is this project? I can only imagine that this is either a white room reimplementation of ZFS, or a fork before the license changed (but I think it was CDDL from the start).

A more interesting question would be: who should use or develop this? IMHO this will never be on par with "the" ZFS, so btrfs is where everyone's energy should go.

(Also, by reimplementing a ZFS product you're supporting them in a way.)

Re:OpenZFS launch by epistasis on Tuesday September 17, 2013 @01:30PM (#6400625)
You should read the link, it answers many of your questions here. For example, it's not a reimplementation of ZFS, it's an organization to coordinate between the many different groups that are actively using ZFS in their products.

Parts of btrfs may be inspired by ZFS, but btrfs doesn't even aspire to some of ZFS's niceties like zraid3. And if you're looking at ever using 4TB disks, a third parity bit should be a requirement.

I'm a fan of btrfs, but I'm a much much bigger fan of ZFS. ZFS will almost certainly be at the base of our next storage buildout, and btrfs probably will not. The only thing keeping btrfs relevant is that the GPL and CDDL interact poorly. But when there's a great, well tested, and higher tech code base, why should people abandon it? ZFS is used by many many people in production, btrfs by very few, and even if btrfs hits all its development roadmap it won't be the equal of ZFS.

Re:OpenZFS launch by emillon on Tuesday September 17, 2013 @01:45PM (#6400698)
I read the link, and I disagree that it answers these questions. It is presented as "the truly open source successor to the ZFS project", which is why I understood it was a fork.

I agree that btrfs is not ready for production (and I'm not ready to hand my precious bytes to it yet), and will probably never be as feature rich as ZFS. But the licensing issue will always exist, and Linux needs a modern file system -- btrfs.

That said, a lot of people/businesses use ZFS on Linux in production, so it's nice that there is an central place where they can find documentation about it.

Re:OpenZFS launch by epistasis on Tuesday September 17, 2013 @02:20PM (#6400899)
My apologies, on reading again, my first sentence comes across far snarkier than I meant it to be! I thought that the announcement was clear, but reading again, I can see some ambiguities.

I do agree that that Linux probably could use something better than ext4. But Linux also needs something like ZFS.

If Linux's license makes it too difficult to run ZFS, then I can run FreeBSD, Illumos, OpenIndiana, or whatever other open source OS I want in order to get ZFS. But I can't replace ZFS with btrfs, and it doesn't look like btrfs wants to be able to replace ZFS.

Re:OpenZFS launch by takeda64 on Tuesday September 17, 2013 @09:48PM (#6402970)
Well, it's like fork but it's the other way. After Oracle bought Sun, other projects that adopted ZFS continued fixing it and adding new features.

So FreeBSD has its version, Illumnos (fork of Solaris) has it own, Delphix own and so on. Those projects were using patches from each other but managing all of that became problematic.

So they basically designated one central place to do ZFS development from which all of the projects will use.

So now instead of many ZFS forks there just two: - Oracle - which is now closed source - Open-ZFS - which will be now the official open source ZFS that all Open Source systems will use.

Unfortunately it will still be CDDL, since no one in that project has power to do it. This would require Oracle and all contributors to allow for changing the license.

Re:OpenZFS launch by dkl on Tuesday September 17, 2013 @01:34PM (#6400644)
And to make things even more interesting/confusing, Oracle is one of the forces behind btrfs.
Re:OpenZFS launch by SEJeff on Tuesday September 17, 2013 @01:47PM (#6400709)
That is only partially true. btrfs was founded by Chris Mason before he joined Oracle. They simply let him continue hacking on it. He left Oracle in June of last year and works at Fusion IO. I'm sure Oracle has someone hacking on btrfs, but no one there was seriously pushing it (that I'm aware of) other than Chris Mason.
Re:OpenZFS launch by fluidcruft on Wednesday September 18, 2013 @10:02AM (#6405255)
Do you have any evidence of this? I've tried to corroborate it and from what I can tell Chris Mason himself is quoted as saying he started it shortly after joining Oracle. Additionally Oracle seems to be pretty involved with btrfs and has devoted a lot of resources.
Re:OpenZFS launch by Nux on Tuesday September 17, 2013 @01:47PM (#6400707)
Yes, this is in no way encouraging, but at least it's GPL and as long as they pay the developer I won't mind. If they stop its development I'm sure Redhat or IBM will pick it up.
Re:OpenZFS launch by jdboyd on Tuesday September 17, 2013 @01:29PM (#6400617)
OpenZFS is a fork from before Oracle took ZFS closed again. It still has the CDDL license. OpenZFS is directly used by the people who maintain ZFS on various platforms (such as ZFS on Linux).

The end ZFS implementation can be used many places and ways. For instance, my employer believes that ZFS on Linux is safer and more reliable than btrfs is. Likewise, it is used on FreeBSD and various illumos (open source fork of Solaris) systems as the default file system.

While Oracle has presumably added new features to their ZFS, numerous companies have been working on OpenZFS for some time now and adding their own sets of new features that Oracle doesn't have, such as LZ4 compression.

Re:OpenZFS launch by diegocg on Tuesday September 17, 2013 @02:44PM (#6401060)
Basically, this is a ZFS fork, forced by the stupidity of Oracle.

The whole issue is that Oracle has stopped publishing the source code of new ZFS versions for some years already: there are new ZFS "versions" (pool versions from version 29 to 34, which include some new backward-incompatible features) from Oracle, but no new open source code has been released. The opensource ZFS code has been almost stagnant/in mainteinance mode all this time.

OpenZFS is an attempt to keep ZFS open source alive. Since Oracle doesn't work with opensource anymore, the people who uses ZFS (BSDs, Nexenta, etc) have to do their own thing, and evolve the filesystem in their own way..

Re:OpenZFS launch by dmpk2k on Wednesday September 18, 2013 @12:54AM (#6403581)
The opensource ZFS code has been almost stagnant/in mainteinance mode all this time.

We must have been looking at different ZFS projects. ZFS development was far from stagnant. :)

Re:OpenZFS launch by inopinatus on Tuesday September 17, 2013 @02:46PM (#6401072)
My understanding is that btrfs is limited to only the Linux platform today, whilst ZFS is not.

That alone seems, to me, sufficient motivation for this project.

Re:OpenZFS launch by dkl on Tuesday September 17, 2013 @01:22PM (#6400567)
And aren't there a bunch of newer ZFS features that Oracle has implemented that are not OSS? So, those are known only in documentation?
Re:OpenZFS launch by cdjk on Tuesday September 17, 2013 @02:35PM (#6400989)
ZFS has the notion of version numbers - for both the zpool and filesystem. The last FOSS releases are zpool 28 and zfs 5. There have been subsequent releases of ZFS by Oracle, but versions 28 and 5 are the latest used by all the open source implementations.

What the FOSS community has done is to add "feature flags" to ZFS instead of constantly bumping the version number. So encryption is a feature on top of zfs, but the encryption introduced in FreeNAS for ZFS isn't the same as the encryption in Oracle's zpool v30.

Re:OpenZFS launch by finnh on Tuesday September 17, 2013 @03:49PM (#6401475)
I'm glad to see open-zfs.org for exactly the reasons you mention.

I've been runnning MacZFS for years, but it's currently way behind at zpool version 8, zfs version 2. At one point I put a FreeBSD machine in the basement, with plans to stream snapshot diffs for backup, but the version mismatches prevented me from doing this in a smart (zfs-based, rather than rsync-based) way.

Looks like this central coordination point ought to help the porting of features/versions from the Linux branch to the Mac branch.

Re:OpenZFS launch by adsr on Wednesday September 18, 2013 @06:53AM (#6404526)
Have you looked at Zevo? It's at Zpool 28 on OS X.

Regarding OpenZFS, I thought it was quite surprising that the FreeBSD version wasn't used as a basis for a port, I imagined they had more in common.

Re:OpenZFS launch by Sanddancer on Tuesday September 17, 2013 @03:16PM (#6401259)
Actually, Oracle was the company that started development on btrfs, and still does contribute, so using btrfs would also be supporting them in a way. I'd argue that developing for zfs is the way forward because the underlying license is less restrictive than the GPL, and can be used in more Free and Open operating systems, making it easier to use the best kernel for the task at hand.
Re:OpenZFS launch by hannibal5 on Tuesday September 17, 2013 @02:01PM (#6400789)
It takes easily another 10 years before btrfs is where ZFS is now reliability and feature vise and it might not have all the features even then.
Re:OpenZFS launch by xioxox on Wednesday September 18, 2013 @05:51AM (#6404401)
We've had a very positive experience with btrfs, using it on a redundant system for a few years. It's a lot more flexible than zfs in some respects. For instance, all the snapshots are modifiable and can themselves be modified. You can build up a graph of snapshots, which is not possible in zfs which enforces a strict hierarchy. We ran btrfs on top of mdadm, to get raid and integrity checking.

btrfs can do things like copy particular files using copy on write, which is really cool. btrfs also supports offline deduplication, which isn't supported in zfs. This is very useful if you want to do the deduplication when the system is not otherwise being used and avoids the overheads of keeping hashes in memory all the time.

I think that 10 years behind is exaggerating where it is at. For instance, people using zfs on linux often have problems with running out of memory and so on, even on systems with very large memory.

Re:OpenZFS launch by hannibal5 on Wednesday September 18, 2013 @06:57AM (#6404536)
Modifiable snapshots are called clones in ZFS. Everything you said about snapshots is possible with ZFS with clones+snapshots. Clones are just as instant as snapshots.

Runnin ZFS in linux is not good idea. That's why I'm currently using OpenSolars and maybe switching to FreeBSD in the future for file and db servers.

The problem with btrfs time estimate is that it takes long time for filesystems to become reliable enough that you can put important data on them. ZFS has crossed that threshold, it takes years and years for btrfs.

Re:OpenZFS launch by xioxox on Wednesday September 18, 2013 @08:10AM (#6404756)
ZFS doesn't support an arbitrary graph of snapshots, even with cloning. There is a "zfs promote" command that can be used, but can only be used in certain circumstances. For example, I wanted to take the latest backup of a system and rsync older and older backups onto that backup, making a snapshot each time. I then wanted the snapshot of the newest data to be the "HEAD". I also wanted to gradually delete the older data. This setup was not possible with ZFS, because the child-parent relationships were in the wrong order. With btrfs it was simple.
Re:OpenZFS launch by protomyth on Tuesday September 17, 2013 @02:12PM (#6400847)
And its not like some of the groups using ZFS today would help btrfs along because of its license. Kind of a shame we couldn't all agree on something with a neutral license.
Re:OpenZFS launch by hhw on Wednesday September 18, 2013 @12:50AM (#6403566)
GPL is hardly a neutral license. If anything, it's as extreme copyleft as there is. CDDL is actually quite neutral, and the compatibility issues between the two has more to do with the GPL, which is incompatible with pretty much all other licenses other than BSD/Apache/MIT/X11 style minimal licenses. Hence why ZFS can be safely adopted by FreeBSD and MacOSX.
Re:OpenZFS launch by protomyth on Wednesday September 18, 2013 @09:54AM (#6405199)
I guess I should have wrote that better as I believe btrfs is NOT under a neutral license and thus the reason the ZFS crowd won't migrate or help.