ZFS: Difference between revisions
imported>Mic92 explicit snapshot not required |
imported>Sjau |
||
Line 283: | Line 283: | ||
# Set correct mountpoint for the newly created dataset:<br/><code>zfs set moutpoint=legacy zpool/root/New/nixos</code> | # Set correct mountpoint for the newly created dataset:<br/><code>zfs set moutpoint=legacy zpool/root/New/nixos</code> | ||
# Rename the old and new datasets:<br/><code>zfs rename zpool/root zpool/rootOLD</code><br/><code>zfs rename zpool/rootNEW zpool/root</code> | # Rename the old and new datasets:<br/><code>zfs rename zpool/root zpool/rootOLD</code><br/><code>zfs rename zpool/rootNEW zpool/root</code> | ||
# That should allow to boot Nixos already with new format. If you other encrypted mounts, you will probably need to convert them to new format as well first. | # That should allow to boot Nixos already with new format. If you have other encrypted mounts, you will probably need to convert them to new format as well first. | ||
It's also recommended to have two usb sticks available. One custom iso with the old zfs format and one with the new one. So you can easily switch between them. | It's also recommended to have two usb sticks available. One custom iso with the old zfs format and one with the new one. So you can easily switch between them. |