From owner-freebsd-hackers@freebsd.org Mon Dec 7 07:49:28 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 A1E3B47A15B for ; Mon, 7 Dec 2020 07:49:28 +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 4CqFnd5RDKz4TDZ for ; Mon, 7 Dec 2020 07:49:25 +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 0B77n4Ha072955 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 7 Dec 2020 18:19:09 +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 0B77mtRd072950 for ; Mon, 7 Dec 2020 18:18:55 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-f0f0b4ff001831caa5b8ac39868c4c7e9b4d12fc: 2001:44b8:1d2:8900:c97d:2e95:9a99:461e Received: from [IPv6:2001:44b8:1d2:8900:c97d:2e95:9a99:461e] ([IPv6:2001:44b8:1d2:8900:c97d:2e95:9a99:461e] [2001:44b8:1d2:8900:c97d:2e95:9a99:461e]) by midget.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id 0B77mn7k072946; Mon, 07 Dec 2020 18:18:55 +1030 From: "Daniel O'Connor" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Date: Mon, 7 Dec 2020 18:18:49 +1030 Subject: zfs send from an ancient system Message-Id: <308513D0-0CA6-462F-B3C6-03BF5A617081@dons.net.au> To: "O'Connor, Daniel via freebsd-hackers" X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Score: 1.4 (*) No, score=1.4 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: 4CqFnd5RDKz4TDZ 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: Mon, 07 Dec 2020 07:49:28 -0000 Hi everyone, I am trying to migrate an ancient (FreeBSD 8.2!) ZFS system to something = newer (12.2). I was hoping to be able to zfs send | zfs recv, however I = get this.. root@newsystem:~ # ssh root@oldsystem zfs send tank/www@20201201-0902 | = zfs recv -d tank/Old cannot receive new filesystem stream: invalid backup stream I have also tried zfs send to a file, copying over and verifying they = are identical, but I get the same result. The new system's zstreamdump seems happy with the stream: [midget 18:14] ~ >zcat /tmp/test.gz| zstreamdump BEGIN record hdrtype =3D 1 features =3D 0 magic =3D 2f5bacbac creation_time =3D 5fc49191 type =3D 2 flags =3D 0x0 toguid =3D 54852dc9f8234af4 fromguid =3D 0 toname =3D www@20201201-0902 END checksum =3D = 100209f0a087fed/dd40d3fa795d846e/ae2049c273df5121/f012e76312cbb2a3 SUMMARY: Total DRR_BEGIN records =3D 1 Total DRR_END records =3D 1 Total DRR_OBJECT records =3D 12961 Total DRR_FREEOBJECTS records =3D 2820 Total DRR_WRITE records =3D 13565 Total DRR_WRITE_BYREF records =3D 0 Total DRR_WRITE_EMBEDDED records =3D 0 Total DRR_FREE records =3D 28490 Total DRR_SPILL records =3D 0 Total records =3D 57838 Total write size =3D 148137472 (0x8d46600) Total stream length =3D 169604120 (0xa1bf418) Is there some debugging that can be enabled to get some idea about = what's going wrong? 'dmesg' doesn't show anything on the sender or = receiver side. 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. Thanks. PS I am well aware of the warning in the man page about send format. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum