From nobody Sat Jan 29 10:59:26 2022 X-Original-To: questions@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 D24C2199BED0 for ; Sat, 29 Jan 2022 10:59:38 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (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 (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JmBD95Nnyz4fK9 for ; Sat, 29 Jan 2022 10:59:37 +0000 (UTC) (envelope-from ml@netfence.it) Received: from [10.1.2.18] (mailserver.netfence.it [78.134.96.152]) (authenticated bits=0) by soth.netfence.it (8.17.1/8.17.1) with ESMTPSA id 20TAxQHx016212 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sat, 29 Jan 2022 11:59:28 +0100 (CET) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202111; t=1643453970; bh=wUM46YvC6EP79vkXXL6uEeuzJp67JMcXSB8JMnoH+40=; h=Date:Subject:To:References:From:In-Reply-To; b=q4ZlJkmqXcm7KDCceY1BU6y20RKhf7mJnFTAEW+d8gTvrZCMFhv6ytf4+3RRGHYRu 1FewgpD7myI4xm+tBf9uWcHkhJnzc1U2FJLeMxc2G1BgRMVr0NGfTfHwCAteHFjvu8 gLO+Kw2LRMbAPxKDnB986KuESYY5/ZBdYe2VIe1U= X-Authentication-Warning: soth.netfence.it: Host mailserver.netfence.it [78.134.96.152] claimed to be [10.1.2.18] Message-ID: <308caf55-7fad-3b24-0f6c-3d7bb9a9ca1b@netfence.it> Date: Sat, 29 Jan 2022 11:59:26 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [ZFS] file in encrypted dataset disappears on first reboot Content-Language: en-US To: questions@freebsd.org References: From: Andrea Venturoli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 X-Rspamd-Queue-Id: 4JmBD95Nnyz4fK9 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netfence.it header.s=202111 header.b=q4ZlJkmq; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-0.63 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[netfence.it:s=202111]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.61)[0.613]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_SHORT(0.76)[0.757]; DKIM_TRACE(0.00)[netfence.it:+]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; MLMMJ_DEST(0.00)[questions]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 1/29/22 10:53, Taceant Omnes wrote: > I found something that looks like a bug, however a comment was posted saying > "There must be some trivial explanation for this.". > Fair enough, only I have no idea what could be the explanation. > > As I am a zfs novice I wonder if someone could offer some insight? > This only takes me a couple of minutes to reproduce, in case someone > wants to try to reproduce it. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261543 > You could try: zfs load-key -a zfs mount zroot/enc Other things to check: zfs list|grep zroot/enc zfs get mounted zroot/enc zfs get mountpoint zroot/enc bye av.