Slashdot Mirror


Apple Looking at ZFS For Mac OS X

Udo Schmitz writes "Apples Filesystem Development Manager, Chris Emura, is looking into porting Sun Microsystems' file system ZFS to OS X. At least this is what Sun's Eric Kustarz states on the ZFS mailing list. Is this a glimpse of hope for all those of us who think HFS+ isn't up to par for a 21st century OS? Next thing you know and they'll rewrite the Finder ..."

48 of 261 comments (clear)

  1. Comparison of Filesystems. by Whiney+Mac+Fanboy · · Score: 5, Informative

    Have a look at wikipedia's Comparison of file systems page to see the difference between ZFS & HFS+.

    The main advantage for HFS+ users (I mean who's really going to need a 16,000,000 Gigabyte file) would be the introduction of journalling beyond metadata (and even this is unlikely to be useful to most people).

    --
    There are shills on slashdot. Apparently, I'm one of them.
    1. Re:Comparison of Filesystems. by lokedhs · · Score: 4, Interesting
      I think the major advantage is the fast snapshotting and cloning. It uses copy-on-write so that it doesn't take more space than what you actually change.

      Imagine being able to take really fast working copies of whatever you're doing and be able to simple use the old versions by cd'ing to the old clone.

      That's certainly what I would use ZFS for. The rest of the stuff, pooling and mirroring and stuff is less interesting in my laptop. :-)

    2. Re:Comparison of Filesystems. by captnitro · · Score: 5, Informative

      Since OS X.3, I believe the kernel has defragmented files under 20 MB on the fly.

    3. Re:Comparison of Filesystems. by croddy · · Score: 2, Interesting

      Also -- hard links. One would be hard pressed to find a filesystem with poorer hard link support than HFS+, except those that don't support links at all.

    4. Re:Comparison of Filesystems. by ylon · · Score: 2, Interesting

      With the number of hard drive failures that I've seen in our region recently (being that I am part of a group of consultants that works across the region and we've seen well over 100 hard drives fail within the last 3 months with bad sectors and such, seems very odd, but something is up as it ranges in brands and from home consumers to very beefy servers) I would say that ZFS is a huge benefit for anything ranging from laptops to servers. I would love to have continual failure monitoring for bad blocks and such. I am extremely excited about this as it will also allow the pooling of storage space across my personal office. Also, does it function similarly to the Google FS or other global filesystems that help to create redundancy across the pool? That would be exceptionally valuable. I thought that I'd read about ZFS actually functioning as a disconnectable file system as well that could "sync up" when reconnected to the network, but perhaps that is from some of my other filesystem exploration.

    5. Re:Comparison of Filesystems. by clifyt · · Score: 5, Interesting

      "HFS+ is subject to fragmentation (but Apple, like MS, provides no tools to help you deal with it)"

      Talking in depth to one of the original OS X engineers (there were 4 or 5 depending if you count Jobs as one of them -- they all claimed Jobs gave as much input to the original porting of Next to the new OSX as anyone else did), his claim was that fragmentation isn't a problem.

      Apple specifically doesn't offer tools because it defrags files as it makes sense to the operating system -- and generally doesn't defrag at all except for tiny files because modern drive and multiple independent read / write heads on drives today make a bit of entropy a good thing. If I remember later conversations correctly, he also mentioned that Apple had several graphic based disc tools that could do the same things that the OS does on an individual file basis, but didn't see the point in releasing them because this was something that should be left up to the OS and not up to the user. I argued that the user should have control and he countered with the fact that unless you had intimate knowledge about the drives physical features as well as the OSs specific needs, you are more likely going to slow things down in your quest to align the pretty colors together on your defrag program.

      What was interesting was that he also recommended that you never fill a drive past 60 or 70 %. The claim was that having a huge chunk of empty space allowed the OS to do its thing without having to resort to smoke and mirrors.

      Note -- defragging is an IMPORTANT part to my audience. I deal with musicians and engineers working on digital audio workstations. I remember using specific defraggers that were used solely for our industry (i.e., would write audio files to areas of the disc that were claimed to be the fastest read / write). I followed this skeptically -- until my contact forwarded me to a counterpart of his at Microsoft that essentially said the same thing -- in a MODERN OS using modern hardware, this does more harm than good.

      Do I believe that a user couldn't get more optimized use out of defragging their own drives? I don't really know...but I'm going to trust these guys. Do your own research though. For all I know, I was told a line of BS that is intended to keep people like me from poking around under 'modern os`s' :-)

    6. Re:Comparison of Filesystems. by foniksonik · · Score: 2, Interesting

      As a part time graphics guy, this feature would make life much better.... I periodically have to save very large files after having made the smallest of changes... a typo for example... and yet saving the document takes as long as if I had made a full copy of the file.

      I would love for the FS to do snapshot saves with incrementals and checkpoints and rollback, instead of having each application do it. This provides unlimited undos potential with actual stored versions... a true 'history' of the file, available for review.

      Implementing this functionality at a FS level will make it practical whereas now you have to rely on a program like Photoshop to create a 'scratch disk' that takes up huge amounts of RAM and physical space, making for an overall unwieldy document memory footprint the application has to traverse and manipulate as you make changes.

      If they do this and can provide Application level hooks that are easy to implement, it will put OS X back on top for large file manipulation application developers like Adobe... simply because the performance benefits will showcase their applications so much better than the alternatives.

      --
      A fool throws a stone into a well and a thousand sages can not remove it.
    7. Re:Comparison of Filesystems. by araemo · · Score: 2, Informative

      Go try and defrag a windows drive with less than 20% free, it'll give you a warning. :)

      Most modern filesystems do some amount of 'defrag' automatically over time. Windows XP w/ NTFS does this, I would bet HFS+ is designed to do this. Of course, if there isn't a lot of free space to play with, the automatic 'opportunistic' defrag has a lot less chance of moving a large file to a bit of contiguous free space. If you can manage it, don't fill your drives to the brim. It will hamper performance, and it will make defrags take MUCH longer if you seriously fragment your files.

      The way I understand it, sometimes when you overwrite a file, instead of reusing the same blocks, the FS marks those as free and writes to some currently free blocks, 'defragging' that file.

    8. Re:Comparison of Filesystems. by BrokenHalo · · Score: 2, Interesting

      Hmmm. Curious survey results there. Although I don't fall into those categories (my next computer will be built by myself, and it will run Linux as usual) I'm not entirely surprised by a preference for Mac. But the difference there is so big, the immediate suspicion that comes to my mind is that someone has been stacking votes...

    9. Re:Comparison of Filesystems. by clifyt · · Score: 3, Informative

      This was actually addressed.

      If you keep around 70% of your drive free, the machine will be able to make large enough chunks that given a combinations of other factors it was meaningless.

      It was said with multiple independent read write heads, you can actually fill the buffer faster by spreading the load out in noncontiguous sections...and even if it did need to read sequential sections from the same head in different areas, both that the drive can read files nonsequentially and load these chunks into the cache while the other read head is catching up -- and that it takes less than a ms to jump from one sector to another these days.

      The clue that was beaten into me was to think of this as sorta a spanned raid within a single drive and that's entirely how these work these days (and then told its entirely not like a raid so I shouldn't use that metaphor lest some nerd that thinks with his head instead of his gut tells me that I'm wrong -- ok I made up the last part, but its essentially what I was told).

      But all in all, as other have mentioned, HSF+ likes to defrag on the fly non-contiguous chunks of less than 20 megs (and it will also do this in the background after the CPU is more free after seeing these) -- and given that the average cache on a drive is around 16 Megs, even when this inevitably doubles in the next year or two, the logic remains that this is still good enough.

      But you are entirely right -- if drives didn't employ caching and multiple independent read write heads (i.e., early multiple platter systems required that the read/write heads all be driven by the same motor and thus killing any attainable speeds).

      Blah blah blah...its all pseudoscience and phrenology to me. I'm just mouthing everything that was sent to me without understanding a word of it. I'm a musician (and technically a pseudoscientist by trade) so making up words and using them incorrectly by mirroring others comes naturally and might even make sense to those that don't know any better :-)

    10. Re:Comparison of Filesystems. by mattwarden · · Score: 2, Funny

      I mean who's really going to need a 16,000,000 Gigabyte file

      Actually, I keep an archive of all Slashdot dupes...

    11. Re:Comparison of Filesystems. by Kjella · · Score: 3, Informative

      Look up any decent hard disk review site and compare sequential read vs random reads, and you'll see that it suffers quite badly. As for the operating system handling that, I don't know about OS X but Windows certainly doesn't. The "never fill it past 60 or 70%" is simply because than the OS can pick large open chunks, avoiding fragmentation but it does nothing to fix fragmentation. Once your drive has been close to 100%, the last files will be in a zillion fragments all over the disk. They will sit around like little road bumps making sure all other files will be fragmented too.

      That said, most desktop users will not notice a big difference between a fragmented, quick-defragment (defrag files, but don't consolidate free space) and full defragmented disk. A typical modern HDD has a 35-40MB/s minimum transfer rate. DV, probably the most resource intensive any normal person bothers with has a measly 25Mb/s = 3,2MB/s. Unless you're suffering from really horrible fragmentation, that should be no problem. Same goes for analog capture with hardware/on-the-fly compression. Yes, there are fringe areas like raw analog video or scientific data but audio capture isn't part of it anymore. And if you're that specific, using a separate tool isn't that big a deal. Servers OTOH might be something, but I imagine most of that is handled by other parts than the OS disk I/O.

      --
      Live today, because you never know what tomorrow brings
  2. Re:HFS+ vs. UFS vs. ZFS by minus_273 · · Score: 3, Informative

    ufs does not work with all software especially stupid applications made by microsoft

    --
    The war with islam is a war on the beast
    The war on terror is a war for peace
  3. Slashdot is Getting Better Again by LakeSolon · · Score: 4, Interesting

    A story that consists of a link to wikipedia and a mailing list posting about an OS possibly (maybe, potentially) switching filesystems.

    Beats the heck out of story about a blog posting that's just a regurgitation of an MSNBC article that doesn't know what the frack it's talking about.

  4. This is meaningless by squiggleslash · · Score: 5, Insightful
    Here's a listing of the file systems currently supported on OS X Panther (it may be more for Tiger, I don't know):
    $ ls -l /System/Library/Filesystems/
    total 0
    drwxr-xr-x 8 root wheel 272 14 Mar 12:46 AppleShare
    drwxr-xr-x 7 root wheel 238 12 Apr 2005 URLMount
    drwxr-xr-x 6 root wheel 204 14 Mar 12:47 cd9660.fs
    drwxr-xr-x 3 root wheel 102 22 Dec 2004 cddafs.fs
    drwxr-xr-x 4 root wheel 136 14 Mar 12:48 ftp.fs
    drwxr-xr-x 5 root wheel 170 14 Mar 12:47 hfs.fs
    drwxr-xr-x 4 root wheel 136 14 Mar 12:47 msdos.fs
    drwxr-xr-x 4 root wheel 136 14 Mar 12:47 ntfs.fs
    drwxr-xr-x 4 root wheel 136 14 Mar 12:47 udf.fs
    drwxr-xr-x 4 root wheel 136 14 Mar 12:46 ufs.fs
    $
    HFS and UFS are the official choices of file system for installing your bootable OS X or Darwin system. The rest are either network based file systems or are specific choices for interoperability with other operating systems.

    There are many reasons why Apple might be looking at ZFS. Only one is that Apple intends to actually make Mac OS X use it as a home filesystem.

    Now, here's a reason the write-up author didn't think of: Apple is rumoured to be working on a virtualization layer for OS X, with the intent being that OS X will run in parallel with multiple operating systems. Even if that rumour is false, it's clear that with BootCamp, Apple is taking the idea of Macs running multiple operating systems (albeit not at the same time...) seriously. Solaris and GNU/Linux are the two most popular Intel platforms save for Mac OS X and Windows.

    Isn't it more likely that Apple wants Mac OS X its multi-OS Macs to "just work" with the other operating systems, able to achieve a high degree of interoperability without forcing the other platforms to support HFS+?

    I'm not saying a move to ZFS would be a bad thing, though it doesn't, so far as I can see, support arbitrary metadata so it'd be as practical as UFS in its current form, which is barely used by Mac users. I just think a port of the main Solaris file systems is, in practice, something Apple would be doing anyway, as part of the Intel OS-agnostic direction they're going in.

    --
    You are not alone. This is not normal. None of this is normal.
    1. Re:This is meaningless by Anonymous Coward · · Score: 5, Informative

      ZFS actually is a ver good file system.

      Here is the ars technica low-down on what ZFS does differently and why that's such a good thing.

      arstechnica.com/news.ars/post/20051117-5595.html

  5. What Apple Is Looking For by rpk · · Score: 5, Interesting

    There are probably two things that Apple would be looking for in ZFS: a shiny feature they can point to for their enterprise and video production markets, and for the consumer market, the promise of a simple, reliable way to back up and grow the storage of a Mac without have to worry about mounting/copying/moving volumes, managing backups, etc.

  6. Re:Great if it's true by Fweeky · · Score: 2, Insightful
    "But why just ZFS? Why not add JFS or XFS as well? Hell, why not add in ext3 while they're at it?"

    Supporting lots of filesystems is hard. Mistakes are difficult to track down and harshly punished, licenses and API's generally aren't amenable to straight ports, and it's a lot of work for what's typically a fairly small ROI. Also, porting one filesystem doesn't generally make porting another significantly easier. You might as well ask:

    "But why just a skyscraper? Why not add a warehouse or a subterranean bunker as well? Why not add in a bridge while you're at it?"

    Might be nice to have them all, and they certainly share certain requirements, but trying to build them all at once isn't necessarily a good idea when all most people want is a nice place to keep things.
  7. Re:one word by rpk · · Score: 2, Interesting

    Yeah, it's pretty clear that for heavy-duty use, HFS+ is not really the way to go. With ZFS, Apple can build on what Sun has done, while at the same time they don't have to touch HFS+ at all, or fix all the it-doesn't-quite-work-like-HFS+ issues that UFS has. It makes a lot more sense for them to get ZFS to "just work" than to put that work into the existing UFS implementation.

  8. Re:HFS+ vs. UFS vs. ZFS by rsmith-mac · · Score: 4, Informative
    From the AirPort page:
    This issue is resolved in Mac OS X 10.1 and later.

    It's the same deal with the problem with Classic. All 3 items you link to are for OSX 10.0 and have been fixed since then. The number of UFS problems now is minute compared to then.

  9. Re:BSD leads, Apple follows once again by Anonymous Coward · · Score: 2, Insightful

    Obligatory: Why are you waiting on your ass for a feature in an OS for which you have all the code? Drive the development of ZFS on Linux yourself. Ask for help when you get lost, but don't just sit around wasting oxygen.

  10. Intel Macs good oppurtunity to make a clean break by saha · · Score: 2, Informative
    I very much wish for an updated filesystem for Mac OSX. I know that HFS plus (with journaling and meta-data searching where added later), I feel HFS + is showing signs of age. I was hoping when Apple first developed Mac OSX it had used the UFS system and then made a separate HFS+ partition for people who wanted to use a Mac OS9 on the PowerPC based Macs, but that didn't happen. Perhaps for the best at the time. Wilfredo Sánchez Vega wrote a whitepaper on the reasoning for HFS + at the time

    So now with the Intel Macs and no need for Mac OS 9 support, Apple can tell all their developers that all Universal apps must be able to run on UFS. That way should Apple decide to adopt ZFS it should be a painless transition. Holding on to HFS + with the Intel Macs for this long will hamper any transition into a future filesystem. This will prepare Adobe and Microsoft to write their new Universal versions to be able to accept any type of filesystem and not rely on the resource fork of HFS

    That's my 2 cents.

  11. Why stop at ZFS? by dnessl · · Score: 2, Insightful

    I read that Darwin has trouble scaling thread concurrency. Maybe Apple should just switch to Solaris, either licensed or OpenSolaris, and get ZFS with it. (Of course they would still run the MacOS personality and GUI environment on top of it.)

  12. that's nice. now fix network file systems. by dschuetz · · Score: 5, Insightful

    I just wish we could come up with a network file system that's worth the trouble. Right now, I'm using a Linux server with three Macs (two Tiger, one Panther), and everything is over NFS. Most of the time, it works fine, but if there's a weird hiccup, then the Mac will freeze solid and has to be hard power-cycled. Also, some apps simply won't run from a network share (or they'll run, but one thing or another won't be right). Install that app to a local drive, and it works fine. And this isn't even to mention security issues.

    I've looked at AFP, but that essentially mounts the remote system as if it were an external drive, and assigns everything to the logged in user, so ownership, permissions, etc., are all really screwy. Plus that gets even worse if you use fast user switching -- now two people are independently trying to mount the same network drive, each claiming to own it outright. And it doesn't look as seamless as, say, simply going to /Server/Shared or /Server/Apps.

    SMB isn't much better.

    There's always AFS, but that's so bloody complicated that I'd take a lot of convincing before I seriously considered it.

    This isn't even to mention the problems that most apps have in working in a networked environment -- applications simply aren't designed for, say, networked home directories, and *especially* aren't designed to be running simultaneously on multiple systems. So if I've got Mail.app running in the den and I log in upstairs to check mail just before I go to bed, things could get messed up.

    I'm not sure there's even been a new network file system since the mid 90's, has there? Certainly, nothing with broad support that fixes some of these issues? All I want is UNIX filesystem features -- simple locking (I guess), owners, regular permissions. Doesn't even need to do ACLs. Transparently mounted so it looks like it's part of the local filesystem. And at least reasonably tolerant of network glitches, so a momentary drop at the server (or whatever else happens to screw NFS connections to the wall) doesn't put all apps which have even heard of the mount point into an uninterruptible kernel-level deep-freeze (what's the point of kill -9, dammit?). Is that so difficult?

  13. Most excellent! by csoto · · Score: 2, Insightful

    ZFS is one of the more interesting filesystem developments of late. While the address space is nice, it's the data replication features included that make this a potential candidate to threaten the proprietary (and expensive) DR features of modern SAN and NAS storage systems. Need a synchronous or asynchronous mirror? No problem. Just issue a ZFS command on your OSX/Solaris/Linux server...

    --
    There exists no way of exchanging information without making judgments. --Bene Gesserit Axiom
  14. Re:Intel Macs good oppurtunity to make a clean bre by littlerubberfeet · · Score: 2, Insightful

    Speaking of resource forks, I miss ResEdit. It was an awsome little program, and it did awsome things...

    --
    Sig (appended to the end of comments you post, 120 chars)
  15. HFS is big endian by KonoWatakushi · · Score: 4, Insightful
    One of the reasons proposed over at Arstechnica has to do with byte ordering. Currently on intel macs, all disk IO has to be byte swapped, degrading performance. ZFS on the other hand will store data in the machines native format.

    Even so, all of the other features of ZFS are worth much more than this. If Apple is anything more than a consumer widget company now, ZFS should definitely be under consideration.

    ZFS is far from "just another filesystem," and comparing it to existing filesystems indicates a lack of understanding. Take a look at this presentation for more information.

    1. Re:HFS is big endian by BurntNickel · · Score: 4, Informative

      Currently on intel macs, all disk IO has to be byte swapped, degrading performance. ZFS on the other hand will store data in the machines native format.

      While the non-native byte ordering does slow performance this only applies to metadata and not the contents of the files.

      --
      And the knowledge that they fear is a weapon to be used against them...
  16. rewriting the Finder by Aram+Fingal · · Score: 3, Informative

    I know this is just a little comment at the end of the story and not the main topic but the Finder really does need to be rewritten. It has a surprising lack of multithreading, even compared to Mac OS 9. This is most apparent (and most annoying) when you are navigating a slow network volume in the Finder. Quite often, you just can't do anything with but wait for the network to time out.

  17. Re:Great if it's true by moof1138 · · Score: 2, Insightful

    Unlike Open Source projects Apple has to do a lot of regression testing and QA, and already isn't perfect there. I imagine they take a lot of time already. Imagine having to run all those tests on five or so filesystems not only for all the OS bits, but for all their other software projects.

    Also imagine Disk Utility having a popup to format a Disk that made users choose between:

    EXT3
    FAT
    HFS+
    HFS+ (case sensitive)
    JFS
    UFS
    XFS
    ZFS

    Then try to explain to Grandma which is the correct one for them to choose in a litle help blurb.

    Sometimes Apple has to make choices as to which is the best approach which limit things that might annoy power users, but make things simpler for everyone else. If Apple took the Linux approach, OS X would run on every piece of hardware out there, would have three or four window managers, five filesystems, fourty text editors, and would be hated by typical users for the brief time Apple was around before they went out of business.

    --

    Hyperbole is the worst thing ever.
  18. Apple should just buy SUN by adam1101 · · Score: 5, Interesting

    The more I think about it, the more it makes sense for Apple to buy SUN. Their products nicely complement each other. Apple is strong in the consumer market and in the creative sector, SUN has good presence in the enterprise, tech and finance sectors. Apple has great brand value and knows marketing like no other computer vendor, SUN has technical excellence, but it's been struggling in the last years to actually sell their stuff. Their products portfolios have little overlap, and together they offer a very complete spectrum of computer products.

    Mac OS X is a great consumer OS, but performance at the high end is sub-par. For servers, Solaris is fast and scalable, has nifty features like ZFS and DTrace, but the UI is pretty crude. Imagine a merger of these. Looking at their market caps, Apple can afford it.

    1. Re:Apple should just buy SUN by mhollis · · Score: 5, Interesting

      I like your comment. And the reason why I like it so much has to do with my (past) experience on a University system. Universities developed servers and file sharing with Macs using Sun's servers because Apple really didn't have a server. I mean you could put a Mac (usually an older one) on a network and tell it to share files with everyone but it lacked lots of stuff you would expect to have in a server and it tended to be pretty slow.

      I would argue that it was the University exposure that lead Apple to offer Ethernet on Macs. Appletalk was great and people hooked themselves up very quickly with Appletalk (you could buy cabling at your local Radio Shack or use almost any twisted-pair cabling, including electrical cables) but Ethernet was a lot faster and more reliable. I'll bet the folks who developed 10 Base-T Ethernet were thinking Appletalk when they came up with the design for the connector and the twisted pair.

      But I digress...

      I did a fair amount of work with a hard Science department and they all had Suns as servers. They were strictly Sun Unix for the geeks and they developed systems and applications on that model. But for those who actually had to function in an office environment, the Macs were standard. They used Microsoft's Office for memos, reports and spreadsheets and TeX for document publishing. Everything you did worked.

      Frankly, I think this legacy is part of the reason why Apple got fascinated with Unix again (that, and Jobs' NeXt company). It would be a good marriage. Apple's X-Serve RAIDs with Sun. Sweet!

      --
      Gods don't kill people, people with gods kill people.
  19. Re:Think you'll get it? by lokedhs · · Score: 2, Interesting
    I think it's a quantum leap. Not because of the snapshotting or error checking, but the thing that really makes ZFS a completely different beast is that it is (to my knowledge) the first file system (or should I say "storage technology"?) that actually joins two traditionally separate concepts: file systems and volume management.

    Thanks to this, a lot of interesting stuff becomes possible, such as the fast file system creation which is demonstrated in this very cool demo.

    If you don't consider ZFS a quantum leap in file system technology, I wonder what it would take for you to use that expression (set aside for the moment the people who argue that "wuantum leap" should in fact mean the opposite :-) ).

  20. unfounded opinions by dottedlinedesign · · Score: 3, Funny

    But Dvorak said Apple was switching to Windows! How could this possibly be true?

  21. Re:Great if it's true by greed · · Score: 2, Interesting
    Also imagine Disk Utility having a popup to format a Disk that made users choose between:

    Don't confuse possibilities with defaults. There's two mechanisms already established for giving advanced users more choices: Option-click a control or menu item to get more choices. Or a show-advanced-options preference without a GUI interface that you can turn on with the "defaults write" command.

    Plus the whole "Advanced Options" kind of button....

  22. Re:Tiger Filesystems (10.4.6) by aibrahim · · Score: 2, Funny

    Ugh... I tried reposting listing anonymously for a higher rating, but I forgot that posting as AC removes karma and logged in bonus... so here I go being TREBLY redundant.

    For the record, if I had mod points I would have modded GP up as "Informative"

    Last login: Thu Apr 20 18:20:18 on ttyp1
    Welcome to Darwin!
    [athena:~] aibrahim% ls -l /System/Library/Filesystems/
    total 8
    drwxr-xr-x 9 root wheel 306 Apr 4 11:14 AppleShare
    drwxr-xr-x 7 root wheel 238 Apr 2 2005 URLMount
    lrwxr-xr-x 1 root wheel 49 Nov 4 02:45 afpfs.fs -> /System/Library/Filesystems/AppleShare/afpfs.kext
    drwxr-xr-x 6 root wheel 204 Feb 24 22:08 cd9660.fs
    drwxr-xr-x 3 root wheel 102 Mar 26 2005 cddafs.fs
    drwxr-xr-x 4 root wheel 136 Nov 4 02:45 ftp.fs
    drwxr-xr-x 5 root wheel 170 Nov 4 02:45 hfs.fs
    drwxr-xr-x 4 root wheel 136 Mar 26 2005 msdos.fs
    drwxr-xr-x 3 root wheel 102 Mar 20 2005 nfs.fs
    drwxr-xr-x 6 root wheel 204 Sep 4 2005 ntfs.fs
    drwxr-xr-x 3 root wheel 102 Mar 26 2005 smbfs.fs
    drwxr-xr-x 6 root wheel 204 Apr 29 21:33 udf.fs
    drwxr-xr-x 4 root wheel 136 Mar 20 2005 ufs.fs
    drwxr-xr-x 4 root wheel 136 Mar 26 2005 webdav.fs

    --

    Don't post innacurate information
    If you do, I swear by my pretty floral bonnet I will end you.
  23. Re:Think you'll get it? by vought · · Score: 2, Insightful

    I've made a few "what about UFS?" comments in this story, but I hope I don't come across as some weird filesystem fanboy. It's just that I can't figure out why this announcement is so exciting. ZFS is cool, sure, but I see it as an incremental improvement to widely used Unix filesystems rather than a quantum leap.

    I think part of what makes this story so interesting is that despite the past few years' developments, most of us still expect Apple to act as it used to with regard to adopting new technology. In other words, we expect Apple to adhere to the 1980s and 1990s playbook of "NIH" - in other words, if Apple didn't come up with it, it's crap.

    I think Steve Jobs changed all that, but I think there are lots of us who still find it interesting when Apple drops some in-house technology (Intel chipset over Apple's ASICs, Mach over NuKernel, KHTML over ????, etc.) for free software or technology for equal or better alternatives. We spent years wishing they'd do it, and now they are.

    If the rumor is true, someone somewhere got ZFS working already, made a cool demo of a feature, showed it someone who showed it to Jobs, and now it's a real, honest-to-God feature.

  24. Re:Reiser4 would be a better choice by alonso · · Score: 2, Informative

    I think that you have to inform better, Raiser has journaling. From namesys site: "Reiser4 is an atomic filesystem, which means that your filesystem operations either entirely occur, or they entirely don't, and they don't corrupt due to half occuring. We do this without significant performance losses, because we invented algorithms to do it without copying the data twice"

  25. Re:HFS+ vs. UFS vs. ZFS by Azarael · · Score: 2, Informative

    It helps to have knowledgeable moderators, but posts still have to be moderated to be useful for a general audience. In this case, the post in question doesn't tell you much if you don't happen to be very familiar with different file systems for OSX and the compatibility of OSX software with those file systems.

    Is the grandparent post flamebait? maybe not. Without minus_273's though, its probably not useful enought to be modded up either. Whether the moderation system is right or wrong, isn't the point here, but the as the guidlines say http://slashdot.org/moderation.shtml/ in the FAQ, question 5:

    What is a Good Comment? A Bad Comment?
    * Good Comments are insightful. You read them and are better off having read them. They add new information to a discussion. They are clear, hopefully well written, or maybe amusing. These are the gems we're looking for, and they deserve to be promoted.
    * Average Comments might be slightly offtopic, but still might be worth reading. They might be redundant. They might be a 'Me Too' article. They might say something painfully obvious. They don't detract from the discussion, but they don't necessarily significantly add to it. They are the comments that require the most attention from the moderators, and they also represent the bulk of the comments. (Score: 0-1)
    * Bad Comments are flamebait. Bad comments have nothing to do with the article they are attached to. They call someone names. They ridicule someone for having a different opinion without backing it up with anything more tangible than strong words. Bad comments are repeats of something said 15 times already making it quite apparent that the writer didn't read the previous comments. They use foul language. They are hard to read or just don't make any sense. They detract from the article they are attached to.

    By the above def, the grandparent is no more than an average comment that maybe leans a bit towards flamebait and probably shouldn't have been modded up or down.

  26. Re:DeRez, RezWack, SplitForks, etc. by JambisJubilee · · Score: 2, Informative

    There's a bunch of resource fork utilities in /Developer/Tools/. Just add it to your $PATH

  27. Re:What ever happened to BeFS? by drewness · · Score: 2, Informative

    Yes, Dominic Giampaolo works at Apple and is in charge of filesystems there.

  28. Re:Think you'll get it? by TheRaven64 · · Score: 3, Interesting
    but the thing that really makes ZFS a completely different beast is that it is (to my knowledge) the first file system (or should I say "storage technology"?) that actually joins two traditionally separate concepts: file systems and volume management.

    I can tell you grew up in the UNIX world. Everything I read about ZFS reminds me very much of VMS. Twenty years ago. If you read the UNIX Hater Handbook (published 12 years ago), then you will find a very nice rant about how the UNIX concept of partitions is a huge step back from what VMS offered. Now, over a decade later, it seems someone has listened.

    --
    I am TheRaven on Soylent News
  29. Re:Think you'll get it? by booch · · Score: 4, Informative

    I agree that there was a lot in VMS that the world has "lost". I think that modern UNIX implementations should look at what VMS had, to reuse some of the good ideas that we still have not replicated. My favorite is the security system -- various small capabilities that each user (or program) could be granted. And the super-user only had one capability by default: the ability to grant privileges. I also appreciated the automated versioning, with the ability to pull up a previous version from the filesystem without having to use any special programs.

    And yes, I know that Windows NT is sort of descended from VMS. But I've not seen many of the concepts make it up to userland cleanly implemented.

    And I'm also aware that VMS is still around. It may not be on life-support yet, but it's clearly in the nursing home already.

    --
    Software sucks. Open Source sucks less.
  30. Re:Think you'll get it? by Just+Some+Guy · · Score: 3, Funny
    Sorry BSD folks, maybe if you whined lounder, we might finally recognize your collective brilliance.

    I guess it worked.

    --
    Dewey, what part of this looks like authorities should be involved?
  31. Re:Reiser4 would be a better choice by be-fan · · Score: 3, Informative

    Reiser4 is transaction-oriented, just like ZFS. The two actually use a similar principle (not journaling) to maintain consistency, based on COW'ing blocks in a tree, then committing the change atomically by swapping the pointer to the root of the tree in the parent node. Reiser4, however, instead of using the traditional block tree ZFS does, uses "dancing trees", which is kind of a B*-tree with ideas from log-structured filesystems mixed in.

    --
    A deep unwavering belief is a sure sign you're missing something...
  32. beyond RAID in data integrity, self-healing by toby · · Score: 2, Informative

    Apart from those pluses mentioned by lokedhs (snapshotting is no trivial feature to have, if you're running databases, for example, or want admin abilities like rollback) - What ZFS offers that no other Linux filesystem offers, let alone HFS+, is end-to-end data integrity and self-healing. That's why I picked Solaris 10 for a high-integrity database app recently. Nobody else could offer the integrity guarantees (apart from some SAN vendors perhaps).

    --
    you had me at #!
  33. Re:dunno bout m$... by Minstrel+Boy · · Score: 2, Insightful

    "People just don't think that way until they've been conditioned to do so by Unix."

    Demonstrably not true. I've thought that way since I learned to read. In fact, I was confused the first time I dealt with an MS-DOS machine (before I ever heard of Unix), because the instructions showed commands in upper case and I thought I had to type them that way. Everything I do is based on identifying and classifying differences - "F" and "f" are patently not the same thing to me.

    People, at least people familiar with written romance languages, use capitalization explicitly throughout their lives. You can argue that they don't think that way until they've been conditioned by literacy, but don't drag Unix into it.

    KeS

  34. ZFS on a {Power|Mac}Book{| Pro} by Gekke+Eekhoorn · · Score: 3, Insightful
    The rest of the stuff, pooling and mirroring and stuff is less interesting in my laptop. :-)

    Quite to the contrary! The most unreliable element in your laptop is your drive. It will fail at some point, have no doubts about it. ZFS will detect silent failures through its checksumming.

    ZFS also makes it possible to do super-fast backups to external disk. Combine that with snapshots and you have the kind of data security enterprises pay a whole lot of money for. Here's how it works:

    1. Find an external disk that is at least as big as your laptop drive. For example, a 6th Gen iPod ;-) (You could also protect only part of your disk, by partitioning it)
    2. Now create a mirrored ZFS pool containing your laptop drive and your iPod. This pool is where your ZFS filesystems get their storage space.
    3. Now, every time you want to do a backup, simply connect the iPod. ZFS will see the re-attached mirror, and synchronize all changed blocks.
    4. If your laptop disk breaks, simply mount up your backup disk, and you will have all of your data AND all of your snapshots.

    See? It can be that simple. And there's more:

    • ZFS is always consistent on-disk, unlike any other filesystem. So you can unplug that iPod at any time, no harm done.
    • ZFS keeps checksums of everything, and is both the filesystem and the volume layer. This means that as soon as the data leaves the application, it is safe from undetected changes. No more bitrot.
    • You can have as many ZFS filesystems as you like, and each has independent snapshots. You could keep a snapshot of your $HOME/Documents/Important folder for every minute, if you make it into its own filesystem, and just make a snapshot of your root filesystem just before you upgrade your OS/install updates.
    • Compression can be enabled per-filesystem, which is great for laptops. Compression means higher read bandwidth and more diskspace.
    • Encryption is being worked on and will be per-filesystem. Apple's Filevault encryption is ok, but could do with a lot more stability.

    So what if ZFS does things that VMS did. No-one else has made anything quite like the summit of cool stuff that ZFS is. Apple makes a living bringing cool stuff together and making it cooler. It's a natural match :)

    ZFS would yet again boost OS X's position as ultimate laptop OS. Here's hoping that Apple does implement it.