OpenZFS on OS X
github.com
github.com
Without Apple on board or a much bigger effort ZFS on the Mac will probably always have some real limitations particularly with the GUI. For one of my desktop systems I've migrated to running my home and data folders as HFS or APFS formatted iSCSI targets, so it's still on ZFS underneath but appears native to macOS (and that also means that the effective death of towers isn't a limit on storage). But this remains an incredible project IMO.
Also for anyone who wants some limited GUI interaction capability, there is a small project called ZetaWatch [0] which will put some ZFS control into a menubar widget.
----
I even wrote my own menu-bar tool way back when - https://github.com/alexwasserman/ZFSStatusScript
Was 8 years ago - no idea if it still works. A while back I moved to just running ZFS on my home lab machines and then exporting over the network to use as necessary.
>A while back I moved to just running ZFS on my home lab machines and then exporting over the network to use as necessary.
Yeah, it's a decent approach for desktops in particular, and made better by the plummeting cost of higher speed LAN connections. 10 Gbps is cheap and easy at this point, and even faster is getting there. I'm glad to still have O3X around for portable systems though.
Not everyone knows this history so for context: https://arstechnica.com/gadgets/2016/06/zfs-the-other-new-ap...
>> Apple can currently just take the ZFS CDDL code and incorporate it (like they did with DTrace), but it may be that they wanted a "private license" from Sun (with appropriate technical support and indemnification), and the two entities couldn't come to mutually agreeable terms.
> I cannot disclose details, but that is the essence of it.
* https://marc.info/?l=zfs-discuss&m=125642378308127&w=3
* https://arstechnica.com/gadgets/2009/10/apple-abandons-zfs-o...
https://news.ycombinator.com/item?id=16403351
But to answer your question, I would say no. Very little critical data is stored on most people’s phone that is not automatically backed up to iCloud.
One of the biggest modern what-ifs for system underpinnings.
OpenZFS on OS X - https://news.ycombinator.com/item?id=7457917 - March 2014 (24 comments)
That isn't normal. You've got a problem, probably in your drive enclosure or your interconnect to it.
I have a 40 TB RAID array that's been running for years with monthly scrubs, and I don't believe there's ever been a mismatch detected.
I hope the situation has changed, or is changing.
The installer repo in the linked org shows no updates since 2020 and does not list any recent macOSes in the supported versions list.
https://openzfsonosx.org/forum/viewtopic.php?f=20&t=3738
it is in the process of getting pulled into native openzfs along with zfs for windows and it is tracking zfs very closely. the last release was a few days ago if you go to their forums.
I've run ZFS full time on my production and personal use Macs continuously for 11 years now. Of course needs and use cases vary, but I'm genuinely curious what did you find "nowhere near usable"? There are definitely rough edges depending on how you push it, but I think it hit all the core usability criteria once spotlight support was added and became stable (a lot of Mac functionality depends on that, before then it was a lot more limited). That was many, many years ago though.
https://macoverdrive.blogspot.com/2008/10/using-zfs-to-manag...
It was pretty flaky. I'd forget to use the zfs unmount command, accidentally hit the super-friendly eject icon in Finder and BANG! Still, I thought I was just a few months ahead of an Apple sanctified and properly guified native ZFS.
In those days I lived in hope of a merger between Apple and Sun. The engineering in both organisations was great. Sadly only exists in the nerd fanfic alternate reality fantasy I'm never going to write.
I have read the warnings about not using ZFS on USB disks, but thus far either I've been very lucky or my "USB threat model" is not the same as the people offering those warnings
In theory, a corrupted zpool isn’t a problem, because you should be backing up your pool all the time.
In practice, it’s a double-edged sword. The downside is that whenever the pool becomes corrupt, you have to do a restore. The upside is that whenever the pool becomes corrupt, you get to do a restore, which you probably wouldn’t do regularly otherwise.
Whether or not your bus is going to break down sporadically is unpredictable. With one Mac, it never happened. With another, it’s happened twice a year.
i'm a huge fan of snapshots and having backups on my nas. one might say you could use time machine for that but last time i checked time machine was absolutely terrible for backing up large files as you would get from for example a parallels virtual machine. zfs backups are way better for this since not only is it faster because it only sends the modified blocks, it also takes orders of magnitudes less space because it also only stores modified blocks. zfs also has the added benefit having a plethora open source tools and documentation.
it also allows people to dogfood and familiarize themselves with zfs if they plan to or need to use it for other things.
apfs and time machine are largely a black box and you need to use it in the way that apple expects you to use it. it has the added benefit of being a next gen filesystem that is cross platform unlike apfs.
The main benefits without going nuts with some features you probably don't want on a workstation with anything short of crazy-high specs (mainly de-duplication, it eats lots of memory) are that it:
1) tells you when data has been corrupted even if the disk isn't erroring (and tells you exactly what was damaged)
2) has lightweight snapshots (it's copy-on-write so snapshots basically only cost the difference between the snapshot and either the next snapshot or the current FS) with a very handy access model (you can read from snapshots at will, as if they were a live FS) so you can snapshot before risky file operations and have an easy way to revert without having to go to backups; and
3) Makes various types of disk-pooling and RAID available purely in software.
It also provides a common UI to all this across multiple operating systems, so there's less per-platform trivia to remember if you work cross-OS a lot.
However, the UI is obtuse enough that it's firmly power-user-only, and a fairly advance power user at that.
Maybe in my younger days I would have been purer of spirit. Alas, time, kids, other hobbies & commitments have stood in the way.
I bought a NAS (synology). Life is full of compromises; this is one of mine.
Seems like it’s improved quite a bit but unfortunately can’t find many good external enclosure options that aren’t overpriced.