ZFS On Linux - It's Alive!
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."
The in-kernel vs userland distinction has always struck me as quite arbitrary. So in one case you're linked at compile time and in another case you compile them separately and go through system calls. Why should that make one of them a derivative work and the other not? In either case the file system can be taken out and you still have a perfectly functional kernel that can run other file systems. Same goes for graphics drivers.
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?
By "co-opted" I presume you mean, "Made major contributions to"?
Javascript + Nintendo DSi = DSiCade
Let's find a way to settle these license issues. ZFS looks to be great innovation, but Sun appears to be playing license games with the express purpose of keeping Linux at bay.
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?
Really? Stick an old 20gb drive in as your boot drive and boot from whatever you have to to get up and going, load ZFS modules, mount all drives and enjoy. What's so terrible about booting from a different drive / file system? Most mobos now let you hang boatloads of drives of all types on them.
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.
Everyone that has a license is "playing the game". That is required by most copyright laws. The only truly free software is in public domain, the downside to PD is code confiscation that is possible. BSD, GPL, M$ all use a license with restrictions. A restriction limits one or more freedoms. You have to choose which freedom to give up.
Never trust a man wearing a coat and tie!
This is the general Flaw with the GPL. It assumes given the approprate environment everyone will want to use GPL. In Real Life this isn't the case. There are pleanty of well informed and smart people who don't like GPL. There are many reasons not to choose GPL or a GPL Compatible License. Not all buisness models or software is or can be profitable with GPL. Everyone is different and it is impossible for GPL to gain the level accecptance it wants (Every Software). It isn't that great of a license, it is to restrictive for the developer who actually puts their time and effort into the work.
GPL is like a Cult which doesn't allow people to converse with people outside the cult or its compatible cults. Any sharing of idea or information outside of its core beleafs are considered Evil so must be avoided at risk of banashment. Software wants to be free but the creator normally wants some rights to his work. Either it being money, their Name in the Text File so it looks good on a resume, or just control of the process. Sun want to keep control of their process so they don't want to make it GPL. And now Linux users are suffering from it not because Sun doesn't want linux users to use it but because the Rules that the linux Devlopers agreed appon wont allow it.
If something is so important that you feel the need to post it on the internet... It probably isn't that important.
Funny and sad at the same time.
ZFS is on OpenSolaris and Sun has claimed to be considering GPL for OpenSolaris. Are they, or aren't they? On top of that, the FSF has muddied the waters through their activity on the GPLv3, further complicating the entire issue.
I don't care if Sun says they're considering GPLing OpenSolaris, ZFS, or anything else for that matter. The poster I replied to accused Sun of keeping ZFS from Linux by not GPLing it - when it's the goddamn GPL that Linux uses that is preventing the inclusion of ZFS!
I don't think you can blame the whole situation on Linux's use of the GPL, which is not coincidentally the reason why many people contributed to Linux. Given that Linux is today considerably ahead of all BSDs in most ways, I think adoption of the GPL is likely the only reason Linux is here today.
I'm not sure how Linux can be ahead of the BSDs, as Linux is just a kernel, while the BSDs are entire operating systems. But let's say you were referring to Linux distributions being "considerably ahead" - I've never seen this. I've always found the BSD's to be elegant systems to work on, and Linux systems to be a mess (I unfortunately have to admin hundreds of Linux boxes at work). Linux supposedly has better driver support, yet I've always found FreeBSD supports my hardware just fine (and for many things, like wireless drivers, I've found the BSDs to have better supprt than Linux). Linux may perform a bit better in some instances, but IMHO the negligible performance gains aren't worth the aggravation.
Finally, if you don't care about software freedom, and only your freedom, why don't you go run BSD, and stop complaining about Linux?
I use FreeBSD on my personal server, and I believe BSD code to be more free than GPL code, but that's irrelevant. Frankly, I'm sick of the Linux community telling everyone else what to do with THEIR code. Besides, you can hardly call my post a complaint - if anyone was complaining, it was the original post I replied to.
Lets be more specific... ZFS (as a whole) is not GPLv2'd.
/., digg or other sites. Yes... you can use "part" of the FS but if you want the whole thing you'll have to use Solaris or FUSE (or BSD as others have pointed out).
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.
hold the copyright to the Linux kernel? It seems to me that he must, as everyone seems to agree that he has control over what license it is issued under (see discussions of GPL v2 vs. v3). If the kernel copyright is not entirely held by Linus, then he would have to get unanimous consent to make any change (impossible?), if he at some point wanted to move to GPL3, right?
So, if he controls the copyright, he can place it under a "GPL plus you're allowed to link ZFS" license. Where's the problem?
"National Security is the chief cause of national insecurity." - Celine's First Law
Have you read any of the FSF's material on the subject? Much of it tries pretty hard to convince you that it is wrong to release your code under a different license.
Speaking as a developer, the GPL has caused nothing but hassle for me.
-:sigma.SB
WARN
THERE IS ANOTHER SYSTEM
Um. Everyone trademarks there product name. Including the most ardent of free software distros Debian (Software in the public interest owns the trademark). If the name wasn't trademarked I would be very wary. If you don't have enough belief and passion in your product to trademark it, I don't want to even consider using it.
Charles Wyble System Engineer
I'm not sure who you think you're kidding, but you ARE kidding NOBODY.
Linux is a major player in computing today. It is used at every level of business. It is in cellular telephones and several of the top ten supercomputers on the planet. It can be found on the desktop (sometimes) and on the server (quite often) and in switches, routers, and the like (regularly.)
Right, that's why Sun is currently working to make Solaris more like Linux (at the userspace level) - because Linux is irrelevant. Good thinking. I suppose next you'll tell me that IBM thinks Linux is irrelevant too, which is why they sell more Linux than AIX today.
The problem with that reasoning is that the GPL (let us speak of v2 for now) is only bad for people who want to do bad things. It's bad for people who want to benefit from the code without respecting the wishes of its author. It's bad for people who want to prevent you from properly utilizing the hardware for which you paid. And that's it. No one is forcing you to use GPL code, and until they do, the viral nature of the GPL (it is viral, but it's amazingly easy to avoid, it doesn't leap from one directory to another and infect your code without your knowledge) is totally harmless to you. If you want to write non-GPL code, you have that right and no one will stop you. On the other hand, they will [try to] stop you from using their GPL code in their project. But due to copyright law, even without the GPL, you still wouldn't have the right to use their code. So you have no basis for your complaint.
As for GPLv3, the major additional requirement is that if you extend patent protection to any recipient of the code, you must extend it to all of them. This is only logical, because it again prevents you from using the code in a way that is not blessed by the author of the code. So again, there is no basis for complaint. If you find the author's requirements too arduous, don't use their code! You don't have a god-given right to use it anyway, and they would not have distributed it at all (meaning that no one would benefit from it but them) if not for the GPL - because obviously those are the terms under which they wished to distribute it.
Basically, the GPLv2 or v3 harms only those persons who wish to benefit from the works of others without their consent.
The GPL might be viral, but it's not contagious.
I suppose there's another group of people who could be harmed by this; if you need functionality you can't develop, and there's no BSD-licensed or commercial code available and your only options are GPL'd, then you have two choices. You can go back to school and learn how to do the development yourself, or you can go GPL. But that's a pretty farfetched example. There will likely always be demand for closed code; there will likely always be proprietary software. And if it does happen, then it indicates nothing less than a paradigm shift in software development, and by that time it will be well past time to get with the program, join the big parade, and develop Free Software.
Since that day is probably nowhere close, I am at a loss to determine what you're complaining about - unless you're one of those people who would prefer to use the author's code without their permission. In which case I hope the same happens to you, over and over.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Nobody can say for certain if ZFS will see a legal implementation directly in the Linux kernel, but I think it's fairly obvious that the largest barrier to doing so is a legal one. The summary is worded such that it does not exclude the possibility of the licensing barrier being overcome, which I personally believe will happen. You mentioned at the end of your comment what is in my mind the most likely scenario that would yield full inclusion of ZFS in the Linux kernel: both projects being relicensed (dual-licensed?) under the GPLv3.
I for one didn't quite believe Sun when they made their initial casual talks about deciding to license Java under the GPLv2, but look what happened with that: they followed through, with the primary intention to see Java be as widespread as possible and attract more users and developers. In Sun's perspective, and as they've publicly stated, the fact that their Java technology can now (well, almost) be included by default in any GNU/Linux distribution which chooses to do so was a huge selling point for choosing the GPLv2.
Now Sun has been talking about dual-licensing Solaris under the GPLv3 in addition to the CDDL. Sun sees the GNU/Linux train taking off from the station and doesn't want to miss it: that's why they GPLed Java and that's why they'll probably do the same for Solaris. In addition to this, Linus Torvalds has already stated that ZFS under the GPLv3 is perhaps a good enough reason to relicense the kernel: "maybe ZFS is worthwhile enough that I'm willing to go to the effort of trying to relicense the kernel."
So in summary, we have Sun seriously considering GPLv3 for Solaris, and if they follow through in totality, we have Linus seriously considering starting the move to GPLv3 license Linux, and we also have all of the GNU projects moving to GPLv3 at the hand of the FSF. And the patents Sun has on ZFS? Already taken care of in the GPLv3! Now we just need the licensed to be released....
Honestly, I have to agree with DavidpFitz.
Sun releases nifty filesystem.
Linux users drool, decide they want filesystem.
Linux developers realize that licenses are incompatible.
Linux users complain that Sun is playing 'licensing games.'
The CDDL is not all that restrictive. However, it just happens to be incompatible with the GPL, because the GPL doesn't allow additional restrictions to be placed on derivative works, and the CDDL has requirements that aren't in the GPL.
Sun is already being open with their filesystem. Linux users are the ones who want it in the kernel. The GPL is at least as much to blame as the CDDL. Since I consider the CDDL to be a more free license than the GPL, I'm inclined to think that the GPL is more at fault.
Thank you for the informative response, it was much better than the other "no" one.
If I understand things correctly, it is possible for users to legally compile the Linux kernel and ZFS together, the sources may even be distributed together as long as there are no pre-linked binaries (ready to run). That should make it possible for a distribution to compile ZFS support into the kernel at install time (i.e. by the user, for their own use, not for distribution).
"National Security is the chief cause of national insecurity." - Celine's First Law
Maybe I've been watching too much late night TV, but in my head I "heard" it as the intro to Robot Chicken. No maniacal laughter, just a chicken clucking.
Short answer, probably not possible.
/etc/passwd, but actually taken out of the code. There is no 'uid_0 = God' principle. Also, TS is based on the Solaris 8 kernel and OS, so the idea of making any Solaris 10 kernel base trusted before Sun gets there is moot.
Trusted Solaris is heavily based on the Sun toolset and RBAC (role based access control) in particular. By stripping these bits out and replacing them with GNU packages, you've eliminated the possibility of Trusted Solaris.
TS is a _very_ different beast. Superuser privileges haven't just been removed from
Finally, consider the premise of Trusted Solaris: A very specific and fixed environment which has an EAL4 CC certification. Any changes to that, and the 'trusted' part (and the certification) become invalid.
So in short, the answer is no.
"People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban