From owner-freebsd-current@freebsd.org Sun Sep 6 15:58:24 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 CAE963D5E88 for ; Sun, 6 Sep 2020 15:58:24 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4Bkx0J5331z482N for ; Sun, 6 Sep 2020 15:58:24 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from Ryans-MacBook-Pro.local (unknown [IPv6:2600:1700:358a:c660:ac69:42cb:c744:e75c]) (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 7D0792F9A3 for ; Sun, 6 Sep 2020 15:58:24 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Subject: Re: bectl: cannot promote 'zroot/ROOT/r364030-OpenZFS2': not a cloned filesystem To: freebsd-current@freebsd.org References: <20200830193756.GA6325@freedom.nl> <320492e8-4dee-22f3-443b-829fdb2c3e8b@gmail.com> <20200906091649.GA2517@freedom.nl> <360dd0d5-5026-9714-417f-d05691b78618@FreeBSD.org> <20200906154939.GA1799@freedom.nl> From: Ryan Moeller Message-ID: <91342af7-944f-76ee-5b4f-841b70c4263f@FreeBSD.org> Date: Sun, 6 Sep 2020 11:58:23 -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: <20200906154939.GA1799@freedom.nl> 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: Sun, 06 Sep 2020 15:58:24 -0000 On 9/6/20 11:49 AM, marco wrote: > On Sun, Sep 06, 2020 at 10:22:33AM -0400, you (Ryan Moeller) sent the following to [freebsd-current] : >>> I switched back to base ZFS whilst on r364030 and upgraded to r365336 and deinstalled >>> openzfs and openzfs-kmod for now. >>> ZFS in base nicely auto-imported both zroot and backup pools for the 1st >>> time. >> I need to update the port, it's a little behind what's in base now. > Thanks Ryan > > How does one verify which version of OpenZFS is actually in base? > sysutils/openzfs{-kmod} has/have 20200821, UPDATING has the 20200824 listing. > I can't find any version reference of OpenZFS in base from svn log > either. > The git hashes are the most unambiguous way to see what you have. The svn log shows the last vendor update for zfs brought it to fd20a81b, and the most recent version of the port is at 6fe3498ca. For the port I have hijacked zfs --version to show the git hash in the version string, but the base zfs does not do this, so it is not as easy to determine at runtime there. -Ryan