Jump to content

ZFS: Difference between revisions

178 bytes added ,  28 March 2023
Auto ZFS trimming: clarify that this doesn't refer to the autotrim property
imported>Vater
imported>VincentVanlaer
(Auto ZFS trimming: clarify that this doesn't refer to the autotrim property)
Line 100: Line 100:
<syntaxhighlight lang="nix" inline>services.zfs.trim.enable = true;</syntaxhighlight>.
<syntaxhighlight lang="nix" inline>services.zfs.trim.enable = true;</syntaxhighlight>.


For further information read the man pages.
This will periodically run <code>zpool trim</code>. Note that this is different from the <code>autotrim</code> pool property. For further information, see the <code>zpool-trim</code> and <code>zpoolprops</code> man pages.


== Take snapshots automatically ==
== Take snapshots automatically ==