From owner-freebsd-hackers@freebsd.org Wed Dec 9 02:17:58 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E1D604B333A for ; Wed, 9 Dec 2020 02:17:58 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (midget.dons.net.au [IPv6:2403:5800:5101:0:ea:1cff:fefa:f00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "dons.net.au", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CrLLD50xxz3l58 for ; Wed, 9 Dec 2020 02:17:55 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.16.1/8.16.1) with ESMTPS id 0B92Hdwb098773 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 9 Dec 2020 12:47:39 +1030 (ACDT) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.16.1/8.16.1/Submit) id 0B92HHnx098760 for ; Wed, 9 Dec 2020 12:47:17 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-f0f0b4ff001831caa5b8ac39868c4c7e9b4d12fc: 2001:44b8:1d2:8900:c994:33e1:76d8:4115 Received: from [IPv6:2001:44b8:1d2:8900:c994:33e1:76d8:4115] ([IPv6:2001:44b8:1d2:8900:c994:33e1:76d8:4115] [2001:44b8:1d2:8900:c994:33e1:76d8:4115]) by midget.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id 0B92HCIk098759; Wed, 09 Dec 2020 12:47:17 +1030 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: zfs send from an ancient system From: "Daniel O'Connor" In-Reply-To: <3363BCBC-0F1A-4B28-8A1A-58D0950DF15A@dons.net.au> Date: Wed, 9 Dec 2020 12:47:12 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <308513D0-0CA6-462F-B3C6-03BF5A617081@dons.net.au> <3363BCBC-0F1A-4B28-8A1A-58D0950DF15A@dons.net.au> To: "O'Connor, Daniel via freebsd-hackers" X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Score: 2.2 (**) No, score=2.2 required=5.0 tests=HELO_MISC_IP, HELO_NO_DOMAIN, RDNS_NONE, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.4 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4CrLLD50xxz3l58 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2403:5800:5101:0:ea:1cff:fefa:f00:from]; R_DKIM_ALLOW(-0.20)[dons.net.au:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2403:5800:5101:0:ea:1cff:fefa:f00:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dons.net.au:+]; DMARC_POLICY_ALLOW(-0.50)[dons.net.au,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800:5000::/36, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2020 02:17:58 -0000 > On 7 Dec 2020, at 23:06, Daniel O'Connor wrote: >> On 7 Dec 2020, at 18:18, Daniel O'Connor wrote: >> I am sure I have done this in the past from this machine, = unfortunately I don't have the receiving machine any more as it got = repurposed. >=20 > I created a new test FS on the 8.2 machine with a single file in it = and it reproduces the problem. >=20 > I did some tests with an md(4) backed zpool and it works on = 11.3-RELEASE-p5 and fails on 12.0-RELEASE-p10. I did a bisect and found the commit: commit 46cdbe4a7a57c13eb35e99a5abea862ef346524f (HEAD) Author: mmacy Date: Sun Aug 12 00:45:53 2018 +0000 MFV/ZoL: Implement large_dnode pool feature commit 50c957f702ea6d08a634e42f73e8a49931dd8055 Author: Ned Bass Date: Wed Mar 16 18:25:34 2016 -0700 Implement large_dnode pool feature ... Notes: svn path=3D/head/; revision=3D337669 I did try creating a pool with no features enabled (zpool create -d ...) = but it still failed. > Also, it appears I can 'launder' the send through the 11.3 machine, ie = recv on it then send to the 12.2 system and it works. >=20 > Tested with the following: > truncate -s 100M /tmp/zfs.1 > sudo mdconfig -t vnode -f /tmp/zfs.1 > sudo zpool create testtank /dev/md0 > curl http://www.gsoft.com.au/~doconnor/test.zfssend.gz | gzip -d | = sudo zfs recv -vd testtank > sudo zpool destroy testtank > sudo mdconfig -u md0 -d > rm /tmp/zfs.1 >=20 > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum >=20 -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum