Slashdot Mirror


Sun CEO Says ZFS Will Be 'the File System' for OSX

Fjan11 writes "Sun's Jonathan Schwartz has announced that Apple will be making ZFS 'the file system' in Mac OS 10.5 Leopard. It's possible that Leopard's Time Machine feature will require ZFS to run, because ZFS has back-up and snapshots build right in to the filesystem as well as a host of other features. 'Rumors of Apple's interest in ZFS began in April 2006, when an OpenSolaris mailing list revealed that Apple had contacted Sun regarding porting ZFS to OS 10. The file system later began making appearances in Leopard builds. ZFS has a long list of improvements over Apple's current file system, Journaled HFS+.'"

16 of 384 comments (clear)

  1. I'm giving odds... by Telephone+Sanitizer · · Score: 5, Informative

    Well, not in THIS forum. But elsewhere.

    5:1 that it's not the default root file system in Leopard.

    The first bootable release of ZFS (not "BUILD," but "RELEASE") isn't even due until the Fall.

    I'm not alone in this skepticism. See this Ars story, for example.
    http://arstechnica.com/journals/apple.ars/2007/06/ 06/sun-ceo-jonathan-schwartz-zfs-to-be-the-file-sy stem-in-leopard

    1. Re:I'm giving odds... by 0xABADC0DA · · Score: 5, Informative

      Are you kidding? This is ZFS we're talking about.

      ZFS is several orders of magnitude better at streaming large files like are used in video editing, which is already a huge draw for Macs. Since it is copy-on-write, writes are done without seeking so are very fast and can be spread out across multiple drives in parallel. IIRC within a zfs pool (collection of drives) you can make different 'filesystems' mirrored or striped, so you can have a /video that is striped and ultra-fast whereas /home is mirrored and fault-tolerant.

      You can take your 100gb video and instantly say 'snapshot this' then make any number of changes to it and if you don't like it just revert back again. Contrast to every other filesystem (besides spirolog) where you have to make a 100gb copy as a backup -- which takes forever, so nobody does it unless they have to.

      You can drop in a new drive and say 'use this drive' and your existing filesystem instantly has more space available and it is more fault tolerant or faster or both. If you want to remove a drive you say 'dont use this drive' and you can still use the OS normally while it moves data off to other drives.

      Something like ZFS, that "touches so many other applications and parts of the OS" has to be the default. Otherwise you have to support two completely different ways of using the system. And that bloat and complication costs a lot more than just getting it right through extensive testing. If you are really worried about it, don't upgrade the OS for a while.

    2. Re:I'm giving odds... by jellomizer · · Score: 5, Interesting

      If you were a Mac User you realize that Apple does stuff like this a lot, and they are quite good at it too.

      The Move from Classic (OS 9) to OS X forced people to Recompile/Port or Die from obsoleteness modernized almost all the software for Mac OS X. This removed a lot of Old Hacky code from the code base and forced developers to follow a more modern programming style.

      Next it was the move from Power PC to Intel. This once again required a full recompile but this time is assured that the recompile was with their own development tools. So more hacky code was removed and replaced with more standardized system calls.

      Now with ZFS on Mac OS X it is more likely that most things will work just fine with ZFS because Apple Knows what most of the calls to the OS will be. And the bulk of the legicy code has been updated.

      Windows, Linux and traditional Unix OS Devlopers don't normally Break Compatibility so often so their hacks to work around a shortfall in an OLD version of the OS holds threw to the following versions of their software on newer versions of the OS. So migrating OS ZFS on Linux is much more risky then moving to ZFS on OS X.

      But it is a trade off of getting Modern Software and paying more $$$ for the software. or Pay less for the software but make it hard to upgrade to a better system in the future.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  2. He's already backpeddled by dancingmad · · Score: 5, Informative

    He's already taken it back, more or less:

    "I don't know Apple's product plans for Leopard so it certainly wouldn't be appropriate for me to confirm anything. [...] There certainly have been plenty of published reports from various sources that ZFS is in Leopard, I guess we will all have to wait until it is released to see if ZFS made it as the default, or if they simply announce that it will become the default in a future release."

    --
    "There is no time, sir, at which ties do not matter," Jeeves, (Jeeves and the Impending Doom)
    1. Re:He's already backpeddled by gclef · · Score: 5, Funny

      Translation:

      "I didn't know that Steve Jobs was going to call me and scream at me like a diseased monkey when I said that. I'm sorry Steve. Please don't kill me."

  3. It WAS... by WiseWeasel · · Score: 5, Funny

    Not anymore, it ain't... Now, Apple will go with NTFS just to spite them...

    --
    "I like systems, their application excepted", George Sand (French)
  4. No no no by Guanine · · Score: 5, Informative
    Then he retracted his statement, saying he didn't know if it was the _default_ or not. Here's his quote, from a link on Daring Fireball:

    I don't know Apple's product plans for Leopard so it certainly wouldn't be appropriate for me to confirm anything. [...] There certainly have been plenty of published reports from various sources that ZFS is in Leopard, I guess we will all have to wait until it is released to see if ZFS made it as the default, or if they simply announce that it will become the default in a future release.


  5. Switch all filesystems to ZFS... by athloi · · Score: 5, Interesting

    Once we're sure it's stable, because it looks like a massive improvement over the 1970s-style file systems we're using now. ZFS is now part of FreeBSD, Solaris will have ZFS "soon" and many Linux distros are also considering it. Good. Let's get to a common standard that's excellent and forget the tedium of these past, less effective file systems.

  6. Re:Booting from ZFS? by AKAImBatman · · Score: 5, Informative

    When was this functionality added?

    March 28th, 2007 at 19 hundred and 50 hours Zulu time

  7. Re:oblig... by kildurin · · Score: 5, Informative

    Its worth noting that most Sun instructors do not work for Sun. As someone who has implemented and is using ZFS, it really is as good as they say. I use it at home for storing video files and have not suffered any data loss.

  8. Re:oblig... by BosstonesOwn · · Score: 5, Interesting

    as a worker at sun and having used ZFS and playing with it constantly , it is a good File system , I appreciate the little things it has and it has brought data stability to a whole new level. I think personally that this will be a defining moment for ZFS , it will be linux ready soon ( at the same level of stability that the mac will enjoy ) and it will take off and become more of a standard for unix and linux boxes.

    To bad no windows port is available. It would be nice to see my unix drives from windows.

    --
    This package Does Not Contain a Winner
  9. Re:The were going to use Reiser by SuiteSisterMary · · Score: 5, Funny

    Am I missing any other notorious Slashdot cliche?

    I don't use Slashdot cliches, you insensitive clod!

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  10. Re:oblig... by Anonymous Coward · · Score: 5, Funny

    He wrote 'data loss', not 'wife loss'.

  11. Re:case-insensitive: performance, i18n, safety by kithrup · · Score: 5, Informative

    Sorry, but your description of the lookup process isn't right. First: lookup depends on the way directory entries are store. On UFS, it's a non-sorted array; in order to do a lookup, you need to (worst case) scan the entire directory. On VxFS, they use a hash, so first you hash the input, and then do run through the entries that have a matching hash. On HFS+, the catalog is stored as a B-tree, so you do compares to get to the right node, and then look through the node until you either find it or reach the end of the node. Second: None of those is affected by case-insensitivity. You simply do a case-insensitive compare each time. This is the difference between HFS+ and HFSX on Mac OS X: in the former, the key-compare function is a Unicode case-insensitive comparator; on the latter, it's just a memcmp. Third: your comment about "i" is a glyphing issue, not a character issue. Apple has a pretty good technote up on their HFS+ impelementation, and it describes the way the case insensitivity works. I recommend reading it.

  12. ZFS still has bugs by mlheur · · Score: 5, Informative

    For something that's only a year or so old (production wise), I don't trust it worth shit.
    We run Netbackup Enterprise on Solaris 10 - during our last round of upgrades we installed ZFS on our disk staging storage units. It replaced VxFS. The way disk staging storage units (DSSUs) work in Netbackup, the disk is always near 100% full form a unix perspective. Basically, any time more disk is needed, the oldest image that has been copied to tape is expired from disk, thus freeing up more room. However, ZFS's most prominent bug from our perspective is that during periods of high activity, if all blocks become allocated, it becomes impossible to unlink(2) a file. This causes the application to no longer be able to make space for new backup images.

    Going down the shell, try to rm a file and it comes back: rm failed, disk is full.

    Well, if the disk is full, and you can't rm because the disk is full, how do you free up space?

    Sun's response, truncate an unnecessary file using 'cat /dev/null > /path/to/file', then, once you have some blocks free, rm works (so does unlink).

    Ok - so how do you tell a compiled application to truncate an unnecessary file before unlinking it? You can't! How can you determine what an unnecessary file is? If you delete the image before expiring it from the catalog you get errors when you try to expire, so you end up with catalog corruption.

    All in all, this is a problem that should never have been introduced, let alone still exist after months of sending trace outputs and reproducing it in multiple environments. ZFS isn't ready for the real world.

  13. Re:oblig... by adisakp · · Score: 5, Funny

    Nope. ZFS WAS going to be the file system until Sun's CEO leaked it before Jobs could announce it. No one knows what it will actually be NOW. Jobs would rather use FAT32 than let someone leak info about one of his announcements.