LWN.net Logo

Gee that's tough.

Gee that's tough.

Posted Mar 20, 2007 3:43 UTC (Tue) by qu1j0t3 (subscriber, #25786)
In reply to: never understood why Linux community continues to ignore ZFS by rfunk
Parent article: The 2007 Linux Storage and File Systems Workshop

I guess those who want next-generation capabilities will be running Solaris for a while yet. No great hardship.

But they're also ignoring the ideas of ZFS (those who forget...condemned to repeat...etc). Out of spite?

I see a nice Wikipedia page has sprung up.


(Log in to post comments)

Gee that's tough.

Posted Mar 20, 2007 4:21 UTC (Tue) by bronson (subscriber, #4806) [Link]

Are you trolling? I don't understand what you're trying to say.

Gee that's tough.

Posted Mar 20, 2007 4:47 UTC (Tue) by drag (subscriber, #31333) [Link]

Most of the features of ZFS are aviable on Linux right now.

LVM, MD, DM, and lots of other FS-related features can be combined in different ways that will accomplish do the vast majority of what ZFS does. All of it's been around for a long time and is proven. It's just in many smaller components instead of one big monolythic package.

The main thing that ZFS brings to the table is that it's simplier to administrate. There are a few fancier features that Linux doesn't have, like 128bit-ness, but there are a lot of things that Linux can do that ZFS can't.

Essentially if Linux developers decided to adopt ZFS they'd be replicating existing functionality.

Plus ZFS is copyrighted to Sun and is not aviable for Linux inclusion due to licensing differences.

Also I expect that Sun has patents on various aspects of ZFS, so unless Linux is able to incorporate code from Sun into the kernel then it's likely that Linux developers would violate obvious patents if they tried to re-impliment it.

Just my perspective on the whole 'zfs' issue.

ZFS

Posted Mar 20, 2007 8:06 UTC (Tue) by job (subscriber, #670) [Link]

I don't think that is the main thing ZFS brings. Of course, for Solaris admins, the main thing is that ZFS brings logical volume-type functionality which was badly missing from vanilla Solaris before.

But to me from a Linux background, it brings 1) much better snapshot capabilities (more of them with better performance) due to it being copy-on-write at the file system level, 2) checksummed data integrity (I haven't seen this elsewhere but I suspect this is great for running low end storage systems such as software RAID) and 3) better performing software raid-5 ("raid-z") because of its knowledge how the files are laid out.

I like ZFS. I haven't used it in production (and probably won't, at my current work), but it is a solid piece of engineering. It seems a bit bastardized at first as it is both a file system and a volume manager, but I think it is well motivated.

Gee that's tough.

Posted Mar 20, 2007 15:18 UTC (Tue) by cajal (guest, #4167) [Link]

"LVM, MD, DM, and lots of other FS-related features can be combined in different ways that will accomplish do the vast majority of what ZFS does."

No, they can't. They don't give you self-repairing storage with provable data correctness. They don't give you dynamic striping. The LVM still requires you to manually carve up PVs into LVs. ext3 doesn't support arbitrary number of extended attributes. I could go on.

Further, just because the GPL is not compatible with Sun's implementation of ZFS, is no reason that the Linux kernel community couldn't reimplement ZFS. The on-disk format and man pages are available at http://opensolaris.org/os/community/zfs/docs/ I think this could be a valuable piece of software for the Linux kernel.

Gee that's tough.

Posted Mar 21, 2007 13:40 UTC (Wed) by mennucc1 (subscriber, #14730) [Link]

> Most of the features of ZFS are aviable on Linux right now.

but still I would like to have snapshots in EXT (maybe in 5 :-) ?)

Gee that's tough.

Posted Mar 21, 2007 16:06 UTC (Wed) by bronson (subscriber, #4806) [Link]

For snapshotting, just run whatever filesystem you want on top of LVM. LVM is a little hard to get used to at first but it's definitely worth the effort. Here are some notes I took when setting it up on my systems: http://wiki.u32.net/LVM

I now put all nontrivial partitions on LVM. Works for me. I'll let others argue whether LVM snapshots are worse than ZFS, or if ZFS is a layering violation. :)

Gee that's tough.

Posted Mar 22, 2007 5:55 UTC (Thu) by snitm (subscriber, #4031) [Link]

LVM2 Snapshots are quite bad. For starters they are done at the block-level whereas ZFS provides file-level snapshots (aka redirect on write). LVM2 snapshots don't scale well either; seeing as each snapshot imposes a copy out penalty because there isn't a shared exception store (aka LVM snapshot LV) for all snapshots of an origin LV.

Gee that's tough.

Posted Mar 20, 2007 11:58 UTC (Tue) by nix (subscriber, #2304) [Link]

They're ignoring the ideas of ZFS. Right.

Of course this means that the Val Henson who's a Linux filesystems hacker must be an *entirely different person* from the vhenson@eng.sun.com who was closely involved with ZFS development? (Perhaps she has a secret twin.)

Gee that's tough.

Posted Mar 20, 2007 18:10 UTC (Tue) by zooko (subscriber, #2589) [Link]

The fact that Val Henson worked on ZFS doesn't prove that the Linux filesystem developers are learning lessons from ZFS. It doesn't even prove that Henson has learned lessons from ZFS. Indeed, since Henson is the author of the "Compare-By-Hash" paper critiquing compare-by-hash on intuitively appealing but incorrect grounds, perhaps she dislikes the ZFS design, which features compare-by-hash among many other ideas.

Note: whenever anyone cites that regrettable compare-by-hash paper, they really ought to cite Graydon Hoare's follow-up (disclaimer: I helped Graydon a bit on writing that page), John Black's follow-up, and Henson and Henderson's much better self-followup.

Oh, I see that Jeff Bonwick is given thanks in that last paper. This is evidence that Henson has benefitted from the lessons of ZFS.

Gee that's tough.

Posted Mar 31, 2007 0:57 UTC (Sat) by wmf (subscriber, #33791) [Link]

But ZFS doesn't use compare-by-hash; that's one of its advantages over previous work like Venti/
Fossil.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds