replication failed - local

Status
Not open for further replies.

mazdajai

Dabbler
Joined
Jul 15, 2011
Messages
30
Hi,

I am trying to configure local replication to another disk.

I created snapshot task, specified localhost and added the public key but never get it to work. I tried deleting and recreating the snapshots but no luck. Any thoughts?


Code:
Hello,
	The system was unable to replicate snapshot vol1 to localhost
======================
dd: stdout: Broken pipe
2048+0 records in
0+0 records out
0 bytes transferred in 0.073554 secs (0 bytes/sec)
dd: stdout: Broken pipe
4086+20 records in
1+0 records out
1048576 bytes transferred in 0.074651 secs (14046375 bytes/sec)
warning: cannot send 'vol1@auto-20150406.1300-1w': Broken pipe


Code:
[root@nas01 ~]# tail /var/log/messages
Oct 17 23:00:02 nas01 autosnap.py: [tools.autosnap:57] Popen()ing: /sbin/zfs get -H freenas:state vol1/jails@auto-20150425.0100-1w
Oct 17 23:00:02 nas01 autosnap.py: [tools.autosnap:57] Popen()ing: /sbin/zfs get -H freenas:state vol1/jails/transmission_1@auto-20150408.0100-1w
Oct 17 23:00:02 nas01 autosnap.py: [tools.autosnap:57] Popen()ing: /sbin/zfs get -H freenas:state vol1/jails/.warden-template-pluginjail@auto-20150407.1700-1w
Oct 17 23:00:03 nas01 autorepl.py: [common.pipesubr:71] Executing: (/sbin/zfs send -V vol1@auto-20150406.1300-1w | /bin/dd obs=1m | /bin/dd obs=1m | /usr/bin/ssh -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -q -p 22 localhost "/sbin/zfs receive -F -d rep && echo Succeeded.") > /tmp/repl-48504 2>&1
Oct 17 23:00:03 nas01 autorepl.py: [common.pipesubr:57] Popen()ing: /usr/bin/ssh -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -q -p 22 localhost "zfs list -Hr -o name -t snapshot -d 1 rep | tail -n 1 | cut -d@ -f2"
Oct 17 23:00:03 nas01 autorepl.py: [tools.autorepl:332] Replication of vol1@auto-20150406.1300-1w failed with dd: stdout: Broken pipe 2048+0 records in 0+0 records out 0 bytes transferred in 0.071057 secs (0 bytes/sec) dd: stdout: Broken pipe 4085+22 records in 1+0 records out 1048576 bytes transferred in 0.075310 secs (13923465 bytes/sec) warning: cannot send 'vol1@auto-20150406.1300-1w': Broken pipe



Build
FreeNAS-9.2.0-RELEASE-x64 (ab098f4)
Platform Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz

Memory 16087MB

Periodic Snapshot Task:
http://i.imgur.com/KuRdltR.png

ZFS replication:
http://i.imgur.com/6AuhbPY.png
 

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,477
Just from a quick glance, it seems your SSH connection is not working. Was it working before but then stopped or is this first time setting it up? You followed the steps in the manual?

Is there a reason you are running a put of date version of freenas?
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
FreeNAS 9.2 is quite an old version now btw. It's possible whatever issue you have has been fixed in a newer build
 
Status
Not open for further replies.
Top