Background information…
I had a TrueNAS Scale instance that was virtualized on ProxMox and was service a Samba windows share drive. Two enterprise 10GB HDDs mirrored.
I decided that I wanted to go with two (prime and backup) NAS devices running TrueNAS Scale on bare metal. Running 25.04 bare metal on both new NAS devices.
I’m trying to migrate from the old device to the new ones…
First Attempt:
I built one of the two NAS devices using a second set of mirrored HDDs. I was getting permission errors on the source side that I forget the details about now. I removed the ACL and deleted the SAMBA share. Gave up and moved on to attempt below.
Second Attempt.
I moved the physical HDDs from the old system to the new NAS and TNS recognized the ZFS data and they imported seemingly fine. GREAT!!!
Now I want to replicate that dataset to the other NAS.
Getting permission errors again trying to replicate from the new primary NAS with the detected/imported dataset to the backup.
Does anyone recognize this problem?
FAILED
[EFAULT] Passive side: cannot send ‘Enterprise Disks/Win-Share’: I/O error Active side: cannot unmount ‘/var/db/system/samba4’: permission denied.
[2025/10/24 09:27:09] INFO [Thread-23] [zettarepl.paramiko.replication_task__task_1] Connected (version 2.0, client OpenSSH_9.2p1)
[2025/10/24 09:27:09] INFO [Thread-23] [zettarepl.paramiko.replication_task__task_1] Authentication (publickey) successful!
[2025/10/24 09:27:09] INFO [replication_task__task_1] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2025/10/24 09:27:09] INFO [replication_task__task_1] [zettarepl.paramiko.replication_task__task_1.sftp] [chan 5] Opened sftp connection (server version 3)
[2025/10/24 09:27:09] INFO [replication_task__task_1] [zettarepl.replication.run] For replication task 'task_1': doing push from 'Enterprise Disks/Win-Share' to 'Enterprise_Disks' of snapshot='auto-2025-10-18_12-00' incremental_base=None include_intermediate=False receive_resume_token=None encryption=False
[2025/10/24 09:27:09] INFO [replication_task__task_1] [zettarepl.transport.ssh_netcat] Automatically chose connect address '10.10.1.27'
[2025/10/24 09:27:09] ERROR [replication_task__task_1] [zettarepl.replication.run] For task 'task_1' unhandled replication error SshNetcatExecException(ExecException(1, "cannot send 'Enterprise Disks/Win-Share': I/O error\n"), ExecException(1, "cannot unmount '/var/db/system/samba4': permission denied\n"))
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/zettarepl/replication/run.py", line 181, in run_replication_tasks
retry_contains_partially_complete_state(
... 12 more lines ...
File "/usr/lib/python3/dist-packages/zettarepl/replication/run.py", line 793, in run_replication_step
ReplicationProcessRunner(process, monitor).run()
File "/usr/lib/python3/dist-packages/zettarepl/replication/process_runner.py", line 33, in run
raise self.process_exception
File "/usr/lib/python3/dist-packages/zettarepl/replication/process_runner.py", line 37, in _wait_process
self.replication_process.wait()
File "/usr/lib/python3/dist-packages/zettarepl/transport/ssh_netcat.py", line 210, in wait
raise SshNetcatExecException(connect_exec_error, self.listen_exec_error) from None
zettarepl.transport.ssh_netcat.SshNetcatExecException: Passive side: cannot send 'Enterprise Disks/Win-Share': I/O error
Active side: cannot unmount '/var/db/system/samba4': permission denied
Is there maybe some leftover from the original smb share that I deleted?