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 ..."
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.
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. :-)
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.
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.
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.
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.
"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'
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.
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.
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...
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 :-) ).
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....
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