Re: [ZFS] file in encrypted dataset disappears on first reboot
- Reply: Graham Perrin : "FreeBSD:_zfskeys_enable:_encryption_key_not_loaded_for_a_file_system_within_a_pool_that_imports_automatically_at_startup_·_Issue_#13038_·_openzfs/zfs"
- In reply to: Andrea Venturoli : "Re: [ZFS] file in encrypted dataset disappears on first reboot"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Jan 2022 14:35:34 UTC
On Sat, 29 Jan 2022 at 14:13, Andrea Venturoli <ml@netfence.it> wrote: > > Any idea why that happens? Is it due to some ZFS > > property that has a different default in FreeBSD and Linux? > > No idea, sorry. There is likely a systemd unit in Linux that auto-mounts encrypted datasets. As for BSD, the feature was implemented in rc.conf last month but will be available only on 13.1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256483 As I am using 13.0-release, the following addition to /etc/crontab did the job. @reboot root zfs mount -a -l So all is working and I learned a bit more about zfs! Grazie