Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2022 11:27:08 +0000
From:      Taceant Omnes <taceant@gmail.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        FreeBSD Questions List <questions@freebsd.org>
Subject:   Re: [ZFS] file in encrypted dataset disappears on first reboot
Message-ID:  <CAKkGsYKgEEohNXwExCVv_n30caX-V31hejGxrsRioGREukjGEg@mail.gmail.com>
In-Reply-To: <308caf55-7fad-3b24-0f6c-3d7bb9a9ca1b@netfence.it>
References:  <CAKkGsYKaOJGc1d%2B2iWGp78W%2BvEbk1ZbMaLzZrGaExS39=XhsMQ@mail.gmail.com> <308caf55-7fad-3b24-0f6c-3d7bb9a9ca1b@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Jan 2022 at 11:00, Andrea Venturoli <ml@netfence.it> wrote:
> > 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

Grazie.
I am aware that it does not make sense that a file disappears!
Anyway...
The dataset is automatically mounted after I create it and after
rebooting, so I don't think this is a mount problem.
I don't think it is a key problem because a file disappears on the
first reboot, but not on the second reboot, and if the key was not
loaded on an encrypted set I would guess that I would not be allowed
to create a file on it.
And finally, using exactly the same steps, the issue does not manfest
on Xubuntu 21.10, so I thnk this is something specific to FreeBSD.



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