From owner-freebsd-current@freebsd.org Tue Sep 1 17:32:22 2020 Return-Path: Delivered-To: freebsd-current@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 6E2A13D0875 for ; Tue, 1 Sep 2020 17:32:22 +0000 (UTC) (envelope-from 010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@amazonses.com) Received: from a48-97.smtp-out.amazonses.com (a48-97.smtp-out.amazonses.com [54.240.48.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BgvK11sZkz3fqc for ; Tue, 1 Sep 2020 17:32:20 +0000 (UTC) (envelope-from 010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@amazonses.com) Reply-To: lausts@acm.org To: freebsd-current@freebsd.org From: Thomas Laus Subject: What is the zstreamdump command in OpenZFS? Autocrypt: addr=lausts@acm.org; prefer-encrypt=mutual; keydata= mQGiBDx1NWwRBADARalI5I8kGeBYYYWnZB73T1fU4333yCuRokRvzlAZ5Zhb3hqsNdTEMheN FDjZSL8J5jeJtvSRinY2p09CxpAMoJR9zHLmHl+zEOY8fInbB+KiFtSfGf0blSEY9/+isQP9 xmUIQWUj0kwVtrns7m1HrYLiI07NVFzbHNKqQcbPuwCg0n/KKi+VJiUs5MqLKwGuPotGeZME AIluMetTQwfLyovundMwFYlSZ/Z8JjkMybqgKuiRrZnaBVVZ80NjAYZI73yAZPfQh9mvFxW9 ipc2tSALwDy/tYDpQRK0k+0EsDmwG/wM6OarkqSuFcYx+tP86+2+6Xitn6E/hriIWa/ZQVef /fx7dZzdwhXH6fd34v8o/BuqhawLBACs4MTMGbdSmyI56vCMXWY1yxRPmuygd4vUnXqYwlrM Ee/LjQdreg1zTAJnnW1K+PgOUW/jvS+uAbgxLa3i59/Z4Uu7nB6G1y+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IINs+S6wCeI2n/+azjnVivvCryW5TX3DDh o2oAoLnebgcEDawA/CrxKxpkTiXtL7VGuQENBDx1NXQQBACO2D8nP7d2/ugxmJl9edxI97vG vHvxByQNOhyWXvEOos1uI4M/Sn6By9opJyt2Tl0HGMO2ksn3f4ESKlPH8+9Q2GhJhbdP8KC6 UPrf1hB8XrvAZsqax5Zr9f00SG4cdqWsGDHY4mUG7B/F0SFEAEgczQciYfJKT0J0fnHyjRAg gwADBQP+L1gGS1XuaHh9VtAn0hzXFQlIH3UAX0+9tlenOTA1aTBqrbNepGJH0zFlwQjQN1c+ qz7ULswo9LGWob0nRAoZ2g9hIQs+8p1KMwBs/V2j6PkNwSj/fUsMXAOvor0HcEHjpIW952KV h9oGbPEbB+LaDVb5BKjbOhAzfdrlPlBx0F6IdAQoEQIANBYhBBloSoDtPqFEokqZd+v/gtRi CDbPBQJeCk0cFh0BVXBncmFkZSB0byBtb3JlIGJpdHMACgkQ6/+C1GIINs8CPQCeJKOtIuT/ zMxWEN9B3VucBIQ5TPcAoMsPLPJWp71kv+1s+JPeJcv/zJNYiEwEGBECAAwFAlaX+EQFCRwG mUgACgkQ6/+C1GIINs90KwCeN8z1KIVcvhLKMVq3Qy6eZkDCAA4AoIOVlXHHiZE1vQ50HJ0R HoghYce3 Message-ID: <010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@email.amazonses.com> Date: Tue, 1 Sep 2020 17:32:20 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2020.09.01-54.240.48.97 Feedback-ID: 1.us-east-1.9pbSdi8VQuDGy3n7CRAr3/hYnLCug78GrsPo0xSgBOs=:AmazonSES X-Rspamd-Queue-Id: 4BgvK11sZkz3fqc X-Spamd-Bar: + X-Spamd-Result: default: False [1.40 / 15.00]; HAS_REPLYTO(0.00)[lausts@acm.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[amazonses.com:s=224i4yxa5dv7c2xz3womw6peuasteono]; NEURAL_HAM_MEDIUM(-0.83)[-0.832]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:54.240.0.0/18]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.01)[-1.011]; DMARC_NA(0.00)[acm.org]; DKIM_TRACE(0.00)[amazonses.com:+]; NEURAL_HAM_SHORT(-0.06)[-0.057]; RCVD_IN_DNSWL_NONE(0.00)[54.240.48.97:from]; FORGED_SENDER(0.30)[lausts@acm.org,010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@amazonses.com]; RCVD_COUNT_ZERO(0.00)[0]; RWL_MAILSPIKE_POSSIBLE(0.00)[54.240.48.97:from]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:14618, ipnet:54.240.48.0/23, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_NEQ_ENVFROM(0.00)[lausts@acm.org,010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@amazonses.com]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 17:32:22 -0000 Group: Whenever I perform a major upgrade to any of my ZFS pools, I make a habit of sending the most recent snapshot to a file and then to a DLT tape or DVD. I run the zstreamdump utility on the file and record the checksum. I also run zstreamdump on the archive media and compare checksums. With the recent ZFS upgrade in CURRENT, I could not locate this utility. With a major upgrade such as this, I was really concerned about not being able to boot and loosing everything on a production system. Fortunately this upgrade went smoothly and I did not have to restore from alternate media. The next time, I may not be lucky. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF