See and manage your ZFS pools, datasets and snapshots from Unraid's Main tab.
- Pools — health, size, used and free space, snapshot counts
- Pool Info — which Unraid versions can import a pool read-write, and what an upgrade would change
- Datasets — create, rename, promote, destroy, and edit properties
- Snapshots — take, roll back, rename, clone, hold, release and delete; an icon warns when the newest gets old
- Snapshots Admin — filter, sort, browse a snapshot's files, or see what changed since it
- Snapshot notes — write why you took a snapshot, or give the snapshots a schedule takes a note; see, filter and change notes in Snapshots Admin
- Snapshot schedules — snapshot every dataset hourly, on chosen days, on a cron line or when the array starts, and keep the newest, plus the newest of each of the last days, weeks, months or years you choose; a dataset can have its own (not a read-only, legacy-mounted or Sanoid/Syncoid one), or none
- Replication — copy datasets to another pool or ZFS Master NG server, once or on a schedule, or every dataset into one dataset, here or on another ZFS Master NG server, on a schedule (Replicate Every Dataset)
- Run Now — run a schedule straight away from Settings
- Array checks — schedules wait while the array is stopped or starting (a When the array starts schedule runs as it starts), and scheduled copies that use one of this server's array disks wait during its parity check or rebuild, and a stop ends the runs still going so the array can stop; a copy carries on at its next run
- Reviews — destroy, rollback and bulk delete show what they'll remove first
- Encryption — create encrypted datasets, lock and unlock them
- Directories — list, move or delete folders, or convert one to a dataset (cloned instead of copied where it can)
- Rewrite Files — apply new compression or checksum settings to existing data (Unraid 7.3+)
- Alerts — optional notifications for pool problems and datasets whose newest snapshot is too old, and a choice of which schedule runs notify you
- ZnapZend — optionally show each dataset's backup plans
- Light — no background daemon; reads ZFS only while the Main tab is open, or for alerts and schedules you turn on
- Your view — collapse datasets, or hide some with an exclusion pattern
Each dataset row has an Actions menu. These items do more than their name says:
- Replicate — copies the dataset to another pool, or to another ZFS Master NG server added in Settings: once, or as a repeat (hourly, on chosen days, on a cron line or when the array starts) that keeps the snapshots you choose. An encrypted dataset is sent raw, or decrypted if you choose. See Replicate repeats.
- Schedules — gives the dataset its own snapshot schedule and its own copies, in place of Snapshot Every Dataset and Replicate Every Dataset in Settings. Default follows the nearest dataset above with its own; None stops that part only. The Schedules guide takes you through both, step by step.
- Rewrite Files (Unraid 7.3+) — writes the dataset's files again, so a changed compression, checksum, dedup or copies setting applies to data already there. Snapshots keep the old blocks, so the pool can use more space until they are deleted.
- Snapshots Admin — lists the dataset's snapshots, and its children's if you like, to filter and sort. From there you can browse a snapshot's files, see what changed since it, roll back, clone, hold, rename, or delete several at once.
- Promote Dataset (clones only) — makes a clone stand on its own, no longer tied to the snapshot it was cloned from. The original dataset can then be destroyed and the clone stays.
- Lock / Unlock Dataset (encrypted datasets) — Lock unmounts the dataset and unloads its key, so its files can't be read. Unlock asks for the passphrase and mounts it again.
- Add Directory Listing — shows the dataset's folders as rows under it on the Main tab. Each folder gets its own Actions: move or rename, delete, or convert to a dataset.
- Convert to Dataset (folder Actions) — turns a folder directly inside a dataset into a child dataset with the same name. Files are cloned where the pool can, otherwise copied, and the copy is checked before the folder is deleted.
- Move from a replication script — copies a script made carry on here without sending everything again
- More places to copy to — any ZFS server over SSH, without ZFS Master NG there, or a folder on a disk without ZFS, as a mirror or as dated versions
- Skip empty snapshots — no new snapshot when nothing changed since the last one
- Snapshot preview — open a snapshot as a writable copy outside your shares, look through it or point a container at it, then discard it
Unraid 6.9.2 or later. ZFS is built in from 6.12; older versions need a ZFS plugin.
Go to Plugins → Install Plugin and paste:
https://raw.githubusercontent.com/chodeus/ZFS-Master-NG/main/zfs.master.plg
For the beta, which gets fixes and features first, paste https://raw.githubusercontent.com/chodeus/ZFS-Master-NG/beta/zfs.master.plg instead.
Renaming, editing and destroying datasets, and converting and deleting folders, need Destructive Mode in the plugin settings, as do rollbacks and deletes that take other snapshots with them. Snapshots to keep, Copy Keeps and Keep Replicas remove old snapshots by their own rules without it.
Settings, ZFS Master NG, Diagnostics, Generate makes one zip for a bug report: the plugin's settings, install and log, the pools and datasets as it reads them, and what it finds wrong. Dataset, snapshot and folder names, addresses and keys are replaced by tokens; pool names stay. Unraid's own diagnostics zip goes in as Unraid made it unless you untick the box. The zip is kept in /boot/logs. If the page does not load, run /usr/local/emhttp/plugins/zfs.master/scripts/diagnostics.php in a terminal.
GPL, version 2 or later, the same as the original ZFS Master. See LICENSE.
bash pkg_build.sh --version 0000.00.00 --out /tmp/zfsmbuilds a package. It also rewrites the manifest's version and md5, so restore that file afterwards.- tests/README.md explains the test suites. They use fake
zfsandzpoolbinaries and real Unraid webGUI code.
