ZFS: Difference between revisions

imported>Kini
m typo
imported>ThomasHertleif
m Fix zfs trim option "enabled" to "enable"
Line 432: Line 432:


To manually start trimming of a zpool run: <code>zpool trim tank</code>.
To manually start trimming of a zpool run: <code>zpool trim tank</code>.
Since [https://github.com/NixOS/nixpkgs/pull/65331 PR-65331] this can be also done periodically (by default once a week) by setting <code>services.zfs.trim.enabled = true</code>.
Since [https://github.com/NixOS/nixpkgs/pull/65331 PR-65331] this can be also done periodically (by default once a week) by setting <code>services.zfs.trim.enable = true</code>.


To set a pool for auto-trim run: <code>zpool set autotrim=on tank</code>
To set a pool for auto-trim run: <code>zpool set autotrim=on tank</code>