Re: [ZFS] file in encrypted dataset disappears on first reboot
Date: Sat, 29 Jan 2022 11:27:08 UTC
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.