Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

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

Posted by Zonk on Thu Jun 07, 2007 10:41 AM
from the so-happy-together dept.
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+.'"
+ -
story

Related Stories

[+] IT: Inside Apple's Leopard Server OS 133 comments
An anonymous reader writes "Mac expert John Welch, author of the widely read OS X versus Vista comparison, delves into Apple's Leopard Server OS. He and Information week have on offer a deep dive into what's known so far about OS X Server 10.5, which will be showcased at Apple's Worldwide Developers Conference in June. Welch weighs in on Leopard's iCal, Wiki, file, Quicktime, and mail services, along with Xgrid 2, Open Directory 4, and 64-bit capabilities. What does it all add up to? His assessment: Apple probably isn't aiming at 'big' enterprises; just the same, Leopard Server is shaping up to be a great SMB (small and mid-sized business) product. Welch writes: 'For about a thousand bucks on existing hardware, or for the cost of an Xserve, you get a really solid server, able to support Web services, collaboration, groupware, IM, and file services. You can run it with its own directory service, or as part of an Active Directory implementation out of the box. It provides some features that due to pricing and/or setup requirements, have traditionally been reserved for big enterprises — in particular clustering of both email and calendaring servers.'"
[+] Apple Delays Leopard to October 545 comments
SuperMog2002 writes "Apple Insider has the sad news that Mac OS X Leopard has been delayed until October. Apparantly software engineers and QA had to be reassigned to the iPhone in order to get it out on time, costing Leopard its release at WWDC. For now the original press release from Apple can be found on the 'Hot News' part of their site, though Apple did not provide a permanent link to the story. 'While Leopard's features will be complete by June, the Cupertino-based company said it cannot deliver the quality release expected by its customers within that time. Apple now plans to show its developers a near final version of Leopard at the conference, give them a beta copy to take home so they can do their final testing, and ship the software in October.'"
[+] Apple Confirms No (Default) ZFS In Leopard 362 comments
javipas writes "Despite recent rumors about the possible inclusion of ZFS as the filesystem of choice for MacOS X 10.5 'Leopard', an Apple executive has denied this possibility. Brian Croll, senior director of product marketing for the Mac OS has as much as said 'ZFS is not happening ... Croll declined to comment on statements made last week by Sun Chief Executive Jonathan Schwartz, who said the use of ZFS would be announced at the Apple Worldwide Developers Conference in San Francisco. Upon further questioning, Croll would only confirm that Apple had never said ZFS would be a part of Leopard. A representative with Sun did not have any immediate comment.' Users of the future operating system will have to keep working with HFS+, a filesystem that is almost ten years old now." Update: 06/12 19:57 GMT by KD : An Apple spokesman contacted InformationWeek with a correction, which they ran as a comment on their original story: What Apple meant to say was, "ZFS would be available as a limited option, but not as the default file system."
[+] ZFS Set To Eventually Play Larger Role in OSX 196 comments
BlueMerle writes with the news that Sun's ZFS filesystem is going to see 'rudimentary support' under OSX Leopard. That's a stepping stone to bigger and better things, as the filesystem will eventually play a much larger role in Apple OS versions. AppleInsider reports: "The developer release, those people familiar with the matter say, is a telltale sign that Apple plans further adoption of ZFS under Mac OS X as the operating system matures. It's further believed that ZFS is a candidate to eventually succeed HFS+ as the default operating system for Mac OS X -- an unfulfilled claim already made in regard to Leopard by Sun's chief executive Jonathan Schwartz back in June. Unlike Apple's progression from HFS to HFS+, ZFS is not an incremental improvement to existing technology, but rather a fundamentally new approach to data management. It aims to provide simple administration, transactional semantics, end-to-end data integrity, and immense scalability."
[+] Hardware: Apple Removes Nearly All Reference To ZFS 361 comments
Roskolnikov writes "Apple has apparently decided that ZFS isn't really ready for prime time. We've been discussing Apple/ZFS rumors, denials, and sightings for some years now. Currently a search on Apple's site for ZFS yields only two hits, one of them probably an oversight in the ZFS-cleansing program and the other a reference to open source. Contrast this with an item from the Google cache regarding ZFS and Snow Leopard. Apple has done this kind of disappearing act in the past, but I was really hoping that this was one feature promise they would keep. I certainly hope this isn't the first foot in the grave for ZFS on OS X."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Anonymous Coward on Thursday June 07 2007, @10:43AM (#19424335)
    But they killed that project.
  • by dsginter (104154) on Thursday June 07 2007, @10:44AM (#19424347)
    Mmmm... Boiled Oceans!
  • I'm giving odds... (Score:5, Informative)

    by Telephone Sanitizer (989116) on Thursday June 07 2007, @10:46AM (#19424375)
    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 [arstechnica.com]
    • by FuturePastNow (836765) on Thursday June 07 2007, @11:12AM (#19424843)
      The first bootable release of ZFS (not "BUILD," but "RELEASE") isn't even due until the Fall.

      OSX 10.5 ain't due 'til Fall, either.
      • by 0xABADC0DA (867955) on Thursday June 07 2007, @11:44AM (#19425369)
        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.
          • by jellomizer (103300) * on Thursday June 07 2007, @12:15PM (#19425807)
            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.
            • by JimDaGeek (983925) on Thursday June 07 2007, @05:38PM (#19430789)

              The Move from Classic (OS 9) to OS X forced people to Recompile/Port or Die from obsoleteness
              Not completely true. You can still run classic code, if you really want. I think what Apple did was make cocoa [apple.com] so much better that developers wanted it and users demand it.

              Next it was the move from Power PC to Intel.
              Again, you can run PPC under Intel via Rosetta [apple.com]. Though getting a native Intel build always performs better. Some say they don't notice any difference. I disagree. For example, a PPC build of Photoshop is much slower than a Universal build of the new Photoshop.
              So Apple does leave backwards compatibility stuff there, however they make the new stuff so much better, that developers and users want to get it ASAP.

              Now compare this to Microsoft. While .Net with C# is an improvement for developers in productivity, there is really no gain/difference for users. For example I had to port a legacy VB 6 app to C#/.Net. The end users didn't know anything different about the app from their point of view. Just switching to .Net didn't make the app inherit any default functionality. Contrast this to Cocoa where an app get spell checking via NSSpellChecker.
              • by Phat_Tony (661117) on Thursday June 07 2007, @08:44PM (#19432545)
                "PPC build of Photoshop is much slower than a Universal build of the new Photoshop"

                The old PPC builds of Photoshop are also much slower on PPC than the only universal version, CS3. They moved Photoshop from Codewarrior to Xcode between CS2 and CS3, and it's the most massive rewrite they've ever done. So you can't distinguish how much of the speed difference of CS3 over CS2 on Intel is due to it being Intel native, and how much is simply due to it being faster.
          • You are right to a certain extent, but you have to realized that current file systems are old and clunky. For a desktop or a few non-critical servers moving to the new tech is a great idea. Down the road, when ZFS is more mature and understood, it's going to be a welcome addition to most production setups. If you ran real-world mission-critical prod setups needing high availability you'd understand.

            Imaging you have a huge medical database on several servers and are running out of disk space. To expand, you need to plug in new hard drives, create RAID setups, create partions, move data over, restart the database, verify again and again, downtimes, etc. You can easily and efficiently grow file systems (unless you're using an expensive piece of software like veritas volume manager. With zfs, all I need to do to expand disk space in current WORKING filesytems is:

            zpool add oraclefs mirror c1t1d0 c2t1d0

            No luns to deal with. No other filesystem bullshit. You have no idea how excited this makes me for services that require large amounts of growing storage.

            Read up on zfs here: zfs [slashdot.org]http://www.opensolaris.org/os/community/zfs/> It is the best thing to come out of Sun in a long time.

          • by Anarke_Incarnate (733529) on Thursday June 07 2007, @12:55PM (#19426365)
            After 2 months of trying ZFS out in a non-prod environment, we reverted to UFS because ZFS was not as fast on 8k random reads and appeared to use a ton more RAM. In actuality, it used less than perceived but try explaining that to developers and DBAs. UFS will use system RAM for cache and report it as free RAM, then relase it when another process needs it. ZFS does similar things (with worse memory accounting) though if it uses system RAM for cache it reports it as used. A bug had to be squashed in ZFS regarding purging pages of cache when the system requested it back, because it would page out faster than it could account for doing so and cause massive thrashing in RAM. That has been fixed, however.
          • by Scaba (183684) <.joe. .at. .joefrancia.com.> on Thursday June 07 2007, @04:47PM (#19430045) Homepage

            So, how exactly does one roll back changes to a file on an NTFS partition?

          • by 0xABADC0DA (867955) on Thursday June 07 2007, @05:27PM (#19430631)
            Really?

            NTFS has data checksums to detect and repair corruption caused by any component?
            You can add and remove disk space from an NTFS volume dynamically?
            NTFS does data-level journaling not to mention without the overhead of multiple writes of the data?
            NTFS can use compression without getting horrible fragmented or other negative side effects?
            NTFS snapshots do not affect performance of the normal system?
            NTFS has variable block sizes?
            NTFS is open source and took less than a decade to get support on multiple systems?

            As far as I know that's a big no on all those. I mean NTFS is very complex and has a lot of bullet points, but to claim that ZFS is just 'ntfs with larger address space' is really missing the boat.
  • Booting from ZFS? (Score:5, Interesting)

    by rollthelosindice (635783) on Thursday June 07 2007, @10:47AM (#19424387) Homepage
    When ZFS was first mentioned in the same breath as OS X it was pointed out that at the time you couldn't boot off ZFS file systems, so people were thinking it would power external (or secondary) timemachine devices. If it's replacing everything, I'm assuming you can now boot from a ZFS drive? When was this functionality added?
    • Re:Booting from ZFS? (Score:5, Informative)

      by AKAImBatman (238306) * <akaimbatman.gmail@com> on Thursday June 07 2007, @11:11AM (#19424797) Homepage Journal

      When was this functionality added?

      March 28th, 2007 at 19 hundred and 50 hours Zulu time [opensolaris.org]

    • Re:Booting from ZFS? (Score:5, Interesting)

      by Midnight Thunder (17205) on Thursday June 07 2007, @11:20AM (#19424979) Homepage Journal
      What would prevent you from being able to boot off a ZFS drive? Surely all that needs to be done is for Apple to add ZFS support to their EFI implementation?
      • Re:Booting from ZFS? (Score:5, Interesting)

        by Skapare (16644) on Thursday June 07 2007, @12:35PM (#19426073) Homepage

        I don't know any of the technology of ZFS, so I can only guess.

        For a boot loader like LILO, it will need to create a list of exact hardware datablocks to read the kernel in from. ZFS might move those blocks around after the "lilo" command built the block map. Then it can't load the kernel.

        For a boot loader like GRUB, it will need to have a read-only subset of the filesystem inside so it can find the kernel image file. That might be doable, but it hasn't been done, yet.

        So create a small boot partition on the first few megabytes of the drive, and make another partition for the rest and let it be a part of the ZFS pool (if ZFS can accept a partition, and not just a whole disk).

        A better option would be to get a computer that has legacy IDE support with bootability, in addition to the main SATA or SCSI support for major hard drives. Then add a Compact Flash adapter to the IDE [addonics.com] port and use a small Compact Flash module to load the kernel from using your favorite boot loader. Or just use an all-SATA mainboard with a different Compact Flash adapter for SATA [addonics.com]. A tiny CF memory module with 16MB or so would be enough to load a nice sized kernel. Or go with a 16GB one and have a copy of /opt and /usr on there as well (structured to work when mounted read-only).

  • by dancingmad (128588) on Thursday June 07 2007, @10:48AM (#19424393)
    He's already taken it back [sun.com], 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."
  • It WAS... (Score:5, Funny)

    by WiseWeasel (92224) on Thursday June 07 2007, @10:48AM (#19424405)
    Not anymore, it ain't... Now, Apple will go with NTFS just to spite them...
  • No no no (Score:5, Informative)

    by Guanine (883175) on Thursday June 07 2007, @10:50AM (#19424449) Homepage
    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 [daringfireball.net]:

    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.


  • I doubt it (Score:5, Insightful)

    by ceswiedler (165311) * <chris@swiedler.org> on Thursday June 07 2007, @10:55AM (#19424521)
    Jobs is probably not happy about his thunder being stolen right before for the June 11th keynote

    I strongly doubt he didn't know about it. This is Jonathan Schwartz, not a OS X rumors blogger. At any rate, ZFS in OS X is Sun's thunder; Time Machine is Apple's thunder, and that's already announced. How many OS X users (other than slashdot readers) will care in the slightest about the underlying filesystem? What they care about are the features, like Time Machine, that it enables.
  • Yes I'm sure it will be worth it in the long run but I'm not looking forward to yet another hiatus in which: no industrial-strength disk-recovery tools are available, in which accidentally running the wrong disk-repair tool on the wrong partition hoses it instead of fixing it, and in which yet more legacy software suffers breakage due to subtle incompatibilities in implementation.

    (Yesyesyes, I know, ZFS is reliable that disk-recovery tools are not needed. And if you believe that, then you probably believed Microsoft when they said NTFS volumes never needed defragmentation).

    Dear Apple:

    Please let HFS+ still be an option.

    Please let Classic still run on Power Mac processors.

    Please let reasonably well-behaved software that uses resource forks still work.

    Please let it be case-insensitive and case-preserving.
      • by kithrup (778358) on Thursday June 07 2007, @11:52AM (#19425491)
        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.
      • (I don't know what various filesystems actually do, this is just how I would assume it's done, at least on systems designed for case-insensitivity...ext2 or FFS probably would suffer from the issues you mention about scanning the whole directory.)

        On a case-insensitive filesystem, your done if you're lucky. If not lucky, you need to do a linear scan of the whole damn directory.
        And yet Windows and Mac OS have had case-insensitive filesystems for years and somehow they are usable, even with Unicode filenames.

        You can't restore the original case of a string afterwards, but you can always make it lowercase. This is called "case folding." You can fold two strings to a lowercase form, and then compare them for equality or whatnot. Works with Unicode, too.

        Then there is the issue of internationalization. For example, consider "I" and "i". Some places have an uppercase with the dot, and other places have a lowercase without the dot. The rules for uppercasing and lowercasing differ from what most people are used to. Oh crap! This issue doesn't exist on a case-sensitive filesystem.
        While folding Unicode chars is frequently presented as an unsolvable problem ("what do you do with the letter with the squiggly thing above it? Or converting that German capital 'B' thing to two lowercase 's' chars? There are MILLIONS OF THESE!") ... there are actually very few cases in the grand scheme of things. Most languages don't have upper and lower case, after all.

        Here's the whole list of characters that need to "folded" to a lowercase form, accounting for instances where it will cause the string to grow (like that German 'B' thing):

              http://www.unicode.org/Public/3.2-Update/CaseFoldi ng-3.2.0.txt [unicode.org]

        (And you can hash those chars too, so folding a string doesn't involve hundreds of conditionals.)

        If you don't care about Unicode, case folding an English ASCII char is 2 lines of C code, and a few more if you want extended ASCII.

        Once you have a filename, you can store it in the filesystem as the specifically-entered characters, so you don't lose the original casing, but also store with it a hash of the case-folded version. Now whenever you need to look up a specific filename, you case-fold it, hash that folded string, and look it up that way against the hash you previous calculated when creating the file. Now it's as fast as the case-sensitive filesystem, minus the overhead of folding a small string.

        Because of the way directory listings are done (read then look up stats) you can generally square the above numbers. Ouch.
        The way directory listings are done doesn't change...readdir() is the same in all cases, and your lookup is still a hash. If you had to scan, the first run is slow anyhow due to disk bandwidth and seek speeds, but then a modern OS can cache the inodes to speed this up for the next run.

        App needs to make a file. App sees that file does not seem to exist. App writes file. Complex international case rules mean that no, the file DOES exist, and it gets clobbered.
        I would think that stat(filename) would not report the file doesn't exist if open() would then clobber it, at least not for case-sensitivity issues.

        If your app decides about a file's existence by using readdir() until it finds it, and doesn't properly case-fold, and didn't call open() with O_EXCL, then not only did you go the long way about it, you got what you deserved for clobbering the file.

        Actually, if you don't just open(O_CREAT | O_EXCL) to check for existence and create if missing in one step, then you'll have an atomicity problem anyhow. Use the services the OS provides, they are there for a reason.

        --ryan.

  • by athloi (1075845) on Thursday June 07 2007, @11:00AM (#19424603) Homepage Journal
    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 [freebsd.org], Solaris will have ZFS "soon" [itjungle.com] 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.
  • by Otterley (29945) on Thursday June 07 2007, @11:00AM (#19424615)
    If ZFS is the default file system, it will mean that Time Machine (i.e. the snapshot feature) of 10.5 will be able to take snapshots without requiring a secondary file system to keep the copied (recoverable) blocks, as it does now with HFS+. To me, the secondary filesystem requirement makes Time Machine essentially useless on a laptop.
    • by larkost (79011) on Thursday June 07 2007, @11:28AM (#19425113)
      TimeMachine is a backup tool, not really a live versioning tool. That makes having a second volume a requirement. If you don't understand that, then you don't understand what backups are for.

      I already know how TimeMachine is going to work (it was part of the filesystem presentation at last years WWDC... so I know it, but can't reveal it), and unless they have completely redone that entire system (which was quite elegant), then ZFS will not bring a single thing to it. I do know how ZFS could make that all really elegant, but Apple already has it covered on HFS+.
  • by multisync (218450) on Thursday June 07 2007, @11:08AM (#19424753) Journal

    because ZFS has back-up and snapshots build right in to the filesystem


    I think Slashdot would benefit from adopting some of K5's approach to story submissions. The Firehose is a great start, but instead of simply saying yes or no, users should be able to give feedback to the submitter. The summary for this article is a great example. The submitter typed "build" instead of "built," resulting in an annoying distraction in an otherwise concise description of the story.

    Newspapers have Copy Editors (at least they used to; most seem not-too-bothered by spelling these days). It would be nice if interested Firehose users were given the opportunity to help make sure the summary was fit for publication before it hits the front page.

    I guess this should have been a journal entry, but it seemed like an opportune time to bring this up.
  • by N3WBI3 (595976) on Thursday June 07 2007, @11:10AM (#19424785) Homepage
    This will make going from earlier versions of OSX to the new one more of a pain because the whole disk will have to be reformatted.
  • The best of Unix? (Score:5, Interesting)

    by gilesjuk (604902) <(ku.oc.nez) (ta) (senoj.selig)> on Thursday June 07 2007, @12:45PM (#19426185)
    Seems like Apple take some of the best ideas from the Unix world. Really shows the potential of Unix systems if the people who wrote them thought a little more about usability.
  • by alexhmit01 (104757) on Thursday June 07 2007, @01:21PM (#19426833)
    Apple is "well known" for massive backwards compatibility updates... except they aren't... They always handle transitions over a couple of versions, intelligently bringing people along. They swapped processor architectures twice and each time brought people along with emulators, in the Intel case it wasn't faster than the fasted G5 machines, but those of us upgrading 3+ year old machines (Powerbook G4 1Ghz -> Macbook Pro in my case) found our PPC apps running faster and Intel code flying.

    We all expected the Intel migration to happen with 10.5, they shocked us when they did it off the 10.4 base.

    While they did abandon Mac OS to move to OS X, they provided a migration strategy (Carbon) and a compatibility layer (Classic). Classic support shipped with 10.0/10.1, 10.2, and was supported in 10.3 if you already had it, as well as 10.4 I think, but they kept classic for around 5 years, which gave everyone time to migrate to Carbon. Its unfortunate that there is no long-term Classic via Rosetta just from a classic application point of view, but they didn't leave anyone in the lurch.

    I expect 10.5 to introduce this OS, which will be useful for new installs, or for external drive arrays, especially for the Video market, but I wouldn't expect it to be the default. OS X has supported a Unix filed system, but defaulted to HFS+, because HFS+ was compatible with Mac OS, so you could dual-boot OS 9 and OS X for a good 2 years on new hardware to maintain compatibility. If they hadn't done that, they would have lost the Pro-Audio and Pro-Video markets that took a few years to get native OS X applications.

    Getting it in the wild and for professionals would help that market, while not breaking ANYONE's compatibility. Sometime in 10.5's lifetime they may ship new computers with it, or they may wait for 10.6 in two years. But giving everyone two years is plenty of time to get utilities and applications compatible with the new file system.

    The flashy consumer features are touted for the OS, but the underlying architecture has always followed a 2-cycle release. If you've used OS X Server for 10.2/10.3/10.4, you'd notice that they introduced stuff in one version with limited exposed functionality (with the rest via the Unix layer), enhanced the functionality in the next rev, and polished thereafter.

    The Apple Mail Server -> Cyrus migration was someone poorly handled, but mostly because AMS was garbage. But the 10.4 Mail tools are night and day beyond the 10.3 ones.

    They are actually far more careful than people give them credit for.

    The different is, they don't keep backward compatibility as a long-term goal, they do a two-stage migration, giving people 2-4 years to transition.
  • ZFS still has bugs (Score:5, Informative)

    by mlheur (212082) on Thursday June 07 2007, @02:44PM (#19428213)
    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.
  • by SirNAOF (142265) on Thursday June 07 2007, @03:03PM (#19428577)
    ZFS is not ready for prime time - at least not on Solaris.

    I setup ZFS on some SAN storage in a new system. The internal boot disks were mirrored UFS. When one of the HBAs fried, the SAN storage disappeared - and the system panic'd.

    Every reboot thereafter stopped in a panic. The ZFS subsystem panic'd the system at every boot when it couldn't find all its volumes. After calling Sun support, I found out that they need to do a massive code redesign to catch that issue, and it wouldn't be out for at least 6 months.

    I'm sure ZFS will be great - once they clean up these type of showstopper bugs.
    • Re:oblig... (Score:4, Interesting)

      by eln (21727) on Thursday June 07 2007, @11:06AM (#19424707) Homepage
      We had a guy come in a few months ago to give a class on upgrading to Solaris 10, highlighting the differences between Solaris 9 and 10. When he got to the ZFS portion, he really did talk about it like that. He basically described ZFS as the filesystem to end all filesystems, the killer app that would revolutionize computing, end file corruption, and bring about world peace.

      I'm not sure if that's the way they talk about it internally at Sun, but that's how their instructors portray it out in the field.
      • Re:oblig... (Score:5, Informative)

        by kildurin (938538) on Thursday June 07 2007, @11:12AM (#19424821)
        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.
      • Re:oblig... (Score:4, Interesting)

        by djh101010 (656795) * on Thursday June 07 2007, @11:17AM (#19424919) Homepage Journal

        We had a guy come in a few months ago to give a class on upgrading to Solaris 10, highlighting the differences between Solaris 9 and 10. When he got to the ZFS portion, he really did talk about it like that. He basically described ZFS as the filesystem to end all filesystems, the killer app that would revolutionize computing, end file corruption, and bring about world peace.
        That's quite a change from about a year ago, when I took the "new features in Solaris10" class; at that time the instructor I had was in no uncertain terms saying it's "not ready for production, wait until later". Apparently we have reached "later"? Or it could be that people have opinions and express them, and aren't all speaking for Sun; I suppose that's possible...
        • Re:oblig... (Score:4, Informative)

          by Anarke_Incarnate (733529) on Thursday June 07 2007, @11:25AM (#19425057)
          It still has memory hogging issues as well as performance issues in certain areas. More kernel tuning will be needed to tame the beast that is ZFS. It is good for many things but it does not replace EVERYTHING just yet.
      • Re:oblig... (Score:5, Interesting)

        by BosstonesOwn (794949) on Thursday June 07 2007, @11:28AM (#19425105)
        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.
        • Re:oblig... (Score:4, Interesting)

          by rainman_bc (735332) on Thursday June 07 2007, @12:04PM (#19425663)
          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.

          Depends - whatcha building? An app server, a web server, a database server, or a file server? Different strokes for different folks, and I'm not clear yet if I'd like the overhead of ZFS on a database server. The jury's still out on ZFS+Oracle...

          I'm not 100% on which file system I'd like. Certainly the integrity of ZFS is quite pleasing for a DBA, questions is if the overhead is worth it...
          • Re:oblig... (Score:4, Interesting)

            by moosesocks (264553) on Thursday June 07 2007, @01:13PM (#19426683) Homepage
            From what I understand, the API that Windows filesystem drivers interface with is an undocumented nightmare that's entirely different (but not necessarily 'worse') from the way the rest of the world does it.

            So porting a filesystem as complicated as ZFS could take some time.
            • Re:oblig... (Score:5, Informative)

              by Cyberax (705495) on Thursday June 07 2007, @02:12PM (#19427665)
              Windows filesystem kernel API (it's called IFS - Installable File Systems) is fairly well documented, and you can get free GPL2 headers for it (http://www.acc.umu.se/~bosse/ntifs.h) or buy IFS kit from Microsoft for about $109 (http://www.microsoft.com/whdc/DevTools/IFSKit/def ault.mspx). Unfortunately, IFS is a very complex API and there's only ONE good book about it.

              You definitely can port FS to Windows using only documented API, but it's a long and tedious process. I'm currently porting FUSE to Windows, so I know it :)
      • Re:oblig... (Score:5, Funny)

        by mapinguari (110030) on Thursday June 07 2007, @11:43AM (#19425337)
        You misunderstood him. He said that it would bring about "War and Peace", not world peace.
        Every ZFS volume has a copy of the Tolstoy classic embedded for internal benchmark purposes.
    • Re:oblig... (Score:5, Funny)

      by adisakp (705706) on Thursday June 07 2007, @05:05PM (#19430327) Journal
      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.