Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2022 14:34:48 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        Ryan Moeller <freqlabs@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Beadm can't create snapshot
Message-ID:  <097ab4e937a428f772480b0e2de42ab7@lerctr.org>
In-Reply-To: <f26c220a-3ad7-bb5d-0f40-ad6421d357c6@FreeBSD.org>
References:  <01000182ac3b8593-fb381303-5719-4863-8fda-2530efcab31b-000000@email.amazonses.com> <2818f3da-3ae2-e6e3-9282-8b62263fb5f3@FreeBSD.org> <db19e194-d6fa-7019-d9f1-a1e0587d42a2@FreeBSD.org> <f26c220a-3ad7-bb5d-0f40-ad6421d357c6@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/28/2022 2:28 pm, Ryan Moeller wrote:
> 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
> 

That doesn't look right?  It's about arc_c_max, and not properties?
> -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
>>>> 
>>> 
>> 

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?097ab4e937a428f772480b0e2de42ab7>