Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Apple Looking at ZFS For Mac OS X 261

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 ..."
This discussion has been archived. No new comments can be posted.

Apple Looking at ZFS For Mac OS X

Comments Filter:
  • Comment removed (Score:5, Insightful)

    by account_deleted ( 4530225 ) on Monday May 01, 2006 @09:18AM (#15236306)
    Comment removed based on user account deletion
  • by Fweeky ( 41046 ) on Monday May 01, 2006 @09:44AM (#15236450) Homepage
    "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.
  • by Anonymous Coward on Monday May 01, 2006 @10:00AM (#15236568)
    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.
  • Why stop at ZFS? (Score:2, Insightful)

    by dnessl ( 469763 ) on Monday May 01, 2006 @10:12AM (#15236655) Homepage
    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.)
  • by dschuetz ( 10924 ) <david&dasnet,org> on Monday May 01, 2006 @10:15AM (#15236680)
    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?
  • Most excellent! (Score:3, Insightful)

    by csoto ( 220540 ) on Monday May 01, 2006 @10:25AM (#15236755)
    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...
  • by littlerubberfeet ( 453565 ) on Monday May 01, 2006 @10:30AM (#15236795)
    Speaking of resource forks, I miss ResEdit. It was an awsome little program, and it did awsome things...
  • HFS is big endian (Score:4, Insightful)

    by KonoWatakushi ( 910213 ) on Monday May 01, 2006 @10:35AM (#15236822)
    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 [opensolaris.org] for more information.

  • by moof1138 ( 215921 ) on Monday May 01, 2006 @11:05AM (#15237064)
    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.
  • by vought ( 160908 ) on Monday May 01, 2006 @12:07PM (#15237603)
    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.
  • by dfghjk ( 711126 ) on Monday May 01, 2006 @04:01PM (#15239896)
    Drives don't have independent read/write heads. They have a single actuator that can process only one I/O at a time. You can queue commands into them and get optimizations that way, but heads can't be used independently.

    It's discomforting to know that engineers recommend that you not use 1/3 of your storage so that the OS doesn't have to work so hard. That employee needs to be fired.

    I would tend to agree with the BS theory.
  • by Minstrel Boy ( 787690 ) <kevin_stevens@hotmail.com> on Monday May 01, 2006 @07:21PM (#15241432)
    "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
  • by Gekke Eekhoorn ( 27027 ) on Tuesday May 02, 2006 @04:46AM (#15243771)
    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.

All seems condemned in the long run to approximate a state akin to Gaussian noise. -- James Martin

Working...