SOLVED Replication error

normanu

Dabbler
Joined
Jul 19, 2018
Messages
17
I have a problem with replication which I haven't find on the forum yet.
SSH both sides work without issue.

The problem I'm getting is

Code:
Feb  8 20:42:05 freenas /autorepl.py: [tools.autorepl:221] Autosnap replication started
Feb  8 20:42:05 freenas /autorepl.py: [tools.autorepl:222] temp log file: /tmp/repl-88243
Feb  8 20:42:05 freenas /autorepl.py: [tools.autorepl:291] Checking dataset storage
Feb  8 20:42:06 freenas /autorepl.py: [tools.autorepl:336] ds = Backup, remotefs = External/Backup
Feb  8 20:42:06 freenas /autorepl.py: [tools.autorepl:344] Unable to create remote dataset External/Backup:
Connection to 192.168.1.251 closed by remote host.
Feb  8 20:42:06 freenas /autorepl.py: [tools.autorepl:336] ds = Backup/storage, remotefs = External/Backup
Feb  8 20:42:06 freenas /autorepl.py: [tools.autorepl:344] Unable to create remote dataset External/Backup:
Connection to 192.168.1.251 closed by remote host.
Feb  8 20:42:06 freenas /autorepl.py: [tools.autorepl:625] Autosnap replication finished


Above is on the push side.

The pool External/Backup is created on the pull side, but also when I remove it.
The script won't create it.
 

normanu

Dabbler
Joined
Jul 19, 2018
Messages
17
Ah I finally found it .... and it was so stupidly easy ....
I selected Encryption cipher disabled as it was a local transfer.
But this was disabled on the receiving ssh daemon.
 

normanu

Dabbler
Joined
Jul 19, 2018
Messages
17
Ok I was a bit to fast in the above.
It seems it is working, but its not.
Its not transferring....

Code:
Feb  8 20:56:06 freenas /autorepl.py: [tools.autorepl:131] Sending zfs snapshot: /sbin/zfs send -V storage/iSCSI/vm-100-disk-0@auto-20190207.0815-2w | /usr/local/bin/lz4c | /usr/local/bin/pipewatcher $$ | /usr/local/bin/ssh -c arcfour256,arcfour128,blowfish-cbc,aes128-ctr,aes192-ctr,aes256-ctr -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -o ConnectTimeout=7 -p 22 192.168.1.251 "/usr/bin/env lz4c -d | /sbin/zfs receive -F -d 'External/Backup' && echo Succeeded"
Feb  8 20:57:02 freenas /autosnap.py: [ws4py:360] Closing message received (1000) 'b'''
Feb  8 20:57:05 freenas /autorepl.py: [ws4py:360] Closing message received (1000) 'b'''
Feb  8 20:57:05 freenas /autorepl.py: [tools.autorepl:172] Checking if process 91905 is still alive
Feb  8 20:57:05 freenas /autorepl.py: [tools.autorepl:179] Process 91905 gone
Feb  8 20:57:05 freenas /autorepl.py: [tools.autorepl:221] Autosnap replication started
Feb  8 20:57:05 freenas /autorepl.py: [tools.autorepl:222] temp log file: /tmp/repl-92110
Feb  8 20:57:05 freenas /autorepl.py: [tools.autorepl:291] Checking dataset storage
Feb  8 20:57:06 freenas /autorepl.py: [tools.autorepl:131] Sending zfs snapshot: /sbin/zfs send -V storage/iSCSI/vm-100-disk-0@auto-20190207.0815-2w | /usr/local/bin/lz4c | /usr/local/bin/pipewatcher $$ | /usr/local/bin/ssh -c arcfour256,arcfour128,blowfish-cbc,aes128-ctr,aes192-ctr,aes256-ctr -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -o ConnectTimeout=7 -p 22 192.168.1.251 "/usr/bin/env lz4c -d | /sbin/zfs receive -F -d 'External/Backup' && echo Succeeded"
 
Top