ZFS: Difference between revisions
imported>2r m formatting fixes |
imported>2r m rm blank lines |
||
Line 7: | Line 7: | ||
* If you are running within a VM and NixOS fails to import the zpool on reboot, you may need to add <syntaxhighlight lang="nix" inline>boot.zfs.devNodes = "/dev/disk/by-path";</syntaxhighlight> to your configuration.nix file. | * If you are running within a VM and NixOS fails to import the zpool on reboot, you may need to add <syntaxhighlight lang="nix" inline>boot.zfs.devNodes = "/dev/disk/by-path";</syntaxhighlight> to your configuration.nix file. | ||
== Enable ZFS support == | == Enable ZFS support == | ||
Line 54: | Line 53: | ||
# zfs set refreservation=none zroot/reserved | # zfs set refreservation=none zroot/reserved | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Auto ZFS trimming == | == Auto ZFS trimming == | ||
Line 286: | Line 284: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
For more options, see <code>man 5 exports</code>. | For more options, see <code>man 5 exports</code>. | ||
[[Category:Guide]] | [[Category:Guide]] |