Created attachment 170818 [details] Update patch Update sysutils/zrep to 1.5.5. - Switch to building from github source - Split the original patch into multiple files (one for each source) - Force rebuild of the zrep script with patches The current port downloads the zrep script from its home page; because the script name has no version distinfo will be invalid when the script is updated.
> @${REINPLACE_CMD} -e 's|#!/bin/ksh -p|#!${PREFIX}/bin/ksh93 -p|' ${WRKSRC}/zrep_top You should use LOCALBASE here, not PREFIX.
(In reply to Dmitry Marakasov from comment #1) Good catch - let me fix it.
Created attachment 170828 [details] Update patch (with LOCALBASE)
Sorry for delay. I've checked this patch and it looks good, I approve it.
Are you guys using zrep to replicate large data? I've been using it and after some days (or until weeks) the source machine just stuck ZFS process and i have to reboot it. I'm replicating every 5 minutes to another server. I tried with different servers and data and same issue happens. I'm not sure if there is something else either with zrep or FreeBSD zfs. Any tip would be helpful. Thanks
(In reply to olevole from comment #4) Do you mind if I jump to 1.6.1 while I'm there?
(In reply to Jimmy Olgeni from comment #6) Please see pr210615 for a patch to 1.6.1.
(In reply to Cassiano Peixoto from comment #5) I am using a newer version of zrep (see pr210615), replicating some 20TB of data on FreeBSD 10.3-amd64. I would think that you are seeing a ZFS issue, not a zrep issue, since zrep uses zfs send/recv "under the hood". Feel free to email me (I'm on the CC list for this bug) if you'd like to discuss the hang you are seeing, rather than continuing here. We can always return here if it turns out to be a zrep problem.
(In reply to Terry Kennedy from comment #7) Nice! Switching to 210615.
Superseded by 210615.
A commit references this bug: Author: olgeni Date: Tue Jul 19 14:54:35 UTC 2016 New revision: 418801 URL: https://svnweb.freebsd.org/changeset/ports/418801 Log: Update sysutils/zrep to version 1.6.1. PR: 209852, 210615 Submitted by: Terry Kennedy Approved by: maintainer (209852) Changes: head/sysutils/zrep/Makefile head/sysutils/zrep/distinfo