Перейти к содержимому

OpenZFS on OS X

OpenZFS on macOS Project · Драйвер ZFS и утилиты для macOS: управление хранилищем ZFS и доступ к смонтированным файловым системам через Finder.

CaskДрайверы и оборудование 163
Главная
Команда установки
brew install --cask openzfs
Установки за последние 30 дней
193
Приложение: место 778
Установки за последний год
1,7 тыс.
Всего за 365 дней
Последняя версия
2.4.1p2
Размер загрузки
21МБ
pkg
Частота обновлений
Ежемесячно
1 релиз за 30 дней

Описание

OpenZFS on OS X устанавливает драйвер ZFS и утилиты для macOS. Проект описывает файловую систему как решение с объединённым хранилищем и нативной интеграцией с macOS; это компонент системы хранения, а не графическое приложение для управления.

  • ZFS использует контрольные суммы для обнаружения повреждения данных; согласно проекту, исправление возможно с помощью избыточной чётности.
  • Поддерживаются моментальные снимки point-in-time с копированием при записи.
  • Среди перечисленных проектом возможностей — встроенное шифрование и ZSTD.
  • Смонтированные файловые системы доступны через Finder в macOS; пакет также включает файлы автодополнения командной оболочки для zfs и zpool.

Установка: brew install --cask openzfs. Homebrew выбирает пакет с учётом выпуска macOS и архитектуры процессора. Для установки требуется расширение ядра. Если установка не удалась, инструкции рекомендуют разрешить расширение в разделе «Системные настройки» → «Конфиденциальность и безопасность», а затем повторить попытку. Дополнительные сведения приведены в документации поставщика.

OpenZFS on macOS · Homebrew cask

Основные сведения

Процессор
Чип Apple · Intel
Автообновление
Нет
Репозиторий
Репозиторий GitHub · Обновлено 1 день назад★163
Разработчик
OpenZFS on macOS Project
Homebrew
Можно установить, обновляется через Homebrew
Другие названия
openzfs
Сайт
openzfsonosx.org
Идентификатор
openzfs

Проверено

Что нового в 2.4.4rc3

Новая версия · Из GitHub Release

*** 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.

Как установить OpenZFS on OS X на Mac

Homebrew запускает установщик OpenZFSonOsX-2.4.1p2-GoldenGate-27-arm64.pkg, который запрашивает пароль администратора.

Установка без Homebrew

Файл зависит от версии macOS, поэтому выберите его на официальном сайте: Сведения об установке

Удаление OpenZFS on OS X и необязательная очистка данных

Команда удаления
brew uninstall --cask openzfs

Обычное удаление стирает приложение, но оставляет настройки и кеш.

Глубокая очистка (по желанию)
Команда удаления
brew uninstall --zap --cask openzfs

--zap также удаляет настройки, кеш и другие файлы, перечисленные в определении Homebrew. Среди них могут быть данные, общие с другими приложениями; после удаления их нельзя восстановить. Полное отсутствие остаточных файлов тоже не гарантируется. Сначала создайте резервную копию данных, которые нужно сохранить. Чтобы сохранить настройки и кеш, не добавляйте --zap.

Частые вопросы о OpenZFS on OS X

Безопасно ли OpenZFS on OS X?

OpenZFS on OS X есть в официальном каталоге Homebrew и не отключено. С сентября 2026 года Homebrew отключает приложения, которые не проходят проверку Gatekeeper в macOS. При установке Homebrew сверяет файл с github.com по контрольной сумме SHA-256. За последние 30 дней его установили через Homebrew 193 раза.

Есть ли у OpenZFS on OS X публичный репозиторий на GitHub?

У OpenZFS on OS X есть публичный репозиторий GitHub (https://github.com/openzfsonosx/openzfs-fork), но OpenNavo не подтвердил наличие лицензии OSI.

Как полностью удалить OpenZFS on OS X с Mac?

Выполните brew uninstall --cask openzfs. Команда останавливает 5 фоновых служб и стирает 1 запись об установке. Чтобы удалить ещё и настройки с кэшем, выполните brew uninstall --zap --cask openzfs. --zap также удаляет настройки, кеш и другие файлы, перечисленные в определении Homebrew. Среди них могут быть данные, общие с другими приложениями; после удаления их нельзя восстановить. Полное отсутствие остаточных файлов тоже не гарантируется. Сначала создайте резервную копию данных, которые нужно сохранить. Чтобы сохранить настройки и кеш, не добавляйте --zap. Так удалятся ещё 5 файлов и папок, например ~/Library/LaunchDaemons/org.openzfsonosx.InvariantDisks.plist.

Работает ли OpenZFS on OS X на Mac с чипами Apple (M1 и новее)?

Да. Homebrew скачивает отдельные сборки для Mac с чипами Apple и с Intel.

Какая последняя версия OpenZFS on OS X?

Последняя версия — 2.4.1p2, в Homebrew она появилась 20 нояб. 2026 г. Чтобы обновить, выполните brew upgrade --cask openzfs.

Что ещё устанавливается вместе с OpenZFS on OS X?

Установка идёт через установщик .pkg, который запрашивает пароль администратора.

Похожие приложения

  • Jabra DirectПриложение для macOS, позволяющее обновлять и настраивать гарнитуры Jabra, а также управлять вызовами в поддерживаемых софтфонах с гарнитуры.
  • Bitfocus CompanionПриложение для управления аудиовизуальным и вещательным оборудованием: поддерживает Stream Deck и включает виртуальные средства управления.
  • Wacom TabletПакет драйверов Wacom для macOS, распространяемый в виде установщика для совместимых устройств Wacom.
  • VueScanПриложение для сканирования в macOS со встроенными драйверами, предназначенное для работы со старыми сканерами, поддержку которых производитель прекратил.
Показать ещё