Upgrading macOS and ZFS?

All your general support questions for OpenZFS on OS X.

Upgrading macOS and ZFS?

Postby StephenR » Sun Jun 29, 2025 5:14 am

So I have an M1 mini currently running ZFS 2.2.2-1 on macOS Sonoma 14.7.1

I didn't upgrade to macOS 15 Sequoia because there were no "stable" ZFS builds for Sequoia at the time I looked.

I now see that there is an RC for 2.3.0, which includes a Sequoia build.


So my question is: which do I upgrade first?

My first thought is to upgrade ZFS to 2.3.0 using the Sonoma installer; confirm it works properly; upgrade macOS to Sequoia; possibly "upgrade" ZFS again to the Sequoia build.
Besides doing an export of the pool before the ZFS upgrade, is there any other recommended procedure here?

What about: zfs export; disconnect the hardware (the ZFS drives are all external over TB3); upgrade macOS; upgrade ZFS; reconnect and import the pool?


Cheers
StephenR
 
Posts: 3
Joined: Fri May 06, 2022 12:19 am

Re: Upgrading macOS and ZFS?

Postby Sharko » Wed Jul 02, 2025 3:00 pm

Hi, as you can see our community seems to be shrinking, in terms of interaction and knowledge, down to a few die-hards (raises hand). I'll give you my take on your question.

In the past Mr. Lundman has released some of the ZFS software specifically labeled as compatible with a less-than-latest release (say, Catalina), and told us that it can be used for later releases (Monterey, for example). That would argue for upgrading your system to the latest labeled ZFS release for Sonoma first, under the assumption that it will probably also function in the later release. Then I would upgrade the operating system, and see where you stand: does everything ZFS-related work? If so, I would stop there, or at the very lease image your system to a bootable backup that you can roll back to, if necessary, before upgrading to a Sequoia-specific ZFS release.
Sharko
 
Posts: 262
Joined: Thu May 12, 2016 12:19 pm

Re: Upgrading macOS and ZFS?

Postby 0xdeadbeef » Fri Jul 18, 2025 10:17 pm

For a few of the past major macOS upgrades I've not had any problems upgrading macOS first and updating ZFS after that. If memory serves me well I didn't even do the ZFS update for a while on my MacMini running headless dutie

What I've done before those major macOS updates is to export the pools on that machine to avoid the macOS upgrade stuff stumbling over something it doesn't expect. Sometimes I forget about it, at least once that caused the upgrade to fail.

Sharko wrote:Hi, as you can see our community seems to be shrinking, in terms of interaction and knowledge, down to a few die-hards (raises hand). I'll give you my take on your question.


*raising my hand as well*

All my important data goes on ZFS for a long time now, essentially since it got added to FreeBSD back around 2008 or so. I've been bitten by data loss once too often.
Got a buch of pools on various of Macs (HDD, SATA SSD, M.2 NVMe, U.2 NVMe) and FreeBSD servers of mine in an actual datacenter.
0xdeadbeef
 
Posts: 10
Joined: Tue Feb 23, 2016 11:23 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 21 guests