Slashdot Log In
ZFS On Linux - It's Alive!
Posted by
Zonk
on Tue Jun 19, 2007 01:47 PM
from the insert-mad-science-laugh-here dept.
from the insert-mad-science-laugh-here dept.
lymeca writes "LinuxWorld reports that Sun Microsystem's ZFS filesystem has been converted from its incarnation in OpenSolaris to a module capable of running in the Linux user-space filsystem project, FUSE. Because of the license incompatibilities with the Linux kernel, it has not yet been integrated for distribution within the kernel itself. This project, called ZFS on FUSE, aims to enable GNU/Linux users to use ZFS as a process in userspace, bypassing the legal barrier inherent in having the filesystem coded into the Linux kernel itself. Booting from a ZFS partition has been confirmed to work. The performance currently clocks in at about half as fast as XFS, but with all the success the NTFS-3g project has had creating a high performance FUSE implementation of the NTFS filesystem, there's hope that performance tweaking could yield a practical elimination of barriers for GNU/Linux users to make use of all that ZFS has to offer."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Why not in the kernel? (Score:5, Insightful)
(http://www.seanadams.com/)
The GPL doesn't attempt to codify all the intricate details that it would take to define such a distinction in the license. It's only described as an accepted rule of thumb in the FAQ. So what's the deal? It seems like this rule is really holding back some commercial support for Linux - is the current situation what we really want, and at any rate how did we get here? Would we be better off if such a separable, non-essential feature could be linked in somehow instead of needing to be put behind extra layers of abstraction?
Re:Why not in the kernel? (Score:5, Insightful)
(http://www.whitepost.org.uk/)
The existence of the LGPL goes some way to suggesting that this indeed is the generally accepted understanding. It's not been codified in any legal judgement that I'm aware of, but that's only becaue there have been relatively few legal judgements worldwide on this particular aspect of the GPL. Most breaches seem to be far more flagrant.
"The FSF guideline is" (Score:5, Informative)
(http://www.dina.kvl.dk/~abraham/)
Re:"The FSF guideline is" (Score:4, Informative)
(Last Journal: Thursday October 03 2002, @10:53AM)
OTOH, some respected kernel developers (e.g. Alan Cox) certainly have explicitly said they believe binary kernel modules must be GPL and that things like nvidia's drivers are probably infringing. Not exactly the same thing but it's enough that I'd still call this a grey area until it's tested.
Re:"The FSF guideline is" (Score:5, Interesting)
(http://hibernia.jakma.org/~paul | Last Journal: Tuesday March 11 2003, @09:31PM)
I don't believe that's true. I think you're thinking of the explicit exemption Linus put in the COPYING file of the Linux kernel to say that the syscall interface was a GPL interface (there are Linux contributors who disagree to an extent with him on that).
Re:Why not in the kernel? (Score:4, Informative)
Linus decided. He wrote specific terms into the modified version of the GPL he uses with Linux. He makes it very clear. Linux does NOT use the "standard GLP" it makes a few changes for example he removed the "and later versions" part.
Re:Why not in the kernel? (Score:4, Informative)
(http://www.faqs.org/rfcs/rfc3675.html)
Retroactively, AND claiming to cover code for which he is not the copyright holder. The notice at the top of the COPYING file in the kernel source code more-or-less amounts to his opinion---and if you do a little research (read: Groklaw), you'll find that Linus clearly isn't a lawyer and doesn't know what he's talking about when it comes to legal matters.
"Linus said so" is just not a valid argument about a legal matter, unless you're trying to defend yourself against a copyright infringement claim that he's making about code he holds the copyrights for.
Re:Why not in the kernel? (Score:5, Informative)
(http://pietersz.co.uk/ | Last Journal: Wednesday May 04 2005, @05:22AM)
He has added a note clarifying that userland programs making system calls are not derivative works. That is clarifying his interpretation of the license. At the most, it adds an exemption, which is common practice.
The "and later versions" clause is not part of the GPL, it lies outside it. In effect, it makes the work automatically multiple licensed as and when new versions of the GPL comes out: so if you distribute something under GPL v2 with that clause, when v3 comes you it will become dual licensed under 2 and 3, when v 4 comes out it will be triple licensed etc. This allows people to redistribute under v2 or any later version, with or without the "and later versions" clause.
Re:Why not in the kernel? (Score:4, Insightful)
Re:But, doesn't Linus... (Score:4, Informative)
(http://127.0.0.1/)
The Linux kernel, for better or for worse, is going to be stuck at GPLv2.
Re:Ah, well then... (Score:5, Interesting)
(http://127.0.0.1/)
The idea, though, is that the work which you wish to modify might not have existed at all had copyright not existed. The person who created the work might not have desired to if s/he wasn't going to be able to sell it. Or they might not have been able to devote their lives to their craft, and thus ended up not having enough time to create as much. I highly doubt that the entire library of Stephen King would exist today if he wasn't a professional writer, paid for his craft.
It's obviously impossible to know what might have been, but I think that the reasoning behind copyright (in general) is sound. The problems in the current implementation are that copyright is effectively endless (meaning that the creation of new works based on the original is forever forbidden--forever being the key word) and that fair use rights are going out the window.
Re:Why not in the kernel? (Score:4, Insightful)
(http://iki.fi/teknohog/ | Last Journal: Tuesday August 14, @06:49PM)
I agree the kernel vs. userland issue is arbitrary. However, think about all the closed-source software running on Linux, or opensource with other licenses but GPL v2. These are legally possible only because we make the distinction.
Re:Why not in the kernel? (Score:4, Informative)
(http://www.gemstate.net/friends | Last Journal: Tuesday September 11, @10:32AM)
I am pretty sure that kernel modules run at the kernel level and can access all the same structures that a driver compiled into the kernel can.
FUSE file systems run at the same privilege level as a user program does. In theory it is a slower but more robust system. If a FUSE file system crashes you can just restart the filesystem and remount the drive. If a kernel level file system crashes it can cause a kernel panic and bring down the entire system.
So the distinction between user-land and kernel drivers is anything but arbitrary.
Re:Why not in the kernel? (Score:5, Informative)
The version of the GPL included with the Linux kernel states at the top:
Not sure how far back this clarification really goes, but I think it predates the GPLv2-only one, making it at least six years old.
Re:Why not in the kernel? (Score:5, Interesting)
The Right Thing(tm) is to keep the license as it is. It ensures the Solaris code has to be shared (like the GPL), but doesn't pollute source code around it ( GPL - viral clause = CDDL. Same license as firefox, or apache)
Linux wanting to pillage from the project isn't a good enough reason to make it impossible for people to write non-GPL drivers for Solaris
Re:Why not in the kernel? (Score:4, Insightful)
The CDDL is more or less the exact same license Firefox or Apache are under. Sun has a lot of ISV's and IHV's that want to be able to write code ( storage drivers, for example ) that can link against the Solaris kernel without having a team of lawyers analyze to see if it's okay.
It wasn't chosen to be incompatible with the GPL, it was chosen to provide some of the same protections ( share my code... ) without being incompatible with other licenses.
As for the patents, ask IBM how many patents they've got expressed in Linux
"People could still write non-GPL drivers for Solaris regardless. I take that to mean you don't understand the meaning of a GPL compatible license."
You can't link to GPL'ed code with an incompatible license. Hypothetically if EMC or Symantec wanted to write a closed-source driver for this hypothetical GPL Solaris, they'd have to pull an nVidia ( which is a lot of effort for purely non-technical reasons ), or stop supporting the platform.
Would that really be in Sun's best interests, if I(S|H)V's stopped supporting them?
Re:Why not in the kernel? (Score:5, Informative)
relicensing Solaris as GPL is entirely unnecessary and doesn't help Sun or Solaris at all... the only people it helps is Linux, and that shouldn't be the primary concern of OpenSolaris.
If OpenSolaris happens to help Linux, great, but it shouldn't hurt itself & go out of it's way to do it
Re:Why not in the kernel? (Score:4, Informative)
(http://cumulo-nimbus.com/)
The GPL doesn't require that everything linked to it be GPL'd, it requires that any changes or derivative works be licensed under a license (any license) that adds no more restrictions than the GPL itself does.
Yet to be included? (Score:2, Informative)
Of course, this will all change if both Sun and Torvalds switch to GPL3...
Grub (Score:5, Informative)
Grub has supported ZFS booting for a while (forget which branch though).
Can't you make a binary blob kernel module? (Score:2)
(http://www.icsi.berkeley.edu/~nweaver/)
Re:Can't you make a binary blob kernel module? (Score:4, Interesting)
Never mind ZFS (Score:3, Informative)
The $COMPANY network is loaded with Linux workstations and servers, all with their own lotsabyte drives -- and the only things those drives are used for is a tiny system image. Meanwhile the network is getting hammered.
I might not kill to get a several-hundred-gigabyte local network cache -- but don't tempt me.
Re:Never mind ZFS (Score:4, Informative)
The $COMPANY network is loaded with Linux workstations and servers, all with their own lotsabyte drives -- and the only things those drives are used for is a tiny system image. Meanwhile the network is getting hammered.
Are you asking for a network based filesystem like AFS [wikipedia.org]? Did I misunderstand your issue?
Cheesy Intro to ZFS Video (Score:5, Informative)
Why the big deal about booting from it? (Score:3, Insightful)
I can't think of any reason why it would be so terrible to boot up from an old 20gb with ext2/ext3 or anything else, then run the rest of your system under whatever. I'm doing that now anyway, I boot from ext2 then everything else is ext3. Doesn't make my performance suffer any that I can tell.
Besides, I suspect that most people that would run ZFS are the type of people that leave their machines up for months at a time. In that case, why the panic attacks over booting issues?
I hope they can find some way to resolve the license issues, I'm excited about ZFS (in concept and theory) and I would love to give it a go. Finally a system that's up with the times.
Lets be realistic (Score:2)
(Last Journal: Saturday January 29 2005, @08:27AM)
Hows that memory copy from userspace comming, has it healed up yet?
God damn you slashdot (Score:2)
(Last Journal: Friday October 05, @10:56PM)
Parts of ZFS already GPLv2'd (Score:5, Informative)
(http://nextgen.no-ip.org/)
http://blogs.sun.com/darren/entry/zfs_under_gplv2
Re:Parts of ZFS already GPLv2'd (Score:5, Insightful)
From the TFP : Now about that headline, yes I really did say that ZFS code is already available under the GPLv2. I will be completely honest though and make it clear that it isn't all of the ZFS source.
Well that's fantastic... which parts do we get? The ones that make ZFS revolutionary or the ones that make it a rehashed XFS, JFS, Rieser, etc? I don't see how this is any different than any of the bait-n-switch scams that people post to
FUSE defeats the entire purpose. ZFS is meant to run and support a large/huge file store. What admin in their right mind would do that through userspace unless it's solely for backup?
The point is, ZFS is not functionally viable for Linux on the environments for which it was intended.
The headline... (Score:5, Funny)
ZFS On Linux - It's Alive!! IT IS ALIVE!!! MWUHAHAHAHAHAHAHA!!!!!
The manic laughter is especially important!
Legal question (Score:4, Interesting)
I doubt it.
Re:Legal question (Score:4, Interesting)
(http://burndive.blogspot.com/)
Only if you distribute binaries.
There is nothing that stops me from developing and distributing a version of Sun's ZFS such that it works with a Linux kernel. I can do anything I want with GPL code while I have it, including link it with my CCDL patch (and publish said CCDL code under the CCDL license), as long as when I distribute GPL source or binaries, I abide by the terms of that license.
kernel patch? (Score:4, Funny)
Re:kernel patch? (Score:4, Informative)
(http://burndive.blogspot.com/)
Why hide? Nothing in the CCDL or GPL licenses prevents you from publishing a CCDL patch to a GPL kernel. Publishing the patched kernel source or binary might run you into some problems, but I don't see anything preventing you from publishing the patch itself.
Please correct me if I'm wrong.
That's great! (Score:4, Funny)
(http://seenonslash.com/ | Last Journal: Monday June 11, @09:55AM)
sounds really great and all (Score:2)
(http://www.madjo.nl/ | Last Journal: Sunday July 27 2003, @10:16AM)
Why is it called "128-bit"? (Score:2)
(http://theari.com/)
I have been wondering this for awhile now and I finally have a relevant story to ask it on: Is ZFS 128-bit or not? It claims to be 128-bit, but Wikipedia [wikipedia.org] gives:
What is it about ZFS that leads to it being a 128-bit filesystem?
For... Windows (Score:2)
Now... NTFS supports some of the stuff (not all) found in ZFS, but it's proprietary, so it doesn't qualify.
ZetaBytes?! (Score:1)
Anyone who can afford that much storage can afford to pay a little for a driver built however they like.
A selling point for microkernels? (Score:2)
(http://ipaul.blogspot.com/)
After a quick port... (Score:1)
Interesting (Score:3, Interesting)
(http://slashdot.org/)
Linus, more freedom, less hate (Score:1)
Please re-consider follow a more free license rather than a hate-oriented lincense.
Free the code, free the programmers.
Debian Solaris? (Score:2)
(http://slashdot.org/~Doc%20Ruby/journal | Last Journal: Thursday March 31 2005, @01:48PM)
Noooooo!!!! (Score:5, Funny)
(Last Journal: Friday May 05 2006, @11:53PM)
Linux is GPL and will stay GPL (Score:1)
FUSE on ZFS is for compatibility (Score:2)
For your primary local disk file system, you really need a kernel-based implementation.
Well, the main thing I regret about the ZFS/Linux license incompatibility is that we don't get a chance to see ZFS fall flat on its face like all the other supposedly terribly advanced file systems. But that's a minor regret. In the end, we all know that the next file system for Linux will be ext4, and that's a good thing as far as I'm concerned.
Re:It's time for Sun (Score:1, Informative)
No "co-opting" necessary. Solaris is every bit as much a terget platform for Gnome as Linux is.
Re:Limitations of Linux (Score:2, Informative)
Re:It's time for Sun (Score:5, Insightful)
(http://www.intelligentblogger.com/ | Last Journal: Monday August 27, @11:47AM)
By "co-opted" I presume you mean, "Made major contributions to [gnome.org]"?
Re:It's time for Sun (Score:4, Insightful)
Sorry, it's Linux that's playing the license games, not Sun. One only needs to look at ZFS support in FreeBSD to see that (Speaking of, where's the 'ZFS On FreeBSD!' story?).
The GPL "everything under our license" philosophy is the sole cause of these so-called "license issues". If Linux wants to use Sun's code, why should Sun have to release it under Linux' license?
Re:It's time for Sun (Score:4, Insightful)
(http://slashdot.org/ | Last Journal: Monday July 11 2005, @11:30AM)
Re:It's time for Sun (Score:4, Funny)
Confuse them again at your own peril.
Re:It's time for Sun (Score:3, Informative)
(http://www.yurpics.com/)
Sun exists to make money for it's shareholders. If and when it becomes advantageous to their share price to release ZFS then they will do it.
They have already stepped up to the plate and released Star/OpenOffice, Java, and significant portions of Solaris. Each of those software products is a very significant level of magnitude of work. How about a little bit of appreciation for those several person-years worth of work?
To imply that Sun is playing licensing games is disingenuous, at best.
And if you want to call someone out on licensing then how about Linus himself. Why does he own the trademark Linux? Yes, he provides free sub-licensing terms, but those are Linus' terms.
Much as Linus has his limits, Sun has it own limits of what it is willing to give up.
When Linus decides to give up the Linux trademark freely then he can legitimately start complaining about Sun Microsystems.
Re:It's time for Sun (Score:2)
(http://randomcoolzip.blogspot.com/)
Re:yeah horsey (Score:1)