From nobody Fri Sep 23 08:57:54 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MYmJX6pmzz4cStl for ; Fri, 23 Sep 2022 08:58:04 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MYmJX047Zz3hn2 for ; Fri, 23 Sep 2022 08:58:03 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1663923475; bh=OoUpGR6CRZxhF5mJmG8lFu8zwOi7zhl5uCZSMG3YInk=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject: Content-Language:To:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=VpIo3OD5m1lq4R6csOWIacDjg1vNmPkzLDJKPjyFpigvz6ZeU3pxrRohyu+OemuTI HS7VzLrr8bEOnpulO6WwAGTt3Wbq9JENAdHk8VaSbKNDsZdn+eX5FTWwLcP+iYnepO pSEwRryWM/Z5dWLBlpz1kf0F9BT62jR+wBXeH068xfJbhpDIE34XyQbtP2GoDFX8uK ceXH02rVnOAMSXo9F4h/7J8BGc9bc2fSI4fpKf5muIcVcyZkc21UeoOc8qohyhrZ6h 1Fx3ZGZQnnm+LSJKbuCKCDW0a5PxW5QZeMwLdHuxjoiHGvhiKiDrnlFZRhCyS6P8sT xstCTGh9yulD8sYdXgCD6af3bQXK/mYMPWl/3q+iBupH3POs6OGr1w+EEsNjC/4vmG jiGnigQtwPYFOQ8L7WAez7W7tT68Yn0WvVu/M2W1V/GzouKmg8F+G9TpqrVx2GHIPS C6pq00qBJVspHOybn3mw/cQJ04Gcn2JFPNOW+BHMN34cUAuUqgpNdjnf+JFd1tOzvE 3AzJmaJTOM5Jt9WyljGSVQQ09C6ach1XgnT+08VCrc+JiOYLr+HBHUes218athoXRa PhDG5B/VFXgkjgm+DuUqxzmCujgp/qRBELtCa3PMdtIXSp8RLxrjwwzKAJt1znn/Pl U8XsT6ox24J8UeKOQK/7zpwk= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Fri, 23 Sep 2022 01:57:55 -0700 Message-ID: <498d478e-7fe7-1840-6263-930b498c5bbf@holgerdanske.com> Date: Fri, 23 Sep 2022 01:57:54 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: zfs replication tool Content-Language: en-US To: questions@freebsd.org References: <0a0ba81b-88f2-fa75-9abe-6f41da5d2c69@sentex.net> <20220916140236.jeizzganrtnsrhlo@x1> <20220920092905.3k7qzt7lvhywhcfn@x1> <20220920122029.ufsoyo47qnxtmcqk@x1> <20220920132503.8bfd124b9697d90e474086b3@sohara.org> <20220920125154.n7lcqr3xzhsrylzr@x1> <20220920142314.df043149e82d63cbd289a92e@sohara.org> <4cf58433-a13b-9b35-fc3e-8fad6b2ac93d@sentex.net> <20220920141006.n6x6mxpafy3zqpk3@x1> <20220923080305.alrgrrnxljtweo3i@x1> From: David Christensen In-Reply-To: <20220923080305.alrgrrnxljtweo3i@x1> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4MYmJX047Zz3hn2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=VpIo3OD5; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 2001:470:0:19b::b869:801b as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; R_SPF_ALLOW(-0.20)[+a:november.he.net]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[holgerdanske.com:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 9/23/22 01:03, Julien Cigar wrote: > I'm still getting replication errors with zrepl on my test installation, > see https://github.com/zrepl/zrepl/issues/631 for details. The initial > transfer works, but after that I'm getting weird "cannot receive > incremental stream: destination ..." messages, despite all snapshots > have been well preserved on both side Does zrepl script the zfs(8) command or does zrepl make ZFS API calls? Does zrepl have xtrace, verbose, debug, etc., options? I wrote homebrew scripts to automate ZFS replication and I saw that error message many times in the past. The solution was to add the '-F' option to the 'zfs receive' commands. Is there a way to do this with zrepl? David