Hi,
I have set replication between two FreeNAS storage. I am pushing data from one to another, and everything seems to be OK until I got some weird error:
Error
I/O error
most recent snapshot of Replica/ZFS does not
match incremental source.
Logs
[2020/05/15 00:34:48] INFO [Thread-98] [zettarepl.paramiko.replication_task__task_7] Connected (version 2.0, client OpenSSH_8.0-hpn14v15)
[2020/05/15 00:34:48] INFO [Thread-98] [zettarepl.paramiko.replication_task__task_7] Authentication (publickey) successful!
[2020/05/15 00:34:57] INFO [replication_task__task_7] [zettarepl.replication.run] For replication task 'task_7': doing push from 'production/ZFS' to 'Replica/ZFS' of snapshot='auto-2020-05-15_00-00' incremental_base='auto-2020-05-14_00-00' receive_resume_token=None
[2020/05/15 00:34:57] INFO [replication_task__task_7] [zettarepl.paramiko.replication_task__task_7.sftp] [chan 67] Opened sftp connection (server version 3)
[2020/05/15 00:34:57] INFO [replication_task__task_7] [zettarepl.transport.ssh_netcat] Automatically chose connect address '134.107.107.245'
[2020/05/15 00:34:58] ERROR [replication_task__task_7] [zettarepl.replication.run] For task 'task_7' unhandled replication error SshNetcatExecException(ExecException(1, 'I/O error\n'), ExecException(1, 'most recent snapshot of Replica/ZFS does not\nmatch incremental source\n'))
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 142, in run_replication_tasks
run_replication_task_part(replication_task, source_dataset, src_context, dst_context, observer)
File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 203, in run_replication_task_part
... 6 more lines ...
ReplicationProcessRunner(process, monitor).run()
File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/process_runner.py", line 33, in run
raise self.process_exception
File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/process_runner.py", line 37, in _wait_process
self.replication_process.wait()
File "/usr/local/lib/python3.7/site-packages/zettarepl/transport/ssh_netcat.py", line 183, in wait
raise SshNetcatExecException(connect_exec_error, self.listen_exec_error) from None
zettarepl.transport.ssh_netcat.SshNetcatExecException: I/O error
most recent snapshot of Replica/ZFS does not
match incremental source
I do have snapshots which are created daily but shouldn't this replication backup everything? why sudden does not match incremental source?
and how can I fix this?
I have set replication between two FreeNAS storage. I am pushing data from one to another, and everything seems to be OK until I got some weird error:
Error
I/O error
most recent snapshot of Replica/ZFS does not
match incremental source.
Logs
[2020/05/15 00:34:48] INFO [Thread-98] [zettarepl.paramiko.replication_task__task_7] Connected (version 2.0, client OpenSSH_8.0-hpn14v15)
[2020/05/15 00:34:48] INFO [Thread-98] [zettarepl.paramiko.replication_task__task_7] Authentication (publickey) successful!
[2020/05/15 00:34:57] INFO [replication_task__task_7] [zettarepl.replication.run] For replication task 'task_7': doing push from 'production/ZFS' to 'Replica/ZFS' of snapshot='auto-2020-05-15_00-00' incremental_base='auto-2020-05-14_00-00' receive_resume_token=None
[2020/05/15 00:34:57] INFO [replication_task__task_7] [zettarepl.paramiko.replication_task__task_7.sftp] [chan 67] Opened sftp connection (server version 3)
[2020/05/15 00:34:57] INFO [replication_task__task_7] [zettarepl.transport.ssh_netcat] Automatically chose connect address '134.107.107.245'
[2020/05/15 00:34:58] ERROR [replication_task__task_7] [zettarepl.replication.run] For task 'task_7' unhandled replication error SshNetcatExecException(ExecException(1, 'I/O error\n'), ExecException(1, 'most recent snapshot of Replica/ZFS does not\nmatch incremental source\n'))
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 142, in run_replication_tasks
run_replication_task_part(replication_task, source_dataset, src_context, dst_context, observer)
File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 203, in run_replication_task_part
... 6 more lines ...
ReplicationProcessRunner(process, monitor).run()
File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/process_runner.py", line 33, in run
raise self.process_exception
File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/process_runner.py", line 37, in _wait_process
self.replication_process.wait()
File "/usr/local/lib/python3.7/site-packages/zettarepl/transport/ssh_netcat.py", line 183, in wait
raise SshNetcatExecException(connect_exec_error, self.listen_exec_error) from None
zettarepl.transport.ssh_netcat.SshNetcatExecException: I/O error
most recent snapshot of Replica/ZFS does not
match incremental source
I do have snapshots which are created daily but shouldn't this replication backup everything? why sudden does not match incremental source?
and how can I fix this?