Replication across two FreeNAS boxes - broken pipe

Status
Not open for further replies.

Arseynimz

Cadet
Joined
Feb 3, 2014
Messages
1
Hey all,

I've set up a FreeNAS on a stand alone box, and it is my main NAS box, I've then also set up a FreeNAS on a VM host, and use that as my back up location for a few things, but in particular I have been trying to set the replication feature between the two boxes as found here:
http://doc.freenas.org/index.php/Replication_Tasks

I've set it all up per the instructions, and actioned the various tests which appeared to suceed. However when the replication task runs, I get the following as the output:
Feb 4 14:45:01 RealNAS autosnap.py: [tools.autosnap:57] Popen()ing: /sbin/zfs get -H freenas:state NAS/Data@auto-20140128.1000-1w
Feb 4 14:45:01 RealNAS autosnap.py: [tools.autosnap:57] Popen()ing: /sbin/zfs get -H freenas:state NAS/Data@auto-20140127.1000-1w
Feb 4 14:45:02 RealNAS autorepl.py: [common.pipesubr:71] Executing: (/sbin/zfs send -V NAS/Data@auto-20140127.1000-1w | /bin/dd obs=1m | /bin/dd obs=1m | /usr/bin/ssh -c arcfour256,arcfour128,blowfish-cbc,aes128-ctr,aes192-ctr,aes256-ctr -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -q -l backup -p 22 VirtualNAS "/sbin/zfs receive -F -d vNAS/Backups && echo Succeeded.") > /tmp/repl-64807 2>&1
Feb 4 14:45:02 RealNAS autorepl.py: [common.pipesubr:57] Popen()ing: /usr/bin/ssh -c arcfour256,arcfour128,blowfish-cbc,aes128-ctr,aes192-ctr,aes256-ctr -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -q -l backup -p 22 VirtualNAS "zfs list -Hr -o name -t snapshot -d 1 vNAS/Backups/Data | tail -n 1 | cut -d@ -f2"
Feb 4 14:45:02 NAS autorepl.py: [tools.autorepl:332] Replication of NAS/Data@auto-20140127.1000-1w failed with dd: stdout: Broken pipe 2048+0 records in 0+0 records out 0 bytes transferred in 0.061027 secs (0 bytes/sec) dd: stdout: Broken pipe 4087+21 records in 1+0 records out 1048576 bytes transferred in 0.062001 secs (16912246 bytes/sec) warning: cannot send 'NAS/Data@auto-20140127.1000-1w': Broken pipe

I've not found any real solid options around this in my searches other than a few people saying time to reinstall.

Both FreeNAS were upgraded to 9.2 recently, and this is the first time I've attempted replication so have no 'stake in the ground' as it were. Any advice would be appreciated on where to go next as I am really not keen to try to reinstall!
 

Thomas BS

Cadet
Joined
Feb 4, 2014
Messages
2
Hi Arseyenimz,

I have exactly the same problem. My researches in the net came to the only answer: you have to initialize the remote site again (checkbox in replication settings).
I could not find an official solution in the documentation.

Maybe somebody from freenas can provide a solid answer - hopefully a solution better than re-initializing the remote-side :smile:

In my case I am running one box during the time I am working and the other box only for an hour every other day. That means: there are only 1-4 hours in a week where both FreeNAS-Boxes are switched on. I would prefer a solution the allows such a scenario without broken pipe.

Thanks in advance!

Thomas
 
Status
Not open for further replies.
Top