Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2022 11:51:23 +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:  <CAKkGsYKLy3hAWoi07vBWH026mNwWZYVMCJWNQJ5H5oT80VHAXQ@mail.gmail.com>
In-Reply-To: <CAKkGsYKgEEohNXwExCVv_n30caX-V31hejGxrsRioGREukjGEg@mail.gmail.com>
References:  <CAKkGsYKaOJGc1d%2B2iWGp78W%2BvEbk1ZbMaLzZrGaExS39=XhsMQ@mail.gmail.com> <308caf55-7fad-3b24-0f6c-3d7bb9a9ca1b@netfence.it> <CAKkGsYKgEEohNXwExCVv_n30caX-V31hejGxrsRioGREukjGEg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Jan 2022 at 11:27, Taceant Omnes <taceant@gmail.com> wrote:
>
> 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:
....
> > Other things to check:
> >
> > zfs list|grep zroot/enc
> > zfs get mounted zroot/enc
> > zfs get mountpoint zroot/enc

I ran those commands and a few more.


root@fbsd-vm:~ # zfs list | grep zroot/enc
zroot/enc            204K  32.8G      204K  /zroot/enc
root@fbsd-vm:~ # zfs get mounted zroot/enc
NAME       PROPERTY  VALUE    SOURCE
zroot/enc  mounted   no       -
root@fbsd-vm:~ # zfs get mountpoint zroot/enc
NAME       PROPERTY    VALUE       SOURCE
zroot/enc  mountpoint  /zroot/enc  inherited from zroot
root@fbsd-vm:~ # ls /zroot/enc
junkf2
root@fbsd-vm:~ # cat > /zroot/enc/junkf3
rururururururururru
root@fbsd-vm:~ # cat  /zroot/enc/junkf3
rururururururururru
root@fbsd-vm:~ #

So the property is not mounted but it allows me to create a file on
it? And still don't understand how file disappears only after the
first reboot but not the second!



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