My FreeBSD 13.3-RELEASE-p4 (amd64) machine uses ZFS according to partitioning scheme "Auto (ZFS)" of the FreeBSD installer.
Right after the installation I encrypted zroot/usr/home using ZFS native encryption. I can unlock the dataset after each reboot with
and everything looks as expected.
When I create a snapshot (while the encrypted dataset is unlocked) with
a snapshot for each dataset - including zroot/usr/home - is created. This is what I expect.
Today I checked, if I could browse through the snapshot zroot@backup to be able to restore single files or folders just in case:
Everything looks correctly except the encrypted dataset under /.zfs/snapshot/backup/usr/home is empty.
Why is /.zfs/snapshot/backup/usr/home empty? Is it not possible to create a snapshot of an encrypted dataset? Or do I have any error in my thought?
Right after the installation I encrypted zroot/usr/home using ZFS native encryption. I can unlock the dataset after each reboot with
zfs load-key zroot/usr/homeand everything looks as expected.
When I create a snapshot (while the encrypted dataset is unlocked) with
zfs snapshot -r zroot@backupa snapshot for each dataset - including zroot/usr/home - is created. This is what I expect.
Today I checked, if I could browse through the snapshot zroot@backup to be able to restore single files or folders just in case:
cd /.zfs/snapshot/backupEverything looks correctly except the encrypted dataset under /.zfs/snapshot/backup/usr/home is empty.
Why is /.zfs/snapshot/backup/usr/home empty? Is it not possible to create a snapshot of an encrypted dataset? Or do I have any error in my thought?