ZFS: Difference between revisions

imported>Sjau
imported>Sjau
Line 276: Line 276:
If you've followed this wiki entry and didn't create an encrypted top-level dataset but a child-dataset, e.g. <code>zroot/root/nixos</code> where <code>zroot</code> is the name of the pool and the top-level dataset and <code>root</code> is the encrypted child-dataset, then you can easily use zfs send/recv to migrate it to the new format.
If you've followed this wiki entry and didn't create an encrypted top-level dataset but a child-dataset, e.g. <code>zroot/root/nixos</code> where <code>zroot</code> is the name of the pool and the top-level dataset and <code>root</code> is the encrypted child-dataset, then you can easily use zfs send/recv to migrate it to the new format.


# Create a custom NixOS iso with crypto stability patch enabled
# Create a custom NixOS iso with crypto stability patch applied
# Boot into that live environment
# Boot into that live environment
# Import the pool and load the key
# Import the pool and load the key