From nobody Tue Sep 20 09:29:05 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 4MWx7w6zgjz4cZ7M for ; Tue, 20 Sep 2022 09:29:16 +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 4MWx7v6Y7Nz3vd8 for ; Tue, 20 Sep 2022 09:29:15 +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 9A16E1D137; Tue, 20 Sep 2022 11:29:08 +0200 (CEST) Date: Tue, 20 Sep 2022 11:29:05 +0200 From: Julien Cigar To: mike tancsa , freebsd-questions@FreeBSD.org Subject: Re: zfs replication tool Message-ID: <20220920092905.3k7qzt7lvhywhcfn@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> 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="ktklfk47jqzvji75" Content-Disposition: inline In-Reply-To: <20220916140236.jeizzganrtnsrhlo@x1> X-Rspamd-Queue-Id: 4MWx7v6Y7Nz3vd8 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.45 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-0.99)[-0.993]; NEURAL_HAM_SHORT(-0.99)[-0.993]; NEURAL_HAM_MEDIUM(-0.96)[-0.963]; 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)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=2GvD=ZX=perdition.city=julien@bebif.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)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --ktklfk47jqzvji75 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 and > > > 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) w= ere > > FreeBSD bugs in the end > >=20 > > https://github.com/freebsd/freebsd-src/commit/1820ca2154611d6f27ce5a5fd= d561a16ac54fdd8 > >=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! 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/s= ilenius/b8aaf68dae5c941397df44184cd33d7b >=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 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. --ktklfk47jqzvji75 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmMph90ACgkQCLYqJMpB Hmk9rw//V+YcweiqdPguWTNPS16eO7hDvVNk9L/9w0ZbcFH/wGL8JXMxCN0LlfK0 SNlw1J1VRrqWjVz2XMryTKSKNN63D5Yj8Xm4Ru0EMzfkt5G6oJ0IC0XNmHb1oUH0 osycawHQOCwF9v/OS843t76Rvipk2Kh3w+mJE1zeWhPoY8bBQAAvn2XemK5d79aL kIMSwRH2CpaCqwh+T2qel6XvxRy0jlH+sq4w/4YKqFLoJAQtAQopybMaDscESKsB KSqYz/kYbEnH0T/8PXytgzdL0gN3Fnj87/7EiIT+Gjc5upsm4F//KDSf+S8blxa9 kAbf3CfoViY9nAQN5NCoaO8H4fA6e6m7iPajra7rYGrXx07pLXC1imI7p5ud3nfS D2T7V0jCp/af8zaZUVpqcDK7qMi1AxyO8VAZtX7jw0dI/gvbTuT4e+PJddB/G7Dp ERecSC+UIq1x7LYO1KDR74+53RpYiNyROTMubRcbp1jCrlOE2K3GKEBpWLQenjSf a7vlO20E14PbaBce/rF6Hvslq6N5vM7tT4PP0/NnwCTLN6qlVJ3RyHnFi2UZ2rB7 3ebSZQcDTn3OPiLVqu5IES1vs9B3ojDbOw3kEvhUO1WOsTFHyJ3GJFUwWl3eYtUI UvsmcbJk16irTDkSLe7MMqzjN0NkNqXPMpV47K4DZXosyxVQ9xQ= =e3he -----END PGP SIGNATURE----- --ktklfk47jqzvji75--