Replication from Ubuntu to Truenas Scale

I am using Truenas 25.10.1 and I am trying a replication from a ZFS Pools on Ubuntu to Truenas.

Using SSH only works, but now I want to speed it up using netcat - but I can’t get this working.

The job log is not really helpful. While typing this I thought: Why not starting the script manually.

So, instead of a question, I’ll write and update this post while debugging, maybe someone in the future will help this information.

So I started the zettarepl-script under /tmp manually on that ubuntu to debug further.

First I found that I need to install python3-libzfs (the joblog didn’t gave that error). I’ll

executing that script with all parameters seems to lead to a bug in that script:

Traceback (most recent call last):
File “/tmp/zettarepl–transport–ssh_netcat_helper.py–[hash]”, line 62, in
s = socket.create_server((args.listen, port), family=address_family(args.listen), dualstack_ipv6=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/socket.py”, line 902, in create_server
raise ValueError(“dualstack_ipv6 requires AF_INET6 family”)
ValueError: dualstack_ipv6 requires AF_INET6 family

Ok, there seems to be a problem with the replication script as well:

editing manually the script works for the moment.

1 Like