From b4f205405ee4ee3687a36909bc7cf5294e1188b8 Mon Sep 17 00:00:00 2001 From: Alex Garel Date: Thu, 2 Jan 2025 15:02:32 +0100 Subject: [PATCH] docs: some zfs fine tuning (#448) --- docs/zfs-overview.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/zfs-overview.md b/docs/zfs-overview.md index a333ae07..21301e4c 100644 --- a/docs/zfs-overview.md +++ b/docs/zfs-overview.md @@ -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 ` 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).