Monday, April 28, 2025

Revisiting ZFS for Mac

Hacker News is highlighting Adam Leventhal’s 2016 post (2016 comments) about Apple’s Leopard-era support for ZFS:

A few weeks before WWDC 2007 nerds like me started to lose their minds: Apple really was going to port ZFS to Mac OS X.

[…]

ZFS was to bring to Mac OS X data integrity, compression, checksums, redundancy, snapshots, etc, etc etc. But while energizing Mac/ZFS fans, Sun CEO, Jonathan Schwartz, had clumsily disrupted the momentum that ZFS had been gathering in Apple’s walled garden. Apple had been working on a port of ZFS to Mac OS X. They were planning on mentioning it at the upcoming WWDC. Jonathan, brought into the loop either out of courtesy or legal necessity, violated the cardinal rule of the Steve Jobs-era Apple. Only one person at Steve Job’s company announces new products: Steve Jobs. “In fact, this week you’ll see that Apple is announcing at their Worldwide Developer Conference that ZFS has become the file system in Mac OS 10,” mused Jonathan at a press event, apparently to bolster Sun’s own credibility.

Less than a week later, Apple spoke about ZFS only when it became clear that a port was indeed present in a developer version of Leopard albeit in a nascent form. Yes, ZFS would be there, sort of, but it would be read-only and no one should get their hopes up.

[…]

By the time Snow Leopard shipped only a careful examination of the Apple web site would turn up the odd reference to ZFS left unscrubbed. Whatever momentum ZFS had enjoyed within the Mac OS X product team was gone.

Here’s what I wrote in 2007. Revisiting some of the issues:

Previously:

3 Comments RSS · Twitter · Mastodon


Apple should have bought Sun, such a wasted opportunity…


I use ZFS on some non-Macs. I trust it more than APFS because I think its data integrity (data checksums and self-healing) is a table-stakes feature.

APFS is a mobile-first file system. Users are expected to manage relatively little data and throw the rest in the cloud.
ZFS is a server-first file system. Users are expected to manage many terabytes across many drives and want redundancy.

Mac guys got the short end of the stick by not getting ZFS, but The iOS Company has their priorities.

ZFS's cache likes RAM. 1 GB + 1 GB per 1 TB is one rule of thumb, but this value can be tuned/restricted. FreeBSD (and derivatives like TrueNAS) let it ride -- ZFS will eagerly use all 'free' memory for caching, but release it as other processes request memory. I compare it to using NSCache or low-priority memory.

Maybe this played into Apple's decision-making? Apple still sold Macs with a pitiful 8 GB of RAM until this year and mobile has always had very little RAM.

IIRC the rumor at the time ZFS was canceled on macOS was that Apple wanted Sun to agree to an indemnity clause for licensing it and Sun (correctly) said no.

I view APFS as HFS++.


So sad and alarming that the two most widely used consumer operating systems on the planet use such weird hacky filesystems when there are better alternatives.

Seems money is the root cause of the issue in all cases. Apple identifying RAM as a place to save/make incredible profit margins, legal issues (money).

Microsoft continues to tinker with a more advanced filesystem, Apple flirted with ZFS. Apple made a really bold move foisting APFS on everyone with little documentation or warning. If they were going to make a bold filesystem choice, they should have gone bolder.

Agree completely with both above commenters. I wonder if Jobs' personal friendship with Ellison ever had anything to do with that.

Leave a Comment