From owner-freebsd-current@freebsd.org Tue Sep 1 18:13:28 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 463BE3D2458 for ; Tue, 1 Sep 2020 18:13:28 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BgwDS1D8mz40RS for ; Tue, 1 Sep 2020 18:13:28 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from Ryans-MBP.attlocal.net (unknown [IPv6:2600:1700:358a:c660:5547:ff61:2b5c:3014]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: freqlabs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id EEA7C1B36E for ; Tue, 1 Sep 2020 18:13:27 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Subject: Re: What is the zstreamdump command in OpenZFS? To: freebsd-current@freebsd.org References: <010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@email.amazonses.com> From: Ryan Moeller Message-ID: <13bfbbdf-9ca4-9e2a-c552-4c391ac8e311@FreeBSD.org> Date: Tue, 1 Sep 2020 14:13:27 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@email.amazonses.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US 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 18:13:28 -0000 On 9/1/20 1:32 PM, Thomas Laus wrote: > 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 > zstreamdump is supposed to be a script wrapper around a new, more general, command: zstream #!/bin/sh zstream dump "$@" It doesn't appear to be installing itself properly, though. I'll have to look into that. -Ryan