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."

65 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 larry+bagina · · Score: 5, Informative

      a readonly version is included with leopard:

      sh-3.2# zfs
      Read-Only ZFS Implementation
      missing command
      usage: zfs command args ...

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

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

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

    3. Re:The real questions are... by wodgy7 · · Score: 5, Informative

      I've been running ZFS on my home Mac server since the old developer seed. It's generally stable as long as you disable Spotlight indexing on the volume (it's not supported yet). Everything on the command line works, as does accessing the ZFS pool over AFS. It's *very* easy to set up btw, much easier than setting up a RAID in Linux. There were issues deleting files from the Finder in the last release; I haven't installed the 102A release yet. Still, if you're just using it for a server volume, you'll probably be happy with it.

    4. 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.

    5. 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"

    6. Re:The real questions are... by BrainInAJar · · Score: 4, Informative

      Or more to the point, OpenSolaris... because that's where it came from

    7. Re:The real questions are... by hjf · · Score: 5, Insightful

      then you need to mkfs, and if you run out of space you're screwed because you can't easily grow. also, you can't create a newer fs, nor you can have snapshots, send/receive snapshots, volumes, have on-the-fly checksumming and disks that don't drop off the array at the first read error, one-line CIFS/NFS/iSCSI sharing. Get over it... zfs is better than md+lvm+ext3+whatever.

      I'm not trolling, it's just that ZFS has been developed without the traditional and orthodox methods of disk-partition-filesystem and put everything on a single "layer", and instead of losing flexibility, we gain more, just because zfs developers were thinking outside the box (the now "traditional" way of doing things is segregation: the OSI layers, etc, claim to be more flexible, efficient and manageable than throwing everything together). I know, I know, veritas had this for years, so we could say that it was stole^H^H^H^H^Hcopied from them -- just as gates copied jobs, and jobs copied xerox.

      Imagine the possibilities of breaking traditionalisms (like linux does "socially" but not "technologically").

    8. Re:The real questions are... by thatskinnyguy · · Score: 2, Insightful

      a readonly version is included with leopard: Honestly, what good is a file system if you can't write to it? Please enlighten me.
      --
      The game.
    9. Re:The real questions are... by Kremmy · · Score: 4, Insightful

      Not real sure, but you might want to ask the users of ISO9660 and UDF on optical media.

    10. Re:The real questions are... by wodgy7 · · Score: 3, Informative

      It's so that you can bring a ZFS volume to any old Mac running Leopard, plug it in, and read data off it, without having to install any extra (currently beta) software.

      This is also why, when you create a ZFS pool using the read/write drivers, it defaults to creating a pool with ZFS version 6 on disk, so that it's compatible with the version of ZFS shipping with Leopard. (You run "zfs update" to transform your pool to the most recent on disk version if this kind of compatibility isn't an issue for you.)

      BTW, Leopard also reads from BSD and Solaris-created ZFS drives just fine.

    11. Re:The real questions are... by Solra+Bizna · · Score: 2, Insightful

      zpool create pool raidz c5t6d0 c5t6d1 c5t6d2 c5t6d3

      For those of you who have not used Solaris yet, or aren't sure whether ZFS is up to the hype; that notation is "disk n of target 6 of controller 5." Your home server has absolutely nothing on the dreadnoughts from Sun. They sell a box with 50+ hotswap drive bays, and the CPU power to back it up (and it's not even the top of their line).

      -:sigma.SB

      --
      WARN
      THERE IS ANOTHER SYSTEM
    12. Re:The real questions are... by xeno · · Score: 2, Informative

      "what good is a file system if you can't write to it?"

      I could say the same of NTFS. After throwing in the towel with regard to Windows as a base OS, I have years of accumulated data on NTFS volumes spread across a small pile of drives. Linux support for NTFS is still a little shaky. But with read-only access to NTFS, I can throw those old desktop or laptop drives into an enclosure, connect it, and either pull all the data over to a writable volume for ongoing work (and perhaps dispose of the old drive), or pick out individual pieces of data I want without worry of corrupting the volume.

      How does this apply to ZFS? Not sure, since "piles of old data" isn't a likely scenario on ZFS. But I can imagine accessing shared NAS/SAN ZFS volumes with only one system managing dynamic allocation... or perhaps ZFS in place of ISO9660 to speed up large software installations?

      --
      I think not...(*poof*)
    13. Re:The real questions are... by Anonymous Coward · · Score: 2, Insightful

      And people are not very happy about it:
      http://kerneltrap.org/FreeBSD/ZFS_Stability
      But that doesn't stop the buzzword fanboys.

    14. Re:The real questions are... by baadger · · Score: 2, Informative

      For LVM, one has to partition the disks first.

      No you don't, LVM Physical Volumes can be initialised straight onto whole unpartitioned disks (/dev/sda).

    15. Re:The real questions are... by Rich0 · · Score: 2, Interesting

      Actually, RAID-Z has one big limitation - it isn't growable (while linux software RAID actually is growable). Otherwise I'm a big fan of ZFS and would love to see it reliable on linux. I think that the layer-breaks in this case give you new capabilities you couldn't get without them (I'm not just talking one-command filesystem setup - I'm talking about copy-on-write and better snapshotting and redundancy support and other things that need to cross layer bounderies unless you want to waste a lot of space).

      ZFS supports adding additional RAID-Zs to a storage pool - but the last time I checked you couldn't resize/shape a single RAID-Z array.

      Here is an illustrative scenario:

      1. I have three 250GB drives on two systems - one FreeBSD (ZFS) and one linux (mdadm+LVM+ext3). I put them in a RAID-5 on the linux system, and a RAID-Z on the FreeBSD system. On both I have 500GB of storage with single-redundancy. I can partition this space into as many filesystems as I'd like with either approach.

      2. I buy three more 250GB drives. On FreeBSD I have to create a new RAID-Z giving me 500GB of additional storage (1TB total). On linux I can reshape the existing RAID-5, giving me 1.25TB of total storage (all 750GB of extra space is usable). You can't add new drives to a RAID-Z, but you can add them to a linux RAID-5. You could also put them in a separate RAID and add them to the LVM group and have the same total space as RAID-Z in that way.

      Don't get me wrong - I like ZFS and would consider using it. Linux should be pursuing it (obviously there are licensing issues to work out here) and not snubbing it. And I don't see any technical reason why you couldn't reshape a RAID-Z. It is a limitation though.

    16. Re:The real questions are... by Dare+nMc · · Score: 2, Informative

      filesystem fanboys?
      I have setup a few raid setups (LVM, and ZFS, and hardware based.)
      where ZFS is nice, their is a nice documented one way to do it. It's biggest advantage (for me) are a single interface for turning on/off encryption, compression, and file system snapshots. Things this does for you for example, is you can turn on compression for a entire volume, or directory within the filesystem but you don't have to take it offline ever, because it will compress new files only (to start), and you can then walk through the rest as CPU allows...

      You do have all these options for LVM, with ext3, but in the truly linux tradition, their are many, many different ways to do the same thing. So if you don't want to spend hours researching the how's and whys you easily end up creating more work for yourself. But I am sure if you do all the research you can create a more efficient solution. But you'll also end up with many different interfaces (that has advantages too). For example I am replacing a RHEL hardware raid with Solaris zfs raid now. To admin the RHEL solution, I use LVM to admin allocations, use ext3 to look for file system corruption, use the Raid manager program to add/remove/grow drives, and NFS to export partitions/permisions, and various webmin plugins for backups restores, file versions. All of these are now within the zfstools on solaris.

    17. Re:The real questions are... by Deagol · · Score: 2, Informative
      Unhappy about what? That the developers were kind enough to port and include ZFS into the mainline 7.0 tree? I can't really imagine that. Yes, some people may bemoan its stability as sub-par when compared to what people have come to expect from FreeBSD. I can't understand people bitching about that, though. It's not like it *must* be used -- it's not even an install option. You have to read up on it and know WTF you're doing to even get it running, never mind set it up as a root/boot volume.

      I've been running the 7.0 branch since about October '07, and I've been using ZFS. Granted, it's my home machine, but it's my primary workstation and I *need* this machine to bring home the bacon, working via home office and all. While I don't use it for important data, the file systems I chose were intentional in order to beat it up a lot: /usr/src, /usr/obj, and /usr/ports -- that's where all of the kernel/userlad/ports compiles take place (at least by default). Tons of reads/writes/delete since I update my ports and source trees almost daily. Never once have I had a problem. On a whim, I ran a zpool status once and found a corruption error on /usr/obj, but I never noticed because it just kept on chugging along. Not that /usr/obj is a terribly critical directory, one which I nuke on a regular basis to ensure a pristine system rebuild. Still, I ran a "zpool scrub" on it live, and it fixed the problem w/o ever going offline.

      Not only that, I also use the built-in compression (gzip9) on /usr/src and /usr/ports and my machine is amd64. The former really taxes the system, and the latter platform seems to lag slightly behind i386. Sometimes my machine has quick freezes when the ZFS file systems are being beat up, but my machine is only a 2.0GHz w/ 1GB of memory. For pre-release software, FreeBSD 7.0 really kicks some ass.

      Of course, anecdotes are not synonymous with data. ZFS obviously has some issues. But then again, so did reiserfs and ext3 when they were first cast into the mainstream kernel and distros. Sure, the BSD userbase with ZFS is *much* smaller than those of Linux, but I expect ZFS will shine in short order.

  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. Notes by asparagus · · Score: 5, Informative

    I installed this last week, got it working. It's still very early beta, managed to crash my machine half a dozen times before deciding to wait a little. Remember to do zpool exports before you eject external hard drives. But yes, very promising technology. OS X has gone from having a wonky 1/0 implementation to having one of the better software raid systems available. Back to scoping out four and eight drive usb sata enclosures and cheap 500gb hard drives. ;-)

    1. Re:Notes by Anonymous Coward · · Score: 5, Informative

      Well, if your looking for cheap HDs. Here is a GREAT script a guy wrote.

      http://forre.st/storage

      It works with newegg.com to find the best deals on HDs

    2. Re:Notes by Anonymous Coward · · Score: 5, Funny

      Based on your limited experience with this filesystem, would you say that it would make sense to port the source code to Solaris? I'm sure there's a lot of Sun users who could use a shot in the arm like this right about now.

    3. Re:Notes by Anonymous Coward · · Score: 2, Insightful

      Take a look around at some of the other pages on that site. Amazing considering the one who wrote this script is 14 yrs old and is already doing some very impressive scripting and design. Keep at it and you will have no problems whatsoever finding a job! The world can certainly use more true hackers.

    4. Re:Notes by LKM · · Score: 2, Insightful

      Yeah, he's doing some absolutely awesome stuff. Makes me wish I could grow up now. On the other hand, I'll probably be dead once the world is flooded due to global warming and Mad Max meets Waterworld, so I shouldn't feel to bad for not having a computer when I was 14, I guess :-)

  4. When do they say, "Just Kidding!" by osgeek · · Score: 4, Informative

    This reads like a nerd's unsubstantiated wet dream.

    An absolutely, positively, amazing feature set. I can't wait until it's stable enough for production use. After 7 years of staying away from Apple products, I'm going back to the Mac.

    1. Re:When do they say, "Just Kidding!" by larry+bagina · · Score: 4, Informative

      ZFS is also available in FreeBSD 7 and OpenSolaris (which should be the most stablest of all).

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    2. Re:When do they say, "Just Kidding!" by osgeek · · Score: 2, Interesting

      Every time I have to mess with Solaris, I'm annoyed at how much dorking I have to do with it to get it to have a reasonably modern environment and set of tools on it like a fresh install of Ubuntu or Fedora Core.

      FreeBSD... maybe... I kind of like the Apple hardware, though.

  5. Re:Hmm by wootest · · Score: 5, Informative

    Since Apple employs Noel Dellofano, hosts Mac OS Forge, has incorporated the stable read-only bits in the latest Mac OS X Server and makes a slightly older build of the same code as the Mac OS Forge read/write version available on their developer web site, I think they approve.

  6. Re:Linux? by nguyenhm · · Score: 2, Insightful

    I would imagine the kernel bits are significantly different, though mere availability of source, if not previously available, would likely help.

  7. 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.
    1. Re:Great new filesystems by mcowger · · Score: 4, Informative

      Consider my comment some of that.

      I've had no problems with 5T+ datasets, and we even get about a 10-20% performance boost out of it compared to UFS.

      snapshotting & all those neat features work totally as expected.

      Only minor issue I see is that a zfs send is single threaded, so you cant parralellize it over multiple processes easily.

    2. Re:Great new filesystems by stinerman · · Score: 2, Funny

      Only minor issue I see is that a zfs send is single threaded, so you cant parralellize it over multiple processes easily.

      Well, a multithreaded filesystem is only a performance hack anyway. :-)
    3. Re:Great new filesystems by iluvcapra · · Score: 3, Informative

      Here's a link explaining the parent for all you c|net "reporters" and NYT technology stringers who read slashdot. You know who you are.

      --
      Don't blame me, I voted for Baltar.
  8. 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!
  9. Best ZFS Presentation by this+great+guy · · Score: 5, Informative

    I have been using ZFS (on Solaris) for more than a year, both at work and at home, and I am following closely the latest developments. IMHO the best intro on ZFS is the official ZFS slides (36 pages): http://opensolaris.org/os/community/zfs/docs/zfs_last.pdf

  10. Re:Linux? by larry+bagina · · Score: 4, Informative

    It's not a technical problem preventing linux usage so much as a political problem and a license problem. Unless this convinces those zealots that 1) FUSE isn't good enough and 2) CDDL is FREE, it won't do jack shit for linux.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  11. Sun CEO Encourages Apple to Use ZFS by this+great+guy · · Score: 5, Informative

    I'd say Sun looks favorably upon this.
    Of course they do. Sun CEO Jonathan Schwartz encourages Apple to use ZFS (direct from his blog): "As an example, Apple is including ZFS is in their upcoming "Leopard" OS X release. This is happening without any payment to Sun (that's how truly free software works). Under the license, we've waived all rights to sue them for any of the patents or copyright associated with ZFS. We've let Apple know we will use our patent portfolio to protect them and the Mac ZFS community from Net App. With or without a commercial relationship to Sun."
  12. Re:Total garbage - has no error result codes! by _merlin · · Score: 5, Informative

    Total garbage - has no error result codes! Always assumes all writes have no failures, so unplugging a firewire drive or a USB drive or eSata drive guaranteed to either kernel panic or otherwise crash the OS.

    ZFS is designed to perform writes asynchronously. If the write should be able to complete, it returns success and then goes off to do it. It's a different way of thinking about a filesystem. You need to do a "zpool export" or something before you can unplug a detachable disk to avoid the panic when you unplug it. That's not a bug. It's by design.

    The Finder itself is lied to.

    No it isn't. You're just misunderstanding the semantics of ZFS.

    This is such an amateurish implementation, I am shocked that the source was even offered.

    No it isn't. It's just not a filesystem that's suitable for the masses. Average users cannot understand or manage an advanced storage pool system like ZFS. They're better off with filesystems that make sense to them, like HFS+, ext2 or NTFS.

    Shame on Apple for funding this quality of work.

    Shame on all the geeks for telling everyone that ZFS will solve all their problems. ZFS is great under certain circumstances. It does what it does very well, but it isn't a filesystem for the masses.

    I will admit, a few years ago, DURING BOOT, linux had a similar design bug and all IDE writes during boot had no error codes returned. But this is different. This is 2008.

    Just plain not reporting errors is a bug. ZFS asynchronous write semantics is intentional, although counter-intuitive, behaviour.

  13. Re:Linux? by lokedhs · · Score: 3, Informative

    The sources has already been available under an open source license since ZFS came out.

  14. That's nice. by Jane+Q.+Public · · Score: 4, Funny

    Now, if we can only get it to talk to important things like NTFS, and Ext3, and Reiser...

    1. Re:That's nice. by Rebelgecko · · Score: 5, Funny

      If you want to talk to Reiser, visiting hours are 9AM-5PM on weekends.

      --
      CATS/Diebold '08- All your vote are belong to us!
  15. "he is making" by Anonymous Coward · · Score: 5, Informative

    I know it may be unheard of to those reading /., but Noel is a girl.

    1. Re:"he is making" by celle · · Score: 2, Funny
      "I know it may be unheard of to those reading /., but Noel is a girl."

      Oh my Lord!

      narrator: "and the Ronald Reagan picture drops from the wall in Cmdr Taco's office."

      So what, move on guys..??

  16. Re:Total garbage - has no error result codes! by Anonymous Coward · · Score: 2, Funny

    it isn't a filesystem for the masses.

    Huh? Music, movies, Office, and porn. And lots of web browsing (goes with the porn).

    Do I want ZFS or not?
  17. Re:Hmm by Anonymous Coward · · Score: 5, Funny

    Well then, what does Paris Hilton think of this?

  18. Re:Hmm by johnslater · · Score: 5, Funny

    Paris Hilton? Think?

  19. Re:Port it to Linux by flyingfsck · · Score: 3, Informative

    You should reformat with XFS.

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
  20. Actually, by antijava · · Score: 5, Informative

    Noel is a she. I met her last year soon after Apple hired her away from Sun.

  21. Re:Port it to Linux by Hucko · · Score: 2, Interesting

    I'm considering it, but your answer just says there is two different methodologies while claiming that one is better than the other. I am more wary of CDDL just as I am wary of Lucent's licence for Plan 9 (for sheer clever thinking, it would be my prefered OS -- discounting I haven't learnt how to use it effectively. Not as clever as the OS).

    --
    Semi-automatic amateur armchair Australian philosopher; conjecture ready at any moment...
  22. Doesn't that go without saying? by Anonymous Coward · · Score: 2, Funny

    Nothing short of a complete redesign could have rescued WinFS. The design as it was was flawed from nearly the beginning.

    It's a windows family tradition.

  23. 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?

    1. Re:What if someone did port ZFS to Linux? by corychristison · · Score: 2, Interesting

      Who and under what grounds could sue me / Linux ZFS users?
      Short answer: nobody and nothing.

      Long answer: The biggest issue (to my understanding) is that it will not be included in the official kernel. Google sponsored it to be included in FUSE to cover their butts because I suppose they just didn't want to get involved in the issues. I don't see why it couldn't be released as a patchset that someone would have to patch and install manually, at the very least.
      But then again, this is my view and understanding of it. Although I may be wrong, I don't really care... I just want ZFS (without moving from Linux) :-(
  24. 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.

    1. Re:linux md is grow-able, as is xfs and ext3 by iPaqMan · · Score: 4, Informative

      You should watch these. (thanks andrewg for links)

      For anyone who has not seen the ZFS demonstration videos by Bill Moore you must watch the link.

      High Bandwidth versions - http://www.sun.com/software/media/real/zfs_learningcenter/high_band...

      Low Bandwidth versions - http://www.sun.com/software/media/real/zfs_learningcenter/low_bandw...

      Also general info here:

      - http://www.sun.com/software/solaris/ds/zfs.jsp
      - http://www.sun.com/software/solaris/zfs_learning_center.jsp

    2. Re:linux md is grow-able, as is xfs and ext3 by MauriceV · · Score: 2, Interesting

      How is ZFS not RAID? RAIDz? RAIDz2? Plus, LVM has another limitation. There is no easy way for one filesystem to utilize the free space of another. With ZFS, this is automatic.

  25. 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.

  26. Re:Total garbage - has no error result codes! by Nomen+Publicus · · Score: 3, Informative

    The design of ZFS is intended to ensure that the data on the disk is _always_ a valid file system. If a system panics when a ZFS file system is unexpectedly removed, that is a different issue.

    Then, of course, checksumming everything does wonders to protect against bit rot and flaky cables.

  27. 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!
  28. NTFS-3G on Linux is stable by Cato · · Score: 4, Informative

    Have you tried NTFS-3G? It really is very stable, no doubt due to the exhaustive testing regime on every release - see http://www.ntfs-3g.org/quality.html - and is used by default in most Linux distros. It's a different codebase to the older Linux-NTFS and Captive NTFS projects, and has reasonably good performance.

    Since ZFS is new, I don't think your scenario applies, and it's not intended for DVD/CD use.

    1. Re:NTFS-3G on Linux is stable by Kjella · · Score: 2, Interesting

      YMMV, but in my experience it'll consistantly crash when moving large files (>2 or 4GB, not sure) from WD external disks. Fortunately since it's a user space driver, it doesn't do anything with the system. It has been perfectly stable for accessing my internal disks though.

      --
      Live today, because you never know what tomorrow brings
  29. 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.

  30. Doesn't work with iTunes? by MessageDrivenBean · · Score: 2, Insightful

    From the FAQ: Downloading music via iTunes onto a ZFS target volume does not work yet. iTunes will complain it can't write to the volume. So there seems to be a link between iTunes and HFS+? Sounds like someone needs to do some reverse engineering...

    --
    Quisque verborum suorum optimus interpres...
  31. Re:Linux? by Ash-Fox · · Score: 2, Informative

    If you really need ZFS, you can rather easily and painlessly move from Linux to Solaris.

    they are very similar OSs and both offer more or less the same userland (you can bring up the latest Gnome on both).
    Don't let this person miss-lead you. Solaris does not have the same userland available like most Linux distributions do, it doesn't even have a modern version of KDE (latest version on Solaris is 3.4.something while most distributions are running something like KDE3.5.6).

    There is no decent vast repositories either for Solaris which exist on major distributions (like Ubuntu) while there are alternative repositories/package management systems available for Solaris. Solaris just does not have the vast amounts of software that are available on the majority of Linux distributions. A common theme I see is that it doesn't even have simple ham radio software that I find even on smaller Linux distributions.

    That said, it is possible to create a virtual machine in Solaris which runs a Linux distribution of your choice (Solaris' kernel supports this), but in my experience, it seems slower than running the Linux distribution directly on the system and if you're getting ZFS for performance -- I don't think this sort of usage will help performance significantly.

    One other thing I might add, Solaris is not that easy to use compared to Linux distributions. There is no equivalent to even harddrake/restricted manager/YasT/systemsettings when it comes to configuring hardware support.
    --
    Change is certain; progress is not obligatory.
  32. I wish they'd finished UFS support first. by argent · · Score: 2, Informative

    UFS might not have all the bells and whistles of ZFS, but it's still been the most reliable and robust file system I've used in the past 25 years. It's got decades of work on making it stable and solid, and thanks to the tools available to work with it and the redundancy in the format I've even been able to recover data from UFS partitions that had been partially reformatted.

    HFS? I've had HFS partitions get corrupted just be letting them get too full. That's just nuts.

    ZFS? Sun says ZFS doesn't need file system check and repair tools, it can't fail. That's what DEC said about AdvFS, than then later on came up with salvage tools to pull data out of a damaged AdvFS file system. That's what the Linux folks used to say about Reiser FS, too. Even before the Hans Reiser incident it had become clear that it wasn't true, and I've got no reason to assume that ZFS will be any better, not over the long term.

    The only journalled file system I've found that has come anywhere near that goal has been Network Appliance's, and they have complete control over the hardware and software and no third-party applications and drivers running on the hardware. And, of course, few places have very many NetApps (we certainly never had more than 4 at a time) so I can't say that the apparent stability of our boxes isn't due to the fact that we simply never had many of them...

    Apple refreshed UFS for Panther, bringing in SoftUpdates to give it the performance advantages of journalling, then dropped it.

    Apple has created layers that run over network file systems that implement almost all of the application-visible differences between HFS and remote CIFS and NFS shares, but you can't take full advantage of these for local UFS file systems. Why not? Don't ask me, ask Apple.

    I blame corporate ADHD.