From nobody Sun Aug 28 19:28:14 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MG3Wg63lHz4bCgd for ; Sun, 28 Aug 2022 19:28:15 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MG3Wg5Xs0z3YmL for ; Sun, 28 Aug 2022 19:28:15 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661714895; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hU8AkK8bAlAwlF0ASlXJXOhaHvoOAYJZOaV2TbTrjoM=; b=vjKcXKJM1gF9JOJO7YhhS5fOmTesuERdS2K19PkgDxEXsr1r1soXJAtad69g4o858BVzmP l3HBeaGOqhRHzOAfNTUKsuY/4xZd451X0F5hjjEeL7/28ZsLUDJsfl3lGYr9SjGAoP5GUZ fifKHRA6tue/fjMPiRUkmBkT6UfoLKoo1zzrtzUdb51DMlDL68V4n744yJ4PgpOY+mxlbB JLknJEx9a9gg8kohP13iCywlpwgFG24y5teMRczJUF0IIstYzqQpfmv+XCCHcOxjtM0U79 5hOb+UqftiUjz9N2vBIoSYjVcPUxSpXx9JOBQDVMumDLM0bJijSezTbo9qvHPw== Received: from [IPV6:2600:1700:358a:c660:c85c:eb28:4f32:5c18] (unknown [IPv6:2600:1700:358a:c660:c85c:eb28:4f32:5c18]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: freqlabs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MG3Wg3rKcz1Dtc for ; Sun, 28 Aug 2022 19:28:15 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Message-ID: Date: Sun, 28 Aug 2022 15:28:14 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: Beadm can't create snapshot Content-Language: en-US To: freebsd-current@freebsd.org References: <01000182ac3b8593-fb381303-5719-4863-8fda-2530efcab31b-000000@email.amazonses.com> <2818f3da-3ae2-e6e3-9282-8b62263fb5f3@FreeBSD.org> From: Ryan Moeller In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661714895; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hU8AkK8bAlAwlF0ASlXJXOhaHvoOAYJZOaV2TbTrjoM=; b=Y1cTT/J9RT2HrT2cRL3RoWN1rmChhXT8ECmchHZLSTJTiLouU6trNFppeLjLU9MzRAD2/G 1UqHWMJfnXQymRhIHME5DWWgdsQMup6T0rZS/ArNzlucNeU+nP00V/CFTY7V1X3CEQLL3O ooMth8bFO/sN0sTBiXkoK8ITEna3DjS1dcJgVZj/iTHx/f62exCJ6lOcY3Uuz3gTj3bFBg S6sQpFjtpr17V1gapbcIp/H8eaZ4Oh4jkX+Xdg1NkKoJt0JUu7+Z5tm8kLu85qtjvdtkH+ CGg+i/KhJjpu+CWlxvwzvcHJL1TL8FkO4aBG+VI+WKQs4iQyM696ts4xk6+thg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661714895; a=rsa-sha256; cv=none; b=SeI1vATT2rY8TUwk5RYsi4tgxkdaPhVFDSahVXSUrk8kO50jo8bCOrmiTscl+nNF94F2LM Ulh1aT5RAotgnbIADv5ua1GD74fJrcE2OullkcL+SY4jGMgqTZT9iG7Bv5NWTSYeRj6GC/ mkgGiMXAYvoI79PazPH0oX+NHQKU/7hHLKPB0aLEfh6jrL7PyxCp7Fl6so0Dpy2Z2HNWas t6kmVCQSBSU8RQFWIXjjG/+3ASEBLnQoTbwUO4Pl8AbFDdnbx6vEKxRyQHKr/xlR4LpYHb GoqGF/MoyjP8cmaE0LzbKwUAs/KxJHknUM8qIqLFJVNotp0qgkSwTim01IciQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 8/17/22 12:16 PM, Ryan Moeller wrote: > > On 8/17/22 12:05 PM, Ryan Moeller wrote: >> >> On 8/17/22 10:35 AM, Thomas Laus wrote: >>> I attempted to create a ZFS snapshot after upgrading this morning >>> and received this error >>> >>> # beadm create n257443 >>> cannot create 'zroot/ROOT/n257443': 'snapshots_changed' is readonly >>> # >> >> >> This looks like a bug in beadm. It must be trying to set the >> snapshots_changed property when cloning the snapshot for the BE, but >> the property is of course readonly. >> >> -Ryan >> > > I took a closer look at what beadm is doing and this appears to be a > bug in the property after all. beadm filters by source "local" or > "received" and for "snapshots_changed" the source is "local" when it > should be "-" like other readonly properties. We'll get this fixed ASAP. > > -Ryan > Now fixed as of https://github.com/openzfs/zfs/commit/518b4876022eee58b14903da09b99c01b8caa754 -Ryan >> >>> >>> My version info: >>> >>> 14.0-CURRENT FreeBSD 14.0-CURRENT #9 main-n257443-f7413197245: Wed >>> Aug 17 08:15:27 EDT 2022 >>> >>> There was not any information in UPDATING about any required ZFS >>> configuration changes required nor any ZFS flags that listed >>> 'snapshots_changed' as something that needed a new value.  There is >>> actually a new snapshot created, but 'beadm list' does not show it >>> and the boot menu does not have it listed. >>> >>> Tom >>> >> >