From nobody Wed Aug 17 16:16:49 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 4M7Cnt5YVNz4ZpbL for ; Wed, 17 Aug 2022 16:16:50 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M7Cnt4BJ8z3k5K for ; Wed, 17 Aug 2022 16:16:50 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660753010; 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=CiCRvPnEhTpAuKfTsl/ayTTv00MrVElPAubAaD5COE0=; b=hj7lRSfX4ZHMZ8Wrv7Ufdo2DknRlyufN4HXlnVerfRw4jvzz2BlC60V1XLp7DbVnHv7g4Q YBVB0czrq/eUwm3txBjaSrkMrFdt1DbXaW99z9dIZNEEflSAO0xyiAf/IiXJkJWvInj79W 7XlRTC7ZwfkMEK0gz9AtA7/2IJa/l/rpeZex3uO3+Ra82/3iCeoxQNJEWrxEQWWno0UjWy o8+xCnAF4Ch2+eeXNca74qJ4ektSFvxcItEchJSTF4wWKT8kVWXrgxXeZdpIeJZIRIZ5SA +mhJxVaxRWg/NX2eaV26NRXMsSJh8eAbFUFnqLZl/gU0WhSN2d/51ZCV5jcIYQ== Received: from [IPV6:2600:1700:358a:c660:c42c:7b9a:d43a:a950] (unknown [IPv6:2600:1700:358a:c660:c42c:7b9a:d43a:a950]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) (Authenticated sender: freqlabs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4M7Cnt2gGHz1QtK for ; Wed, 17 Aug 2022 16:16:50 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Message-ID: Date: Wed, 17 Aug 2022 12:16:49 -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.12.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: <2818f3da-3ae2-e6e3-9282-8b62263fb5f3@FreeBSD.org> 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=1660753010; 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=CiCRvPnEhTpAuKfTsl/ayTTv00MrVElPAubAaD5COE0=; b=MmMZw9scbd37sHXTsjHVH2oOOMukJBFg0bByJf/xfYAQO2APJSMHdnZz/qsUkGDcSaxyGH aqwZEIXTW8IIdw8J1xRrM3yss7ExGzO4Mgm/SwyPE/3jlpDYC+7VYhXBkXX7PMwHs9o7Yz LJ9Dg+7HPzZ90fhzSOnNb51GVLVJXWKzD6G7VGIqzEjabdmCxa+43INgjnpsqcl3CSgOZE 4GBWR/nJExeeil6DOEV+vGpsmZ/G8j8Qn+D66fkT7hxkvUOvGSqPEWNwCwoptNSeCaG40A ecNtWYNWKNzAw0v57uvoBlJyz8b2kUqIOMgv5fy51qpIXjcEmwyYASigKKuPIg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660753010; a=rsa-sha256; cv=none; b=RSvbi3RxBduNcShPJ1tHuVq/6kJ2IgmZ3BM9010PAw9M5kvPZvxfWVUv9la7Fy0xs1lp0O AXAn4JyFtE3q2hZEMr78SF1XGxNIXhRCDt8rBhZHUyzrzRKmp7+2cvkMVyrO+j5plIOHMM y9gpHDSYSJcKFaeJz8+jVtZVWVFBwTjBfW6yxLTQhLToxZ3bXu58+cbPlAMSbX9RjHpTdy f626c34O2viRxUB92woOg8AHHyRj1a5R1gDzlLBfnq3jQpPtQD9Gt0OK14UgLffHKuAV8t XG8Ua8nTVwmPWc386SPMT8FbUeJigwcOFdrSGXlkTFcegqyajNRNt3SRQdmkvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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 > >> >> 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 >> >