ZFS replication not replicating files

Both source and target systems are on SCALE 25.04.1.

My replication stopped working. Nevermind why (I think). So I deleted all the SSH Keys, Connections, snapshots, snapshot tasks and replication tasks on the source I deleted all the data on the target server. SO everything should be nice and “clean.”

I set up a new replication task following Tom’s guide here”

It runs the replication task, but it only seems to be replicating the top level datasets and none of the data. Replication task shows success and takes milliseconds to run.

I am replicating my entire pool (tank) from the source to the target (tank/backups/tank). Regardless if I choose to replicate child datasets, I get the same result. On the target, I get the folders created for all the child datasets, but they are all empty.

I have tried redoing this several times and I get the same results, so I’m stumped.

Any ideas as to why I get the folders at the top level (Files, XenStorage, etc) but no data?

I noticed that there is an update to 25.04.2.3 available, so I will try updating both servers to see if that helps and report back shortly.

1 Like

Updating to 25.04.2.3 had no effect. Same result.

What do I try next?

1 Like

For the replication to work there needs to be snapshots for each of child datasets, not just the parent dataset. There are options you can check to create all those.

That was it – I had the children selected in the snapshot, but did not have “recursive” set in the replication task.

Replication is now running.

Thanks, Tom for your fast reply! You ROCK!

3 Likes