Skip to content

Commit

Permalink
docs: some zfs fine tuning (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel authored Jan 2, 2025
1 parent c3e0876 commit b4f2054
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/zfs-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,22 @@ A good cheat-sheet: https://blog.mikesulsenti.com/zfs-cheat-sheet-and-guide/

* [`zdb`](https://openzfs.github.io/openzfs-docs/man/master/8/zdb.8.html) is also worth knowing (`zdb -s <poolname>` for example)

## Some Fine-Tuning

We use compression on a lot of our datasets (`compression=on`).

You can set `primarycache=metadata` for volumes with large number of files,
that are not critical to read fast. (eg. Images on off container, or backups from other servers).

In [Munin](./munin.md) `ZFS ARC - Hit ratio` the `ZFS Arc Efficiency` gives you an idea of how well ZFS caching is performing.


## Proxmox

Proxmox uses ZFS to replicate containers and VMs between servers. It also use it to backup data.

Note: we progressively abandon Proxmox ZFS replication in favor of using sanoid/syncoid.

## Using sanoid

We use sanoid / syncoid to sync ZFS datasets between servers (also to back them up).
Expand Down

0 comments on commit b4f2054

Please sign in to comment.