Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2022 05:29:32 -0400
From:      Ryan Moeller <freqlabs@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Beadm can't create snapshot
Message-ID:  <5cb26532-11d6-60cb-bbd8-4fa99db83a32@FreeBSD.org>
In-Reply-To: <d8e176da-306d-7c99-2a94-10fb178a7b3b@FreeBSD.org>
References:  <01000182ac3b8593-fb381303-5719-4863-8fda-2530efcab31b-000000@email.amazonses.com> <01000182e9f49b75-35f2fff9-c6f9-4b37-8e4c-263309620d31-000000@email.amazonses.com> <d8e176da-306d-7c99-2a94-10fb178a7b3b@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 8/29/22 11:28 AM, Ryan Moeller wrote:
>
> On 8/29/22 10:14 AM, Thomas Laus wrote:
>> On 8/17/22 10:35, Thomas Laus wrote:
>>> I attempted to create a ZFS snapshot after upgrading this morning 
>>> and received this error
>>>
>> After all of the discussion to compare and contrast beadm vs. bectl 
>> my read only bit is still set as of this morning 29-AUG-2022.
>>
>> # beadm create n257658
>> cannot create 'zroot/ROOT/n257658': 'snapshots_changed' is readonly
>> #
>>
>> I thought that this 'feature' was fixed a while ago.
>>
>> Tom
>>
>
> It's fixed but it's not going to fix datasets that have been 
> snapshotted with the bug. The bug was that the property was stored in 
> a ZAP that ZFS assumes contains only local properties. The fix is to 
> store the property in a different ZAP, but if you already have it in 
> the wrong ZAP it overrides the one stored in the correct place. I'm 
> going to do some testing today and throw together a temporary patch 
> that will remove it.
>
> -Ryan
>
>
Here's the patch for the kernel and brief instructions:

https://reviews.freebsd.org/P547

-Ryan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5cb26532-11d6-60cb-bbd8-4fa99db83a32>