ZFS: Difference between revisions

imported>2r
added back older mail notification method -- newer method involves recompiling the entire package: took half an hour on my computer
imported>Mcdonc
No edit summary
Line 397: Line 397:
==== Optional additional setup for encrypted ZFS ====
==== Optional additional setup for encrypted ZFS ====
===== Unlock encrypted zfs via ssh on boot =====
===== Unlock encrypted zfs via ssh on boot =====
{{note|As of 22.05, rebuilding your config with the below directions may result in a situation where, if you want to revert the changes, you may need to do some pretty hairy nix-store manipulation to be able to successfully rebuild, see https://github.com/NixOS/nixpkgs/issues/101462#issuecomment-1172926129}}
In case you want unlock a machine remotely (after an update), having an ssh service in initrd for the password prompt is handy:
In case you want unlock a machine remotely (after an update), having an ssh service in initrd for the password prompt is handy: