ZFS: Difference between revisions

imported>Mic92
encrypted zfs
imported>Mic92
No edit summary
Line 194: Line 194:
== Encrypted ZFS ==
== Encrypted ZFS ==


Native encryption is only available in the <code>zfsUnstable</code> package of NixOS, which was added in [https://github.com/NixOS/nixpkgs/pull/29426 PR-29426]
Native encryption is only available in the <code>zfsUnstable</code> package of NixOS, which was added in [https://github.com/NixOS/nixpkgs/pull/29426 PR-29426] in <code>unstable</code>
and will be part of <code>18.03</code>. In older versions it is also possible to use full disk encryption by creating zfs top of cryptsetup.
and will be part of <code>18.03</code>. In older versions it is also possible to use full disk encryption by creating zfs top of cryptsetup.
In the unstable channel at the moment it is necessary to set <code>boot.zfs.enableUnstable = true;</code> to get zfs version based on master branch as zfsStable does not yet have this feature.


Assuming that a zpool named <code>zroot</code> has been already created as described.
Assuming that a zpool named <code>zroot</code> has been already created as described.