Why is the snapshot directory of an encrpyted dataset empty?

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
zfs load-key zroot/usr/home
and everything looks as expected.

When I create a snapshot (while the encrypted dataset is unlocked) with
zfs snapshot -r zroot@backup
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:
cd /.zfs/snapshot/backup
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?
 
OK, it's an error in my thought: I have to search in /usr/home/.zfs/snapshot/backup instead of /.zfs/snapshot/backup/usr/home.

I guess my questions was not the best one, but neverthelesss, maybe helpful to anybody.
 
Back
Top