Code:
[zettarepl.replication.run] After recoverable error sleeping for 1 seconds [2022/12/26 11:44:31] INFO [replication_task__task_1] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: [] [2022/12/26 11:44:31] ERROR [replication_task__task_1] [zettarepl.replication.run] For task 'task_1' non-recoverable replication error ReplicationError("Full ZFS replication failed to transfer all the children of the snapshot NASvol@auto-20221226.0111-2w. The error was: cannot unmount '/var/db/system/syslog-cadb1ce96f8c4a01a65be3ef8f5cb996': pool or dataset is busy\nBroken pipe. The snapshot NASvol/.system@auto-20221226.0111-2w was not transferred. Please run `zfs destroy -r NASvol@auto-20221226.0111-2w` on the target system and run replication again.")
I built me a new box running Core 13.0-U3.1, 8TBx8 RAID-Z2, need to move everything I have from my old box running 11.0-U4 (2TBx8, RAID-Z2).
I looked up the best way to move everything, and the opinion I found on this very forum that ZFS replication has better performance than something like rsync, and I definitely wanted to avoid copying using SMB.
I set up snapshots on the old box, set up the replication task on the new box as a PULL, with SSH connection, it found the snapshots on the old box, then I encountered the "option c" problem which I found the solution to here by disabling compressed writes, and then the replication job started.
Here's the first problem: it's sloooow! Based on what I read here this was supposed to be the fast method. The old box easily saturates the gigabit link when I use SMB. (The two boxes were put on the same shelf connected to the same switch.) But this replication was only going 16Mbyte/second!!! That's way too slow, it should be in the neighborhood of a 100! At that rate it would take 6 days to replicate, instead of the expected day and a half. I was going to ask here, when I got around to it, so I left it running overnight.
...When I woke up I found that replication failed, not even close to making much progress, with the above error.
So my question is, how do I make the full replication work, and make it saturate the network, like it normally does when I copy files using SMB?
Or is there a better way to move my files? My files are mostly large files, movies, disk images, backup images, that sort of thing, about 95% of it, no reason for slowdown due to small files.
Insight is appreciated.
Last edited: