Repository navigation
Warnings
Some dialogs show an amber warning: what is true, then what that does. Its Guide link opens the section below that explains it. A notification about a problem has a View button that opens its section too.
Scheduled snapshots, scheduled copies and Replicate repeats skip these datasets. Schedules and Replicate won't save a new schedule or repeat on one.
What it means: the dataset's Read Only setting is on, so nothing can change its files. Every copy that Replicate or Replication makes is Read Only. This keeps the copy the same as its source.
Why it is skipped: a new snapshot in a copy stops the next copy into it. ZFS can add to a copy only when the copy's newest snapshot came from its source.
What to do:
- It is a copy: nothing. Put the schedule on its source instead. To copy it on to another place, use Replicate and pick one of its snapshots, not Take one now.
- It is not a copy: its files can't change while Read Only is on, so a schedule would only add empty snapshots. To include it, turn Read Only off (Actions > Edit Dataset > Read Only > Off). Then set its schedule.
What it means: the dataset's mountpoint is legacy, so another program mounts it, not ZFS. Docker's image layers are mounted this way.
Why it is skipped: Docker makes one of these for each image layer and container, and deletes it, with its snapshots, when the container or image is removed or updated. Your containers' data is in appdata.
What to do: usually nothing. To protect your containers, schedule the dataset that holds appdata.
What it means: the dataset has snapshots whose names start with autosnap_ (made by Sanoid) or syncoid_ (made by Syncoid).
Why it is skipped: Syncoid copies every snapshot made since its last run. Snapshots from ZFS Master would build up in its copies, and Sanoid removes only its own snapshots.
What to do:
- Sanoid or Syncoid looks after it: nothing.
- You stopped using them: delete their old snapshots in Snapshots Admin, then set its schedule.
-
Your Snapshots Prefix starts with
autosnap_orsyncoid_: change it in Settings, under Snapshots. Then delete the old snapshots with that prefix in Snapshots Admin.
Replicate shows one of these instead of its plan when it can't send the copy. A scheduled copy or repeat that meets one doesn't run, and its notification says why.
What it means: ZFS adds to a copy only from a snapshot that the copy and this dataset both have. The copy's newest snapshot is not on this dataset any more, and neither is the bookmark ZFS Master NG keeps for it.
Why: the copy was made by another tool, this dataset was made again, or that snapshot and its bookmark were deleted here.
What to do:
- The copy is on this server: tick Replace a copy that no longer matches. The copy is renamed (the new name is shown) and everything is sent again. Destroy the renamed copy when you no longer need it.
- The copy is on another server: type a new name under Copy goes to. Or destroy the copy on that server, then run Replicate again.
What it means: the copy already has a snapshot that this dataset took after the one you picked. ZFS adds only newer snapshots to a copy.
What to do:
- Under Snapshot, pick a snapshot newer than that one, or Take one now.
- You want the copy to go back to the older snapshot, and it is on this server: tick Replace a copy that no longer matches. The copy is renamed and the older snapshot is sent in full.
What it means: a dataset with the name under Copy goes to already exists and has no snapshots, so it is not a copy of this dataset. Replicate never destroys a dataset to make room for a copy.
What to do:
- You need that dataset: type another name under Copy goes to.
- You don't need it, and it is empty: destroy it (Main, the dataset's Actions > Destroy; the menu shows Destroy only with Destructive Mode on in Settings), then run Replicate again.
- It is on another server and holds the copies of datasets below this one: type another name. A dataset on another server is never replaced.
What it means: a run from another dataset into this copy stopped part-way. ZFS keeps what arrived so that the next run from that dataset can carry on. Until then, nothing else can be sent into it.
What to do:
- You want that copy: run Replicate on the other dataset to the same name. It carries on from where it stopped.
-
You don't: discard it. On the server that holds the copy, open the terminal (the >_ button in Unraid's top bar) and run
zfs receive -A <the copy's name>. Then run Replicate again.
What it means: a run into this copy stopped part-way, and it can't carry on, or might not. For example, the snapshot it was sending was deleted, or its name is too long for ZFS Master NG's bookmark. A scheduled copy's notification gives the reason.
What to do:
-
It can't carry on: discard it. On the server that holds the copy, open the terminal (the >_ button in Unraid's top bar) and run
zfs receive -A <the copy's name>. Then run Replicate again. It sends the changes since the copy's newest snapshot, or everything when the run that stopped was the copy's first. - The snapshot it carries on from could not be held: it can still carry on. Run it again soon, before Keep or a removal by hand takes that snapshot.
- Whether it can carry on could not be read: run it again. If that run says it can't carry on, discard it as above.
What it means: after each run, ZFS Master NG keeps a bookmark on this dataset. With it, the next run sends only the changes, even after the snapshot is deleted. ZFS allows a bookmark's full name up to 255 characters. Its name holds this dataset's name, the copy's name twice over (also the server's name, for another server) and the snapshot's name.
What to do: use a shorter name under Copy goes to. Or pick a snapshot with a shorter name. For Take one now and schedules, a shorter Snapshots Prefix or Snapshots Pattern in Settings gives shorter names.
What it means: the other server has this server's key, but it doesn't take copies from it. Its Accept Replicas Into setting is empty or not valid, or the key's line there names this server in a way it doesn't accept.
What to do: on the other server, follow the receiver's steps in Copies between servers. Then, on this server, press Test beside that server under Servers.
What it means: on the other server, the dataset that holds this server's copies must keep mountpoint=none, volmode=none, setuid=off, devices=off and exec=off. These stop a copy from mounting or running anything there. One of them was changed, so that server refuses every copy until it is set back.
What to do: on the other server, open the terminal (the >_ button in Unraid's top bar) and set them back, with the dataset's name from the warning: zfs set mountpoint=none volmode=none setuid=off devices=off exec=off backup/replicas/tower. Then, on this server, press Test beside that server under Servers.
What it means: this server sends copies over SSH with its own key.
What to do:
- This server has no key yet: in ZFS Master NG's Settings, press Make This Server's Key under This Server's Key. Then follow Copies between servers.
- The key could not be used: each run reads the key from the flash drive and copies it into memory, and one of those failed. Look in the system log (Tools > System Log) for a flash drive or memory error, then run Replicate again.
What it means: Unraid lists this pool, but ZFS did not bring it online when the array started. Nothing on it can be read or written.
What to do:
- On the Main tab, check that each of the pool's devices is there.
- In Tools > System Log, look for lines with
zpool import. - Stop the array, fix any missing device (cable, power), and start the array again.
What it means: ZFS found read, write or checksum errors on the pool's devices, or the pool is not working normally. The notification's message holds the pool's zpool status.
- has errors: ZFS repaired what it could. A device may be failing.
- DEGRADED: the pool works, but a device failed or is missing. One more failure can lose data.
- FAULTED, UNAVAIL or SUSPENDED: the pool can't be used.
What to do:
- On the Main tab, open the pool to see each device's state.
- Check the device's cables and its SMART report. Replace a device that is failing.
- Run a scrub. Once the cause is fixed,
zpool clear <pool>resets the error counts.
What it means: these datasets have no snapshot newer than Dataset Icon Alert Max Days. Their camera icon on the Main tab is orange. Changes made since their newest snapshot can't be rolled back.
What to do, any of:
- Snapshot them on a schedule: Snapshot Every Dataset in Settings, or Schedules on the dataset.
- Raise Dataset Icon Alert Max Days.
- Hide datasets that never need snapshots with Dataset Exclusion Pattern.
- Turn Stale Snapshot Alerts off.
What it means: zpool status or zfs list failed, or took more than 2 minutes. This often means a pool is stuck on a failing device. Until a check can read them, new problems are not reported.
What to do: look in Tools > System Log for disk errors. The next check tries again. A Resolved notification says when it can read them again.
A Replicate Every Dataset run sends one notification for all its datasets. Its parts:
- Not copied yet: Not copied yet
- Left out, because the names ... are too long: Names too long
- ... is gone, so it was not copied: the dataset was destroyed or renamed during the run. Nothing to do. The next run copies what is there.
- Snapshot taken, not sent while a parity operation runs: Array checks
- Any other part: the section below that has its words, if one does.
What it means: two replications of one dataset can't run at once. This run waited for the other one, made by hand or by another schedule, while it had time, then stopped. Nothing was sent. The next run tries again.
What to do: give the schedules that copy this dataset different times. A first copy of a large dataset can take hours. Let it finish.
What it means: this schedule's run before has gone on for more than an hour (snapshots) or a day (copies), so this run was skipped. A run this long is often stuck on a pool that hangs, or on a slow link to another server.
What to do: look in /var/log/zfs.master.log for the run before, and in Tools > System Log for disk errors. If a copy just needs longer, give it a less frequent time.
What it means: the copy landed, but the bookmark that lets the next run send only the changes was not made. The next run needs this run's snapshot instead.
What to do: keep that snapshot until the next run lands. Don't remove it by hand. The next run makes the bookmark again.
What it means: the copy replaced an empty dataset that held the copies below it, but that empty dataset's mark could not be taken off. If the copy ever loses all its snapshots, a run could write over it.
What to do: open the terminal (the >_ button in Unraid's top bar) and run zfs inherit zfs.master:holder <the copy's name>.
What it means: Replicate Every Dataset copies a dataset only after the dataset above it has a copy there. That copy is missing, often because it failed in the same run.
What to do: find the dataset above in the same notification or in /var/log/zfs.master.log, and fix its problem. The datasets below follow once it is copied.
What it means: Keep, Copy Keeps, or Keep Replicas on the receiving server, tried to remove a snapshot its rules no longer keep, and zfs refused. The snapshot stays and uses space. The next run tries again.
If it could not read the snapshots, Keep removed none of them this run. The next run tries again.
What to do: the notification gives zfs's reason. If it keeps failing, remove the snapshot by hand in Snapshots Admin. If a read keeps failing, look in Tools > System Log for disk errors.
What it means: a run puts a hold on the snapshots a copy needs, so nothing removes them during the copy. Taking that hold off failed. Those snapshots stay until a run that lands takes it off.
What to do: wait for the next run. Or, in Snapshots Admin, press Release a hold (the play button) on each one.
What it means: /boot/config/plugins/zfs.master/schedules.json is not a list of schedules. The flash drive may have failed a read, or the file was changed by hand. No schedule runs until it is fixed or removed.
What to do, one of:
- Put back schedules.json from a flash backup.
- Remove it. That removes every schedule, so set them again in Settings.
What it means: the copy goes where ZFS Master NG made an empty dataset to hold the copies of the datasets below this one. zfs can't receive this copy over it when it is encrypted, or when the copy is raw.
What to do, one of:
- For a raw copy: pick Decrypted under Send in Replicate.
- Copy this dataset somewhere else.
- Replace the empty dataset. First rename each copy below it you want to keep (
zfs rename): a destroyed copy loses the snapshots only it has. Then destroy the empty dataset and the rest below it. The next run sends them all. A repeat set in Replicate needs one Replicate by hand first.