Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

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).


sort by: page size:

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?

Ah, for some reason I was thinking that FreeBSD's implementation of OpenZFS had native encryption.

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.


Wait, has encryption hit open-source ZFS at all? Can I use it on FreeBSD?

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.

Native ZFS encryption among other things

Edit: Compared to the version of ZFS that was in base FreeBSD 12.x I mean


Ah, I see. I've only used ZFS on FreeBSD so I guess I'm missing out. Thanks.

ZFS is a native filesystem to FreeBSD, where as in Linux it is not.

FreeNAS has supported zfs encryption for a long while, unless I misunderstand you. Unless its not actually zfs encryption but something else?

So LUKS is more resilient than native ZFS encryption to power loss?

This is still geli+zfs, and not native zfs encryption that was recently presented in OpenZFS Developer Summit [0].

[0] https://www.youtube.com/watch?v=frnLiXclAMo


ZFS on FreeBSD does not fit the definition of 'third party'.

Cool, so the point "FreeBSD because zfs on FreeBSD is better" is bs, I guess.

So does ZFS on FreeBSD support native encryption? Can I switch my existing pool?

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.


How about zfs native encryption?

ZFS - native encryption, resizing, bleaching | The FreeBSD Forums <https://forums.freebsd.org/threads/56869/>

> I hope that FreeBSD will be not too far behind. …


ZFS runs on NetBSD, and FreeBSD. NOT OpenBSD.

On the flip side, ZFS on linux now has native encryption.
next

Legal | privacy