From nobody Tue Sep 20 12:20:29 2022 X-Original-To: freebsd-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 4MX0xc3RPqz4d1t3 for ; Tue, 20 Sep 2022 12:20:36 +0000 (UTC) (envelope-from SRS0=2GvD=ZX=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4MX0xZ4wDLz47Lh for ; Tue, 20 Sep 2022 12:20:34 +0000 (UTC) (envelope-from SRS0=2GvD=ZX=perdition.city=julien@bebif.be) Received: from x1 (unknown [10.209.1.149]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id 2FEDB1D14A; Tue, 20 Sep 2022 14:20:33 +0200 (CEST) Date: Tue, 20 Sep 2022 14:20:29 +0200 From: Julien Cigar To: mike tancsa , freebsd-questions@FreeBSD.org Subject: Re: zfs replication tool Message-ID: <20220920122029.ufsoyo47qnxtmcqk@x1> Mail-Followup-To: mike tancsa , freebsd-questions@FreeBSD.org References: <20220916133046.znfelln3fisrjnuz@x1> <20220916134918.hz6glg3nfwr3ouu4@x1> <0a0ba81b-88f2-fa75-9abe-6f41da5d2c69@sentex.net> <20220916140236.jeizzganrtnsrhlo@x1> <20220920092905.3k7qzt7lvhywhcfn@x1> 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="krc6bwrzd7wigpxa" Content-Disposition: inline In-Reply-To: <20220920092905.3k7qzt7lvhywhcfn@x1> X-Rspamd-Queue-Id: 4MX0xZ4wDLz47Lh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of "SRS0=2GvD=ZX=perdition.city=julien@bebif.be" designates 193.191.208.90 as permitted sender) smtp.mailfrom="SRS0=2GvD=ZX=perdition.city=julien@bebif.be" X-Spamd-Result: default: False [-4.48 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; NEURAL_HAM_SHORT(-0.99)[-0.995]; NEURAL_HAM_LONG(-0.99)[-0.993]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=2GvD=ZX=perdition.city=julien@bebif.be]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[perdition.city]; TO_DN_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=2GvD=ZX=perdition.city=julien@bebif.be] X-ThisMailContainsUnwantedMimeParts: N --krc6bwrzd7wigpxa Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 20, 2022 at 11:29:05AM +0200, Julien Cigar wrote: > On Fri, Sep 16, 2022 at 04:02:36PM +0200, Julien Cigar wrote: > > On Fri, Sep 16, 2022 at 09:56:36AM -0400, mike tancsa wrote: > > > On 9/16/2022 9:49 AM, Julien Cigar wrote: > > > > sysutils/zrepl works really well for me. > > > > > Check out the filter syntax to see if it meets your requirements > > > > >=20 > > > > > https://zrepl.github.io/configuration/filter_syntax.html > > > > >=20 > > > > > =C2=A0=C2=A0=C2=A0 ---Mike > > > > thanks, I used zrepl in the past and I experienced some deadlocks a= nd > > > > crashes which I why I switched to sanoid (which doesn't support > > > > recursivity without zfs snapshot -r) > > >=20 > > > Those deadlocks / crashes (if they are the ones I was thinking about)= were > > > FreeBSD bugs in the end > > >=20 > > > https://github.com/freebsd/freebsd-src/commit/1820ca2154611d6f27ce5a5= fdd561a16ac54fdd8 > > >=20 > > > https://github.com/zrepl/zrepl/issues/411#issuecomment-821878812 > > >=20 > > > Its been rock solid for me since those commits / fixes > >=20 > > ok, I'll give zrepl another chance :) thanks for pointing this! >=20 > it looks like zrepl snapshots aren't atomic across datasets too. I'm > testing on a local "test" machine and it gives me https://gist.github.com= /silenius/b8aaf68dae5c941397df44184cd33d7b also the thing I don't like with zrepl is that snapshot management and replication are tightly coupled. It looks like replicating a host "A" to "B" and "C" (classical local and off-site backup) is not possible without dirty hacks and race conditions ... >=20 > >=20 > > >=20 > > > =C2=A0=C2=A0=C2=A0 ---Mike > > >=20 > > >=20 > > >=20 > > >=20 > >=20 > > --=20 > > Julien Cigar > > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > >=20 > > No trees were killed in the creation of this message. > > However, many electrons were terribly inconvenienced. >=20 >=20 >=20 > --=20 > Julien Cigar > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 >=20 > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. --=20 Julien Cigar PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --krc6bwrzd7wigpxa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmMpsAkACgkQCLYqJMpB Hmk+Mg/+PPo7sItoAyejK3XCF6wa1CK1XelTAocQ7dTjIF1Kuc3F1GZzzl97vdIN g1QNNyVtdtLf3ezJiRY8b14S9QOORBA3GqX6KfnPCvQJ9SWoUCphfE4vyYYBFrvw PyrG42R15aJB2S0DiZ5xZE2FB648TRThOQWeMvIZ4OQPUS0SKCdzQbS6TdGPeTK6 p0wWgqVRjoJE/QxnBKho2tDraB2w5ULs8w0WmzDPbbNtn6+OpMh5ZnX7w1kOCdYS NfboKfrGIGinXqFvH20q+4YC8JZsinjxv7dKZqkYiW9P+Q7oEK8aCmEYo1M9J2D+ l6oMmUE95Oq2svyLWbOonWmsvpA3oIv0T5avnDl1GWgk50i0k9rrG+J5Ubj2JphT eOmCrfs8wLYlpsl8ZUWWdOSM7bJMHJZjVbx7YrDNE44maNkD0/8McYTdR0KN3aV7 pIzrWfLwWXuYauzLqjW37IIIhEltAdRK8Z0beuhJoxnOgxNEGgKfVyZF5kvXSe2D ce/8HDl95NzuhAHcX6+IowkyYLN57ix5KDMAf4OfcRq8wvtmiRmq7YoAruGyiMkr epdNhSG2FGPJfF6i12e/NYLdwL39LjMzT/31zX7014Rm2UaaRtMPn6OWGA6N/n5U b1mU0KdI8tXErM+fCIpgL4a1l0c+REOH3trPMO47FW5EJ/eGJTs= =X+sV -----END PGP SIGNATURE----- --krc6bwrzd7wigpxa--