Multithreaded Musings
Stand back - I'm a scientist!
Archives
« November 2009
MonTueWedThuFriSatSun
      
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today
Click me to subscribe
Search

About Me
Known throughout Sun as a man of infinite wit, of jovial attitude, and of making things up about himself at the slightest whim.
Links
 

Today's Page Hits: 13

« When Language Goes... | Main | Clarity vs. Concisen... »
Friday Apr 13, 2007
ZFS Everywhere?

Recently, an interesting discussion came up about the difficulties getting ZFS on GNU/Linux. It's over in the zfs dicussion forum, but I don't really want to link to it as it got a bit heated at times. But, between the heat, what came out was that it'll be pretty much impossible to get ZFS ported to GNU/Linux, given the current understanding of the GPL.

I think ZFS is great, and I'm not just saying that because I'm on the team - I only joined a few months ago and I thought it was great well before then. I love playing around with it in Solaris. I love the fact that it's in FreeBSD, and there are also rumours of ZFS in OS X Leopard. I'd love to see ZFS on Linux. Heck, I'd love to see it in Windows. Imagine doing a full install of XP SP2, snapshotting C:, cloning it, and then running right off the clone. When the system eventually becomes unstable, make a new clone and blam you're back in action.

What came out of the discussion (and please correct me if I misunderstood) was that to get ZFS into the Linux kernel, it would require it to be GPL'd. The kernel can't call ZFS functions without ZFS being under the GPL. This is unfortunate - I don't see ZFS being GPL'd any time soon. One person in the discussion brought up the possibility of creating a layer of indirection between the kernel and ZFS, but even that seems doomed: the abstraction layer itself would have to be GPL'd so the kernel could integrate with it, and then for the layer to call ZFS, ZFS would still need to be GPL'd.

The GPL has been a great tool for the open source community. It's too bad that it leaves no room for compromise.

Posted at 06:13PM Apr 13, 2007 by Mark Musante in ZFS  |  Comments[4]

Comments:

There has to be some sort of way around. Take a look at the nvidia binary drivers, for example. There's a GPL glue layer, and then a binary library that isn't GPL. There are people who howl about it not being free, but it's there, and widely used, right?

Posted by katre on April 13, 2007 at 08:00 PM BST #

You probably know this, but it is worth pointing out to people who find this blog entry that there is one effort to port ZFS to Linux: ZFS on FUSE/Linux

Granted, it is a userspace port (to avoid the license problem) so most people would dismiss it for serious use. It certainly would provide a good start for a kernel port, assuming someone figures out a way around the license issues.

Posted by Stan Seibert on April 14, 2007 at 01:44 AM BST #

katre: I freely admit my ignorance when it comes to Linux drivers, so if zfs could be compiled outside of GNU/Linux and then linked in dynamically, maybe that's the answer. It didn't come up in the discussion, so I inferred that it was not an option for filesystems like it is for other device drivers.

Stan: I've read a bit about FUSE, and it's a very interesting project. It certainly makes prototyping filesystems much easier. My gut tells me that there might be performance issues, however.

Posted by Mark J Musante on April 14, 2007 at 02:06 AM BST #

How did Veritas (Symantec) did it with Veritas Filesystem and Volume Manager? There is a port for Linux and I don't think they open source their crown jewel. Anybody knows?

Posted by Pablo Ruiz on April 14, 2007 at 03:59 PM BST #

Post a Comment:
Comments are closed for this entry.