Skip to content

Instantly share code, notes, and snippets.

@aleksasiriski
Created December 24, 2025 22:51
Show Gist options
  • Select an option

  • Save aleksasiriski/eb04bba373a0d808bbc0bd172aa8dcbe to your computer and use it in GitHub Desktop.

Select an option

Save aleksasiriski/eb04bba373a0d808bbc0bd172aa8dcbe to your computer and use it in GitHub Desktop.

ZFS on Proxmox - Creating a proper dataset for media storage

zfs create stor/media
zfs set recordsize=1M stor/media
zfs set atime=off stor/media
zfs set compression=zstd stor/media
zfs set quota=4T stor/media
zfs set primarycache=metadata stor/media
zfs set secondarycache=all stor/media
zfs set logbias=throughput stor/media

Notes:

  • Set the quota to fit your needs
  • If you don't have L2ARC SSH cache, skip the secondarycache line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment