From nobody Mon Sep 12 09:29:32 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 4MR1Wx6fzHz4c0ty for ; Mon, 12 Sep 2022 09:29:33 +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 4MR1Wx69wKz3Zvw for ; Mon, 12 Sep 2022 09:29:33 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662974973; 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=TfZskDPc6gFRV0py0t5ZO29ObvMVRsNDxO1Hsz2ZFY4=; b=gsknyPOikpXxXJ7vMJ0W6IAor/d62elSGQmB60FqP3wyfV4Y/aAuCFPXPEqcS6lFSFGoYG Jrs1WKZdtC6mcAQ/cDycZu4JMYZD34Ehu/idpMfYC1Fjf7b+N7oF5y8wriui2qMSJKdCcp YVTDj6ajruNnQnXk5KPy6thPoy635xYIrIWQSRXzbWAbEN1FNQHupyWURRKksEg8d6fHAI A9DhdhGIF7DipGQ+mDHyemU47r9zn89lwTwmCw9EljQRrPrkbUY5HEW9sYFsEPgtneI01b UXc7KJBpNp6WJvaYGfHkJ86wqawlclWjO7z2TEDNU01hJh9ov1lPJXg+NsJwbw== Received: from [192.168.1.66] (69-228-200-148.lightspeed.knvltn.sbcglobal.net [69.228.200.148]) (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 4MR1Wx4PYyzTDP for ; Mon, 12 Sep 2022 09:29:33 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Message-ID: <5cb26532-11d6-60cb-bbd8-4fa99db83a32@FreeBSD.org> Date: Mon, 12 Sep 2022 05:29:32 -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> <01000182e9f49b75-35f2fff9-c6f9-4b37-8e4c-263309620d31-000000@email.amazonses.com> From: Ryan Moeller In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662974973; 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=TfZskDPc6gFRV0py0t5ZO29ObvMVRsNDxO1Hsz2ZFY4=; b=G0JbL9jkDgvhh8A2Tz72yTCWWn+/iMW3KARd6zu55yyv3QZzTA5bxwok/WvmcwjzY0ZgRx 51KZmN7WLu/mLxrv3UW3Z8auSF/c2izjuSRmq1y5WP+HVyvIHh5d5I3zohJKBI6uUoSKJJ NzSHJ9rrPLYzRUnGz07zETo0b7RNf758UnTyZixd1x6z5I4/f9/hCFEGBnHNKQLKgYonK+ oHk/Jhn3Tpj4CMw04SSBtFlWCciqtGyBlSxaC1cK/30AfP5lrFO9bSy9YhUeYLBB2ILAjm O40EhniK12OkLq8eHw9KQGvV4I8b2Hz4W+VU5AOoGfeL8VzaR+IIpG16yrV77Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662974973; a=rsa-sha256; cv=none; b=UqrDAGs+JYp9d7AtoGSkTTq5WEDN2vDA2eoHVJhz+UKsBIHHRHefZFz0K/udq0f6/9yHRT 4CaEF/NU3FWOwGodhtthpl/Ta+jG8+rPzDiv5/M3kJGSYOaN5pJGmMpQl8FUPmuAtYKAcV 9EEoINBBfaBXuGFiMTjDtxLIweUMwsd8RS+P3ts3VS1YXCi4VNbJU7cQs4rdVlFsjc81D+ GSmdl2ESA441p22FUg2usIigpqHpe8KD4kePptu7M/q/ZGrItYzwOreisv4n6wbHFzyitN L7Nu0EyTqZ3mSVos+UrJ0qphPH34XLXBVNbA43ysy0mYfqPr8DtbNVJyAp5tPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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