ZFS Confirmed In Mac OS X Server Snow Leopard
number655321 writes "Apple has confirmed the inclusion of ZFS in the forthcoming OS X Server Snow Leopard. From Apple's site: 'For business-critical server deployments, Snow Leopard Server adds read and write support for the high-performance, 128-bit ZFS file system, which includes advanced features such as storage pooling, data redundancy, automatic error correction, dynamic volume expansion, and snapshots.' CTO of Storage Technologies at Sun Microsystems, Jeff Bonwick, is hosting a discussion on his blog. What does this mean for the 'client' version of OS X Snow Leopard?"
Nothing, in particular. It means that ZFS isn't going to be officially supported and/or promoted on client. But, since Mac OS X and Mac OS X Server are essentially the same OS with some different/additional pieces on the top of Server, and like other filesystems that were exposed via the GUI tools and supported on Mac OS X Server, but not on Mac OS X, in the past -- such as Mac OS Extended (Journaled, Case-Sensitve) -- it will likely be available via the command line tools, and usable by people savvy enough to work with other boot devices to format the volume in the desired fashion, etc.
We can finaly fill up more than 8 TB on this FS. Anyone up to try?(with what?)
-- (this is a sig) My Computer Programming Forumhttp://www.programers.co.nr/
It should be noted at the bottom of the page.
I was under the impression that they had initially hoped to include such in Leopard.
However, it isn't just Apple, Microsoft has been working on various structured file systems (WinFS through OFS and Storage+) for nearly 20 years with no shipped products
Tibbon
tibbon.com
Ok, I'm reasonably technical, but not savvy with the intimate workings of a file system. What will this mean for the average user with an iMac or MacbookPro, when ZFS finally appears as the default FS of OS X? Will it be faster, more error-resistant, or...?
The Mothership
I've lurked a bit in the opensolaris forums, and there's a whole bunch of scary things with this FS. Like the RAM requirements for starters.
The ability to hibernate your Mac with 16TB of RAM :)
Ask Apple:
http://www.apple.com/macosx/snowleopard/
No but seriously, whats the deal with this being available for common distros? I understand its a sun developed thing, available for Solaris, but will it be available on Debian(Ubuntu) soon? Also if I add a new external HDD to my 'z-pool' and then lose it, do I lose data from my internal hdd as well as the external?
One feature of ZFS is copy-on-write file snapshots, which allow you to "copy" a file, but the common portions of the file will be shared between the two copies, decreasing disk space.
This is great for backing up large files containing frequent but small changes. For example encrypted disk-images, parallels windows disk images, database files, the Entourage email box, or home videos you are in the process of editing etc.
Right now Time Machine creates an entire copy of the file each time it changes, making it unsuitable for backing up these types of files, and so you are encourage to exclude those files from backup. ZFS could fix that.
It could also make adding disk space more seamless, if desired. Slap on an external Firewire drive or even airport, click the "Add to storage pool button", and suddenly it just acts like part of your system drive. You don't have to worry about what is stored where.
Imagine a future version of the Time Machine which has multiple drives. One drive bites the big one. No worries! You just go to Fried or Office Despot or wherever and get a replacement. You plug the little sucker in and BAM! The drive gets "re-silvered" and your data is safe. If two of the drives go TU, same thing. Anyone know how many drives can fail at once in a RAID-Z2 before you are 100% SOL?
Knowledge is power. Knowledge shared is power multiplied.
WinFS is almost ready... Its going to be here any day now. I heard its the base storage layer for Duke Nukem Forever!
What are we going to do tonight Brain?
I don't know a whole heck of a lot of the technical details on ZFS. What I have read and understood, it sounds like what ZFS offers is something that every OS should include in its file system. Since, as I understand the BSDs and many Linux distros are starting to include (albeit limited/beta/alpha) ZFS support, and the long-rumored OS X inclusion being confirmed, could this be a universal file system for Operating systems? I would definitely like to see ZFS as a bootable Windows file system.
Say I have a portable USB hard drive or a dead motherboard in one system and want to retrieve the data off a hard drive. One computer has Windows and the other is Nix or OSX. Generally, the file system one could use that *should* work between Windows, Mac and 'Nix was Fat32. There are some issues with FAT32, the least of which is lack of support for large hard drives. The only other ways I can think of transferring the data are via Network or using a OS hook to read the data.
I just switched from Apple to Windows. I've been using an app to read my HFS+ file system on Windows to get data off the hard drive. It works well, but its not build-in. Nor is read/write NTFS access in other OSes. In any case, getting the data has been a bit of a pain. A standard file system I can just plug in a drive no problem would be awesome.
It's interesting to note that the ZFS monitors don't seem to recover until the gentleman unplugs the failed drive. Is this a bug with ZFS, and has it been fixed?
RAID-6 & RAID-DP can also survive a dual-drive sledgehammer failure. The Linux MD Driver supports RAID-6.
How does Sun's RAID-Z2 distinguish itself from these existing implementations?
"Can of worms? The can is open... the worms are everywhere."
Where is Mrs. Z?
---- "If we have to go on with these damned quantum jumps, then I'm sorry that I ever got involved" - Erwin Schrodinger
If Apple really wants to start calling OS X a "modern" operating system, they are going to have to start supporting pluggable filesystems. SOON! Limiting to one or two (and, other than ZFS, not a particularly good-performing or attractive one or two), is extremely limiting. In fact, it is asinine.
Does it even matter ? With solid state storage poised to take off we don't need half of the fancy stuff to overcome hard disk limitations.
To "anonymous coward", a quote from your own link:
...it supports the FUSE specification well enough that many popular FUSE file systems can be easily compiled and made to work on Mac OS X..."
"
Excuse me, but that is NOT even remotely a "native pluggable filesystem"! That is an add-on from a third party (parties) that "can be compiled and made to work with OS X".
There is a pretty BIG difference, dude.
There are some edge cases in ZFS, but compared with HFS+ - well, "Invalid leaf node".
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
will it be available on Debian(Ubuntu) soon?
:)
Not until OpenSolaris and Linux are both GPLv3.
ZFS is patented and patent protection is only conferred through use of CDDL'ed code, which isn't compatible with GPLv2. A cleanroom implementation of ZFS, besides being redundant, has no license to use ZFS's patented technology. Whether Sun would sue a linux dev over this is a separate issue.
BSD implemented a Solaris compatibility layer to use the CDDL code directly, but their license isn't incompatible.
Jeff and Linus have visited lately - I think Jeff was just helping him hook up a new gas grill, but maybe something work-related was discussed.
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
One of the major points of the ZFS checksums is that the checksum for block X is stored in the block that points to X. In addition to ensuring that X is written properly is also ensures that writes actually go to the correct blocks.
HAND.
Then you must be using the term "pluggable filesystem" differently than most other people. OS X has kernel support for loading dynamic modules (plugins) containing filesystem logic at runtime, and Apple provides the necessary documentation for developers to implement them. There are modules available for download from both Apple and third parties to add support for various filesystems to the version of OS X you're running right now. Hence "supporting pluggable filesystems", in exactly the same way as most other modern OSes.
If not that, then what exactly do you mean?
Hey, *I* heard that they now think WinFS won't be ready in time and won't be good enough, so they're writing their own DNFS.
Good luck finding that out. I read this thread repeatedly and I can't for the life of me figure out what she's after.
Uh no:
http://zfs.macosforge.org/trac/wiki/faq
You can download it (also there may or may not be a R/W version on the Apple developer site) and pretty much everything even snapshots work.
Here are the known issues:
http://zfs.macosforge.org/trac/wiki/issues
The real big issue the last time I tried it is that Finder does not work too well with ZFS and you get gajillions of what look to be mounted discs.
Okay, then, would the phrase "out of the box" clarify matters for you?
Perhaps I could have made this clearer, but from the context I thought it was obvious that I was referring to native, out-of-the-box support for pluggable filesystems. NOT some kind of add-on you can get later and have to compile yourself, then tweak a bit before you can even get it to work (which is what all the examples here have stated they require).
The killer features for ZFS have nothing to do with "structured" filesystems; ZFS is essentially POSIX.
Everybody has their own favourites:
While snapshotting and COW are not entirely new, many of its features are not available elsewhere, though initiatives such as btrfs for Linux may eventually cover some of them.
Plenty more information out there on Sun's web sites (ZFS isn't Apple, nor vaporware, it's out there in production at thousands of sites and has been available in Solaris 10 and OpenSolaris for a few years.)
Also, a version of ZFS was actually included in Leopard, but without GUI access (AFAIK).
you had me at #!
Once your drive has been corrupted ZFS will kick in and prevent you from accessing any corrupt data.
If you have redundancy (such as mirror or RAIDZ), ZFS will also repair the data.
you had me at #!
What other filesystems do end to end checksumming and self healing, on any operating system today?
you had me at #!
As Apple has been (over)selling for years: Your Mac is your Digital Life.
Home users should be much more concerned about data durability and integrity than performance (not that performance would ever be bad).
A physical photo album will last a couple of centuries. Your hard disk may not last 2 years. And there's only 1 of them in any consumer Macs.
People are going to lose their digital snapshots, their unfinished novels, their emails and love letters, because nobody understands the inherent fragility of digital media and that hard disks are disposable consumables - even professionals.
you had me at #!
I just switched from Apple to Windows.
you had me at #!
Care to provide comparative benchmarks?
you had me at #!
MacFUSE provides installable binaries. Once installed, you can use any of the FUSE filesystems that their developers provide in binary form for OS X, such as sshfs or NTFS-3g.
If you install MacPorts, you can choose from their collection of FUSE filesystems, without dealing with MacFUSE etc yourself. This is similar to using package repositories on popular open source OSes.
Hell, even Apple's developer demo MFSLives ships with PPC binaries, although I haven't the foggiest idea what anyone would practically use it for.
All without compiling or tweaking anything.
The bottom line is that Apple does, in fact, provide native, out-of-the-box support for pluggable filesystems in OS X. Apple does not provide a wide variety of filesystems itself, but neither do most other OSes, and that's a separate issue from support for pluggable filesystems. After all, there's no need for pluggability if you ship all the filesystems yourself...
It's complex and fat. but it beats out a few other filesystems on I/O performance. But processor utilization goes up and memory usage goes up.
“Common sense is not so common.” — Voltaire
(If this question isn't relevant to ZFS, please just yell at me.)
/source, and I'm backing it up to a 1TB physical drive /media/backupa, keeping backups forever. The first copy is 500GB; great. Over some period of time, every byte of /source changes, so that I have another 500GB of deltas. Oops, /media/backupa is now full.
/media/backupb, and combine them into logical volume /media/logical-backup. Except that either (a) /media/backupb has to ALSO hold the first 1TB of data, which means it's full, or (b) any backup that depends on deltas stored on /media/backupb also must depend on /media/backupa, which contains the ancestor of those deltas.
/media/backupb a mirror of /media/backupa; now I have two copies. I then add a third 1TB drive, /media/backupc, and make it part of /media/logical-backup. Now I'm cool - assuming I don't lose both /media/backupa and /media/backupb at once. Except that, as we keep expanding /media-logical-backup, the number of failure combinations we can withstand keeps going down, as the number of cross-dependencies increases.
I've been using CrashPlan lately for backups, which, AFAICT, is effectively the same as a copy-on-write system; they store some type of "rolling delta" so that only changed data is rewritten to disk.
And that seems really cool. But one thing keeps nagging at me: Don't copy-on-write/delta based systems prevent you from safely growing a logical volume beyond the limits of a physical volume, short of massive duplication?
Let's say I had a 500GB physical drive rooted at
No problem; I can add another 1TB physical drive at
So maybe I just make
Am I missing something?
but you are. And no, I am not saying that Apple should include the filesystems themselves (though it would not bother me if they did).
First, if you have to INSTALL SOMETHING (even a small something) other than the filesystem itself, BEFORE other filesystems can be used, then by definition it is not "out of the box"! Whether you regard that as a small point or not, it is still a point, and it makes a difference to a lot of people.
Second, according to TFA, ZFS will be provided for the server product, not for plain off-the-shelf, out-of-the-box Mac OS X. And that was part of my point.
Third, MacPorts (like the other examples you gave) is yet another outside-party add-on; it is NOT an "out-of-the-box" feature of OS X!
And fourth, I have an excellent grasp of what "pluggable" means. That has no bearing whatever on whether it is supported out-of-the-box, versus a self-compiled add-on or the like!!!
Maybe this is where you have been misunderstanding: you have been saying that OS X has native support for pluggable filesystems. What I have been saying is "NO, it does not... until you install some add-on software". Sure, once you install one or more of those add-ons, then it does. But saying that is "native, out-of-the-box" support for pluggable filesystems is like saying that Windows has "native, out-of-the-box support for solving mathematical integrals". It simply doesn't. You can get "add-ons" -- additional software -- that does. Even for free. But that is NOT the same as "native, out-of-the-box support."
If that does not clear things up for you, then I doubt anything will. But I know that nobody where I work would have any trouble understanding this.
The world has been waiting for WinFS since Windows NT 4.0 was supposed to be replaced by an operating system from Microsoft with a new relational file system in NT 5.0.
WinFS is far too little and way too late.
Microsoft would be better off bundling production tested ZFS, rather than rolling their own non-production tested file system and releasing an untested system a decade too late.
First, if you have to INSTALL SOMETHING (even a small something) other than the filesystem itself, BEFORE other filesystems can be used, then by definition it is not "out of the box"!
Sorry, but you're the one who isn't understanding -- you don't have to do any such thing! Apple's own ZFS is an example of that. The developer samples they provide are examples of that. Inactive open source projects like ext2fsx are examples of that. The various commercial (e.g. Paragon NTFS) and in-house filesystem extensions in use in obscure places (e.g. VirtualPC, Parallels, Symantec's filters, etc) are examples of that.
It's just that not many non-commercial developers are providing filesystem modules for OS X. Filesystem development is some of the most demanding work there is. That's why FUSE is popular: the filesystems are implemented as userland applications, where the demands of the programming environment are much less intensive.
Everything that uses FUSE (Linux, NetBSD's PUFFS, MacFUSE for OS X, etc) takes the form of installing a framework module in the kernel, which in turn uses the FUSE interface for the userland filesystems. This has absolutely nothing to do with out-of-the-box support for anything; it's just an abstraction that's made it easy for people experimenting with filesystems across several OSes, thus more filesystems are available with it. If you don't want to use that abstraction, that's fine, but it has nothing to do with an operating system's support for pluggable filesystems (other than showing it exists in the first place).
Ignoring the first link I gave you, which details the level of support available in OS X according to Apple itself, and instead trying to play semantic games using a single sentence from the MacFUSE homepage in order to justify the incorrect position that OS X does not support pluggable filesystems is the height of arrogance.
Second, according to TFA, ZFS will be provided for the server product, not for plain off-the-shelf, out-of-the-box Mac OS X. And that was part of my point.
ZFS is provided by Apple for OS X Leopard right now; it's just not officially supported for production use because it's a work-in-progress and still contains bugs. It will continue to be available for Leopard, and will therefore also be available for the non-server version of Snow Leopard.
Apple may, of course, choose to not officially support it on the non-server version, much like they did for both the journaled and case-sensitive versions of HFS+ in the beginning. If that's the case, then it will likely be supported at some point after Snow Leopard.
But what exactly is your point over that? And what on earth does it have to do with pluggable filesystem support? It's just a question of what Apple chooses to provide itself, which you already said was not an issue.
Third, MacPorts (like the other examples you gave) is yet another outside-party add-on; it is NOT an "out-of-the-box" feature of OS X!
MacPorts is a package management system and repository for OS X. Of course it's an add-on, just like all the package management systems for every other OS out there. I mentioned it because it's a convenient method of obtaining software and may be familiar to you if you like other package managers. But what does that have to do with pluggable filesystem support?
And fourth, I have an excellent grasp of what "pluggable" means. That has no bearing whatever on whether it is supported out-of-the-box, versus a self-compiled add-on or the like!!!
I remind you of your assertion in your original post:
If Apple really wants to start calling OS X a "modern" operating system, they are going to have to start supporting pluggable filesystems.
You don't get to change the argument now. You're absolutely ri
You forgot the most important feature. You know, the one about boiling the oceans of the world...
Large print giveth, and the small print taketh away
First, the ARTICLE we were supposed to be talking about mentioned ZFS for their future server product. It was not mentioned that it would work as-is in already-distributed OS X. If it does, then great! But you (and some references I have seen) mention that it has bugs. So... it is not a supported product yet. That was part of my point. Because it is not yet supported, it is not yet an example.
However, I went back and looked at your first post to see what you meant. And indeed, there was a link there that I missed the first time. I did not "ignore" it, I simply did not see it the first time around. And yes, it does say that 10.4.x and later support VFS plugins. My bad on that one. But I did not see that ANYWHERE else, and the examples you were giving were NOT examples of that: they were examples of plugins that worked through a third party add-on. Thus that misunderstanding.
So OS X does support pluggable filesystems... but unless I missed something else too, I still have not seen any examples of a filesystem that works directly as a VFS plugin without using OTHER software or drivers as an intermediary. This is where we seem to be having trouble communicating. MacPorts, for example, is an easy to get add-on for OS X. But it is NOT a "feature" of out-of-the-box OS X. (Apologies for repeating "out-of-the-box" so many times but apparently you have been having trouble understanding that this is what I have been referring to all along, as I explained some time back.)
As far as I have been able to tell with brief looks, the filesystem examples I have seen all work through some other add-on that has to be installed first. (Aside from ZFS, which as mentioned does not count). And that was the point I have been trying to make. Show me a filesystem that is ready to go, right now, without having to compile anything, and without having to install any other software. THAT is what "out of the box" means! I don't care where the filesystem itself comes from, but in order to qualify it must not use third-party tools or software to install. Show me a nice little package that will install on OS X directly as a filesystem, and that is relatively free of bugs, and does not require compiling or any other software to run. I.e., it installs "out of the box" on "out of the box" OS X.
I brought up kernel extensions that are separate from the filesystems themselves for precisely this reason, which you seem to keep evading: THAT IS NOT "OUT OF THE BOX"! That is an add-on. It doesn't matter if it comes from Apple, or Google, or Paul Reiser. You have to go get it and ADD IT ON. I do not understand why you have had such trouble with this simple concept. You may not care whether you have to compile it first or not, but whether YOU find it easy is NOT the point! A lot of people do care, and won't go to the trouble.
You are a bit late quoting about "out-or-the-box" and saying that I "changed my argument". I did nothing of the sort. Some posts back I clarified it for you, by stating that I felt that the context made it quite clear that I was talking about "out of the box" functionality... because it seemed clear to me at the time that you did not understand what I meant. But I do not understand, now that I have explained that many times now, why you have kept sidestepping that issue.
And again, I do not recall even one example from this discussion that was, in fact, "out-of-the-box" OS X. All of the examples you gave, as best I can tell even now, used at least some kind of add-on intermediary software before they could be made to work on OS X (other than the filesystems themselves). There may be some FINISHED, working filesystems that you can obtain and plug straight in to an OS X machine without using some kind of other extension first, but I had not seen any examples of such, including yours.
ZFS and the developer examples, once again, are NOT examples of what I was talking about! They are works-in-progress, NOT finished, out-of-the-box features of (or plugins for) OS X!
When SMART starts whining about a drive, I order a replacement. But I don't replace until the drive fails.
They don't grade fathers, but if your daughter's a stripper, you fucked up. --Chris Rock
Is not a bad thing as long as it doesn't aggressively claim the memory. For example in Linux, the OS will try to use all available memory. Some of it will be by the kernel itself, a large part by applications, but a great deal of the rest as a memory cache of your filesystem (hard drive) accesses. However, if memory becomes tight, the OS will cache less of the filesystem to allow the applications more breathing room. This makes the hard drive work harder and, by result, makes your system less responsive.
The solution is not to get a filesystem that uses less memory. The solution is to get more RAM; it will probably increase your system performance more than a faster hard drive or CPU would.
- I don't need to go outside, my CRT tan'll do me just fine.
We swapped text messages once. ZFS isn't into shitting all over anyone. Just not a thing ZFS would even consider, frankly. Sure, maybe a little light bondage like everyone else. Safe word is "fsck".
and then, later...
Wow. Just wow. Do you really not understand the massive contradiction in the above words? That you have repeated multiple times within this thread? Your ignorance is only surpassed by your absolute subbornness.
Tell me, how exactly can a "pluggable filesystem" can have the following properties:
Do you see the contradiction yet? How does something not come with the OS, but at the same time exist "out of the box" and not be from a third party? Hello?? McFly?
Well, at least you got one thing right. Look, if you want to use a filesystem that doesn't come with the OS, you're going to have to install extra software or files: a third-party add-on, if you will. There is no way to avoid that. And what do you care how it interfaces with the kernel on a low level? As long as it works well, who friggin' cares at all?
Better stick to cooking and sewing, sweetie. Logic is clearly not your forte.