# OpenZFS on OS X

A macOS ZFS driver and utilities for managing ZFS storage, with filesystem mounts accessible in Finder.

> This is the Markdown version of the OpenZFS on OS X page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/openzfs>

- **Latest version**: `2.4.1p2`
- **Developer**: OpenZFS on macOS Project
- **Homepage**: <https://openzfsonosx.org/>
- **Categories**: [Drivers & Hardware](https://opennavo.com/categories/drivers)
- **Install**: `brew install --cask openzfs`
- **30-day installs**: 193
- **Homebrew**: Available; updated by Homebrew
- **Download URL**: <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-GoldenGate-27-arm64.pkg>
- **SHA-256**: `4123057fe0a4ff6fe56d4d500255cae1fc94057c9b08389069cbf411b7b27c43`
- **Installer packages**: OpenZFSonOsX-2.4.1p2-GoldenGate-27-arm64.pkg

SHA-256 only checks that the download is complete; it is not a security certification.

## Caveats

openzfs requires a kernel extension to work. If the installation fails, retry after you enable it in: System Settings → Privacy & Security For more information, refer to vendor documentation or this Apple Technical Note: https://developer.apple.com/library/content/technotes/tn2459/_index.html

## Installation and removal contents

```json
[
  {
    "declaration": {
      "uninstall_preflight_steps": [
        {
          "steps": [
            {
              "args": [
                "export",
                "-af"
              ],
              "command": {
                "path": "/usr/local/zfs/bin/zpool"
              },
              "guards": [
                {
                  "condition": "if_exists",
                  "id": "1",
                  "path": "/dev/zfs"
                }
              ],
              "sudo": true,
              "type": "run"
            }
          ]
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall_preflight_steps"
  },
  {
    "declaration": {
      "uninstall": [
        {
          "launchctl": [
            "org.openzfsonosx.InvariantDisks",
            "org.openzfsonosx.zconfigd",
            "org.openzfsonosx.zed",
            "org.openzfsonosx.zpool-import",
            "org.openzfsonosx.zpool-import-all"
          ],
          "pkgutil": "org.openzfsonosx.zfs"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "pkg": [
        "OpenZFSonOsX-2.4.1p2-GoldenGate-27-arm64.pkg"
      ]
    },
    "phase": "install",
    "sources": [
      "OpenZFSonOsX-2.4.1p2-GoldenGate-27-arm64.pkg"
    ],
    "type": "pkg"
  },
  {
    "declaration": {
      "bash_completion": [
        "/etc/bash_completion.d/zfs"
      ],
      "target": "$HOMEBREW_PREFIX/etc/bash_completion.d/zfs"
    },
    "phase": "install",
    "sources": [
      "/etc/bash_completion.d/zfs"
    ],
    "target": "$HOMEBREW_PREFIX/etc/bash_completion.d/zfs",
    "type": "bash_completion"
  },
  {
    "declaration": {
      "bash_completion": [
        "/etc/bash_completion.d/zpool"
      ],
      "target": "$HOMEBREW_PREFIX/etc/bash_completion.d/zpool"
    },
    "phase": "install",
    "sources": [
      "/etc/bash_completion.d/zpool"
    ],
    "target": "$HOMEBREW_PREFIX/etc/bash_completion.d/zpool",
    "type": "bash_completion"
  },
  {
    "declaration": {
      "postflight_steps": [
        {
          "steps": [
            {
              "paths": [
                {
                  "path": "/usr/local/zfs"
                }
              ],
              "type": "set_ownership"
            }
          ]
        }
      ]
    },
    "phase": "install",
    "sources": [],
    "type": "postflight_steps"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/LaunchDaemons/org.openzfsonosx.InvariantDisks.plist",
            "~/Library/LaunchDaemons/org.openzfsonosx.zconfigd.plist",
            "~/Library/LaunchDaemons/org.openzfsonosx.zed.plist",
            "~/Library/LaunchDaemons/org.openzfsonosx.zpool-import-all.plist",
            "~/Library/LaunchDaemons/org.openzfsonosx.zpool-import.plist"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

OpenZFS on OS X installs a ZFS driver and utilities for macOS. The project describes its filesystem as providing pooled storage and native macOS integration; this is a storage-system component, not a graphical management app.

- ZFS uses checksumming to detect data corruption; the project describes correction using redundant parity.
- It supports point-in-time, copy-on-write snapshots.
- The project lists native encryption and ZSTD among its features.
- Filesystem mounts can be accessed through macOS Finder, and the package includes `zfs` and `zpool` shell-completion files.

Install with `brew install --cask openzfs`. Homebrew selects a package according to the macOS release and processor architecture. The installation requires a kernel extension. If installation fails, the provided instructions say to allow it under System Settings → Privacy & Security, then retry. Consult the vendor documentation for further details.

[OpenZFS on macOS](https://openzfsonosx.org/) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/o/openzfs.rb)

## System requirements

- Build for macOS 27 · Version: 2.4.1p2 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-GoldenGate-27-arm64.pkg>
  - SHA-256: `4123057fe0a4ff6fe56d4d500255cae1fc94057c9b08389069cbf411b7b27c43`
- Build for macOS 26 · Version: 2.4.1p2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Tahoe.26-26.pkg>
  - SHA-256: `399ce127ce1fc0eb462346af4553c337a76adc82516033e34e74a21cc6a5c828`
- Build for macOS 26 · Version: 2.4.1p2 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Tahoe.26-26-arm64.pkg>
  - SHA-256: `582ffd6bb083ed9de123994b5609da39ed9347e624d81474ba3f2dc53a0e5f21`
- Build for macOS 15 · Version: 2.4.1p2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Sequoia-15.pkg>
  - SHA-256: `62dca33ac2e2a724865c072c5fb2f152a532da28886efd055414be498d7fe077`
- Build for macOS 15 · Version: 2.4.1p2 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Sequoia-15-arm64.pkg>
  - SHA-256: `9f8ca1b894974244dc2f0f362fcae0ed05b0082bbaf72ef7215939cdad272769`
- Build for macOS 14 · Version: 2.4.1p2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Sonoma-14.pkg>
  - SHA-256: `cc2716f0ef15a53211fff079922b15e94616b9ee1f689a859085a32541d441ad`
- Build for macOS 14 · Version: 2.4.1p2 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Sonoma-14-arm64.pkg>
  - SHA-256: `c6f07507e0594c1d7f77adb3878d45558b3ddd09064676b118d271581fef6705`
- Build for macOS 13 · Version: 2.4.1p2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Ventura-13.pkg>
  - SHA-256: `ee3c779da3be97f8ba9c6f868c7bec877fc26c25f07a17e79aae782131bf22f3`
- Build for macOS 13 · Version: 2.4.1p2 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Ventura-13-arm64.pkg>
  - SHA-256: `cfbfb7f39e047c3c5232799fedf26bac6f674ef1dc7a34364231b36f7dd46561`
- Build for macOS 12 · Version: 2.4.1p2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Monterey-12.pkg>
  - SHA-256: `9757746f9401687e382f7cdfda80c8f827f478379be76ac587664f8cb6430910`
- Build for macOS 12 · Version: 2.4.1p2 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Monterey-12-arm64.pkg>
  - SHA-256: `05a357c155770df6f93cb2623cdd5737d2a41ad6cf3f2dc723d94d097037b5f0`
- Build for macOS 11 · Version: 2.4.1p2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
  - <https://github.com/openzfsonosx/openzfs-fork/releases/download/zfs-macOS-2.4.1p2/OpenZFSonOsX-2.4.1p2-Big.Sur-11.pkg>
  - SHA-256: `c11a74b394e902265608dd73d2d05011b16acac33c8d1d869a19c840509dbe72`

## Uninstall

- `brew uninstall --cask openzfs`

A regular uninstall removes the app and keeps its settings and caches.

### Uninstalling also removes

- Background services (launchctl): `org.openzfsonosx.InvariantDisks` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.
- Background services (launchctl): `org.openzfsonosx.zconfigd` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.
- Background services (launchctl): `org.openzfsonosx.zed` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.
- Background services (launchctl): `org.openzfsonosx.zpool-import` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.
- Background services (launchctl): `org.openzfsonosx.zpool-import-all` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.
- Installer receipts (pkgutil): `org.openzfsonosx.zfs` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.

### Deep clean (optional)

- `brew uninstall --zap --cask openzfs`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/Library/LaunchDaemons/org.openzfsonosx.InvariantDisks.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/LaunchDaemons/org.openzfsonosx.zconfigd.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/LaunchDaemons/org.openzfsonosx.zed.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/LaunchDaemons/org.openzfsonosx.zpool-import-all.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/LaunchDaemons/org.openzfsonosx.zpool-import.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · These entries come from the Homebrew definition, checked 2026-11-30. They say what it declares, not what is on your Mac.

## Latest release notes

### 2.4.4rc3 (2026-10-14)

*** zfs-macOS-2.4.4rc3

#### OpenZFS on OS X 2.4.4rc3

Changes since rc2: crash and hang fixes, a round of memory and performance work from rottegift, and hardware-accelerated encryption on Apple Silicon.

##### Crash and hang fixes
- **Unmount/export hang fixed.** A file opened during a write-sync could keep a stray reference on its vnode, so the unmount waited forever. Spotlight indexing a new dataset triggered this easily. (`macOS: release async-zget znodes that are not attached yet`)
- **Unmounting now always goes through DiskArbitration.** It tries a normal `diskutil unmount` first and falls back to a forced unmount only when asked. It never uses `umount -f`, which bypassed DiskArbitration and could leave Spotlight (`mds`) holding files.
- **Stale per-file state on reused znodes fixed.** `z_suspended` and `z_document_id` are now reset each time a znode is allocated, including for `.zfs` snapshot-directory entries.
- **Timer interval fixes.** Several wrong time-interval calculations are corrected. One of them made the ARC run as an MRU-only cache instead of a balanced MRU/MFU cache, which hurt cache hit rates.

##### Memory and performance (rottegift)
- **ABD buffers use `IOMallocData()` on macOS 15 and newer.** These are the kext's largest memory consumer. They now come from the data allocator instead of `IOMallocAligned()`, which eases pressure on the kernel's shared memory map.
- **Kernel memory caches are grouped by how long their allocations live.** Short-lived and long-lived allocations no longer fragment each other. There is also a diagnostic report of what each cache holds.
- **Memory is returned after a large free.** Per-CPU caches that keep memory pinned are now flushed after a mass free, so memory goes back to the system sooner.
- **The slab consolidator's rate can be changed while running.**
- **The number of ZFS vnodes can optionally be capped.** This is off by default. When on, idle vnodes are recycled in batches to limit the memory they pin.
- **Apple Silicon CPU layout.** CPU IDs are numbered without gaps, and efficiency (E) cores are counted.
- **SPL load messages are kept in a boot-log kstat**, along with a summary of memory sizing at load.

##### Encryption
- **Accelerated AES on Apple Silicon (#117).** The AES modes and GCM now use the ARMv8 crypto instructions (`aesv8`/`ghashv8`), and the fastest available implementation is selected automatically. They pass all ICP test vectors: 322 of 322 for GCM and 552 of 552 for CCM.

*** zfs-macOS-2.4.4rc3p1

* Changes to the installer to handle exporting pools better

---

*** zfs-macOS-2.4.4rc2-anyraid

- rc2 build with new anyraid support if anyone wants to test it. It is not in rc3

----

*** zfs-macOS-2.4.4rc2

- raidz1 arithmetic could corrupt pointers on arm64.

----

*** zfs-macOS-2.4.4rc1

Changes since 2.4.3rc5

New features (macOS)
- ZFS Versions (ported from Windows into ZetaWatch): a file's earlier versions in snapshots, with Open, Copy To and Restore. Open it from Finder → Services → "ZFS Versions…" or with zetawatch://versions?path=.
- ZFS Deleted Items: lists files deleted from a folder that still exist in its snapshots, and can restore them. Open it from Finder → Services → "ZFS Deleted Items…".
- New libzfs function zfs_get_obj_version().
- fcntl(F_PUNCHHOLE), _PC_MIN_HOLE_SIZE and renamex_np(RENAME_SWAP) are now implemented.
- symbolicate_panic_macos.py has a --live mode and reads the compact-stackshot paniclog format.

Fixes (macOS)
- Data corruption: writev() across a record boundary (Akhil).
- Kernel panic when com.apple.owneruid/ownergid is out of range on mounts with ownership ignored (#138).
- Stale negative name-cache entries (#113).
- Unmount hang: vnops no longer hold the teardown lock across ERESTART retries.
- Rollback now unmounts and remounts descendant filesystems.
- snapdir=disabled is now enforced.
- Use-after-free in mkdir/symlink.
- ldi_strategy/ldi_close race and NULL vd_lh in vdev_disk.
- zvol: wrong status and byte counts on async I/O, and stale open flags.
- ARM64 AES decrypt was calling the encrypt routine.
- zfs_uio_page_aligned() read past the end of the iovecs.
- /etc/exports was created with mode 0600.
- _tunable_zfetch sysctl was not registered.
- ZetaWatch: the helper no longer asks for a password at every login.

Build and packaging
- Builds with Xcode 27 and the macOS 27 SDK (blake3 asm, pipe2).
- The kext is built arm64e-only.
- zpool no longer has the app-sandbox entitlement.
- Clean builds on Linux and FreeBSD, plus SPDX tags (fro0 work).
- Test-suite fixes for macOS.

Upstream OpenZFS (about 350 commits), mainly:
- Block-cloning fixes: self-deadlock and double free.
- ARC: a race between arc_release() and arc_read_done(), and a use-after-free in dnode_rele.
- DDT pruning fixes.
- A raidz expansion startup race.
- Imports now work with corrupted spare or l2arc configs
- New commands and options: zpool status -vv error ranges, zpool initialize -z, zstream raw, zhack MOS leak tools.
- Performance: lockless spa_config_lock reads and less dp_lock/dd_lock use.

## Facts and sources

- <https://opennavo.com/apps/openzfs>
- <https://opennavo.com/apps/openzfs/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/o/openzfs.rb> · Checked 2026-11-30
- <https://formulae.brew.sh/cask/openzfs>
