Encrypted ZFS with FreeBSD is not actually native ZFS encryption, it uses GELI to handle the encryption part (which may be why it's bad at handling power losses).
Thanks! But does that mean zfs native encryption is now supported in freebsd? Last i checked (a good while back) - I got the impression geli(?) was strongly preferred and zfs native encryption was generally discouraged?
Sure. Encrypted ZFS with FreeBSD, have a power loss, goodbye data.
Should have read the manual though, it does tell you to make a backup of certain data ranges in case of encrypted ZFS for this specific case, so it's partly my fault.
That said, I'm using ZFS ever since, but on top of LUKs with linux.
FreeBSD's geli is more similar to Linux's dm-crypt. Of course with (Open)ZFS native encryption finally available for both FreeBSD and Linux, you could also compare them to zvols.
Free(BSD|NAS) so far create a "normal" ZFS on top of an encrypted block device, produced via the cryptographic GEOM provider geli ( https://www.freebsd.org/cgi/man.cgi?geli(8) )
This instead is ZFS doing the actual encryption on a normal block device.
reply