From nobody Mon Aug 29 15:28:42 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 4MGZ8q75VPz4bLgV for ; Mon, 29 Aug 2022 15:28:43 +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 4MGZ8q6c2Xz4Nmf for ; Mon, 29 Aug 2022 15:28:43 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661786923; 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=+2X9i8Evk3YYVHH+g/PRrzTnYl9w48DVGdbcZDAKiTQ=; b=X5xIwuBhYhSZsPOtkp11I3kbG/zbrRfzFDKn+z8DNKhXbkPeUkKR9uzYLtx4wCLocG34y8 nUgDcLUINMei4JKvnVW5a8LMjF0hWYIVX8pzHPTwszzrLxNbT3CfJM8aKrjmks32sm5tXG R1YoAh2dnNduo64czbTJKMjDViRESPmfgJseDyANpyClUpop3V9EKRlNkymlfR97W2cr2f OPvOT9W9WJcnCHSFDyrTM9fh3xo9R3pB/9m7dX529HVRt86mfO1v4G/YSpOp4M4yaQV2CU Jz9kdd3AQFLExBB+rHb7dEpvGc6CdnvwFONdgASLvaWhDtJaz+OmiZOj+OF6ZQ== Received: from [IPV6:2600:1700:358a:c660:74e4:e806:136e:5e3f] (unknown [IPv6:2600:1700:358a:c660:74e4:e806:136e:5e3f]) (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 4MGZ8q549kz1JKY for ; Mon, 29 Aug 2022 15:28:43 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Message-ID: Date: Mon, 29 Aug 2022 11:28:42 -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: <01000182e9f49b75-35f2fff9-c6f9-4b37-8e4c-263309620d31-000000@email.amazonses.com> 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=1661786923; 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=+2X9i8Evk3YYVHH+g/PRrzTnYl9w48DVGdbcZDAKiTQ=; b=uUB7U9NOIuSYUF/WNxt2LV/pcZt947XkjoZrI+orPPKBlKRTcdpS1roRQ2DUIyarO338xM k5KKz/TxkzeKm4//xjIwTaRPfQv1NQcKgBGfizf1pioyHBvm/39qKCQ0aYsZ0xHpb0xybQ 8NxmsbiUGK2RJqLGybOUczuxV/9xzaVtmHBpZ4bBPj91UBJ9FGh3U1PQkGNeOlivz0SeDx NyKalSbN4+dXVGQNN+XpdXV5Y2wssb8FsvYsEG5fzbQU9ju7/HJbY+t51h00B0rvPU9ntd 3zGmX1oqAVpzM5ZQsFb9J7y3hi61RAw1MQUC1vtb9dblijMxbLcphFfuphb/2A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661786923; a=rsa-sha256; cv=none; b=NBc6Yxbfl3tA96A5D0D/SDh2UhJKFioLfjdwZW2MTtH0cbzbRNPH507r6jAQcC2NMF8d9t 4QeKbyGIU6PNfvoT6aaaFQN2RY/hgYdmG9pDEebUwVpVulRV/t6BMygPQv7DitOL2ew3hA 3NYmqGmlaU9yhhHKhA2a4cKe1JtFcgU18ihyCsM1spT4dlrPtPkcd8L7JMnlm7eFv64fZw +9K45n7UMpZiy1q045t9UrWjM3WJUc735FLq4xamsMpuiPkNppiI9UXljM+i/SWIFqsfa1 8T2m9Of2mWPvbXvy4ZlLKV1TweAyof1K1inYFZLpLqd/aYkenC5j2ylZqwzSQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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