Slashdot Mirror


ZFS For Mac OS X Source Code Available

nezmar writes "Noel Dellofano, who is part of the ZFS development team at Apple, has a post on Mac OS Forge announcing a late Christmas gift: he is making available binaries and source code, plus instructions, of the ZFS filesystem for Mac OS X."

13 of 251 comments (clear)

  1. The real questions are... by slyn · · Score: 4, Interesting

    How stable is it, and how soon till I can get it on my Mac by default?

    1. Re:The real questions are... by QuietLagoon · · Score: 4, Interesting

      It's already available on FreeBSD if you want to play.

    2. Re:The real questions are... by Eddi3 · · Score: 3, Interesting

      "It's *very* easy to set up btw, much easier than setting up a RAID in Linux. "

      I doubt that. Setting up a RAID array in Linux is about 4-5 lines in the CLI.

    3. Re:The real questions are... by wodgy7 · · Score: 4, Interesting

      It wasn't that easy to set up a RAID in Linux the last time I tried (admittedly long ago), but even in comparison, setting up a RAID-Z in ZFS is just a single line: "zpool create mypool raidz disk4s2 disk5s2 disk6s2"

  2. Not ready for prime time... by maubp · · Score: 3, Interesting

    Reading their FAQ, it sounds like there are lot of niggles to fix yet - including assumptions in other parts of Mac OS. All in all it sounds like ZFS isn't ready for general use on the Mac just yet. Maybe Mac OS X 10.6 will ship with this by default?

    1. Re:Not ready for prime time... by iluvcapra · · Score: 4, Interesting

      I'll bet one of the reasons they're putting it out there is the hope that a few kind souls with some time on their hands will submit some patches and work out the kinks; given the amount of interest there is for this to be working on Mac OS X -- and there's a lot.

      Maybe between Apple, some Sun devs on their breaks and Amit Singh they can have this all wrapped up in a few months :)

      Academic question: What would have happened if MS had open sourced WinFS? Even under their PL, there would probably have been enough interest among enough dedicated nerds to... who knows.

      --
      Don't blame me, I voted for Baltar.
  3. Great new filesystems by PhotoGuy · · Score: 4, Interesting

    It's a shame that I'm gunshy with new (to the OS) filesystems. ZFS has so much to offer, but every time I try out a new filesystem, I end up with data loss, even ones that are supposedly new and wonderful and robust. (Even when ext3 was new but stable, I lost stuff on it.) I can't wait to hear lots of positive feedback on its stability and performance, so I can get up the nerve to try it.

    --
    Love many, trust a few, do harm to none.
  4. Re:Hmm by leamanc · · Score: 3, Interesting

    Well then I wonder what Sun thinks of this.

    Not that it really matters what Sun thinks about their F/OSS filesystem that anyone can download, modify or incorporate into their OS, but they are excited about Apple's adoption of ZFS, and have been contributing resources to the 'ZFS for OS X' project. It was widely rumored that ZFS would at least be an option in the shipping version of Leopard, if not the default filesystem. Someone over at Sun was even crowing about this a few months before Leopard was released.

    I'd say Sun looks favorably upon this.

    --
    :q!
  5. What if someone did port ZFS to Linux? by halfdan+the+black · · Score: 3, Interesting

    Suppose I ported ZFS to Linux (not that I could, just suppose) as a native kernel module, and published the source code. If then I used ZFS on Linux, and some others also grabbed the 'Linux ZFS' code, built it and used it. What laws if any would I be breaking? Who and under what grounds could sue me / Linux ZFS users?

  6. linux md is grow-able, as is xfs and ext3 by SuperBanana · · Score: 3, Interesting

    then you need to mkfs, and if you run out of space you're screwed because you can't easily grow.

    All of Linux's md raid modes are grow-able.

    LVM2, XFS, and ext3 are all capable of not just expansion, but *online* expansion. With xfs, it's one command- xfs_grow -d. It automatically senses the new block device size and presto, you've got a larger file system.

    BTDT two weeks ago when I added a drive to my RAID5 array, expanded the LVM2 physical volume, grew the logical volume, and then grew the XFS volume (I make the choice to run LVM2 on top of the array- I could have just as easily put XFS directly on the array device itself.) The only caveat is that you won't see the extra space until the resilvering is done.

    I'm not saying it's equal to ZFS, but Linux's filesystems and volume management are a lot more capable than you're claiming, and everyone needs to calm down and realize that RAID is not ZFS, ZFS is not RAID, etc.

  7. Re:Linux md isn't rocket science...nor is ZFS raid by wodgy7 · · Score: 4, Interesting

    You're mistaken. ZFS RAID-Z is definitely "raid" -- in fact it's RAID without the RAID-5 write hole on non-specialized (no NVRAM in the controller) hardware. Contrary to what you said, you *can* easily go from a single drive to a pair of mirrored drives (see ZFS admin guide, p. 59) or a RAID-Z (p. 60). The only real limitation is you cannot add an additional disk to an existing RAID-Z configuration, the idea right now being that you'll add another set of disks in RAID-Z as a top-level vdev. This is not optimal for a lot of scenarios but they're working on it. ZFS mirrored configurations are more flexible.

    The data integrity advantages of ZFS over traditional RAID-4 and RAID-5 are hard to argue with... it validates the entire input-output path.

  8. Re:Linux? by zsau · · Score: 4, Interesting

    It's not a question of whether people thing CDDL is Free or not. There are "zealots" like Stallman who think that both GPL v2 and GPL v3 are free. But he would be the first to say you can't include GPL v3 code, like a future relicensed version of the Solaris kernel, in GPL v2 code, like the Linux kernel.

    And I think most people will agree with you that Fuse isn't good enough. But at the moment, there are only two options: complete reimplementation from the ground up, and Fuse. Fuse is easiest.

    --
    Look out!
  9. Re:Linux? by lakeland · · Score: 3, Interesting

    Actually, I see no reason why FUSE wouldn't be perfectly acceptable for zfs - at least until people start seriously considering zfs for root filesystems. FUSE is fast enough, stable enough, and flexible enough. We don't have X in the kernel, I don't see that we _need_ to have the filesystem in the kernel either.