|
|
Line 426: |
Line 426: |
|
| |
|
|
| |
|
| == ZFS Trim for SSDs == | | == ZFS Trim Support for SSDs == |
|
| |
|
| Currently a [https://github.com/zfsonlinux/zfs/pull/8419 patch for zfs] is being tested which allows the trimming for ssd drives. It's still being tested and not yet included in the zfs git-master. Testing so far has been positive and if you want to try - at your own risk - you can do so easily.
| | ZFS 0.8 now also features trim support for SSDs. |
| | |
| === Apply ZFS Trim patch ===
| |
| | |
| 1. Create a clone of Nixos git-master
| |
| | |
| 2. Create a new branch, e.g. <code>git checkout -b zfs-trim-patch</code>
| |
| | |
| 3. Get the zfs default.nix with trim patch, e.g. <code>curl -o ./pkgs/os-specific/linux/zfs/default.nix https://www.sjau.ch/zfs/default.nix</code>
| |
| | |
| 4. Rebuild Nixos, e.g. <code>nixos-rebuild boot -I pkgs=/root/nixos-git-master</code>
| |
| | |
| Of course use appropriate paths for your system.
| |
|
| |
|
| === How to use ZFS trimming === | | === How to use ZFS trimming === |