bashclub / proxmox-zfs-postinstall

This script is designed to run on a fresh installed Proxmox server, configures `pve-no-subscription` repository, adjusts `zfs_arc_cache` and installs basic tools like `zfs-auto-snapshot` or `ifupdown2`
https://sysops.tv
117 stars 29 forks source link

Fixed kernel ignoring tunable zfs_arc_min and zfs_arc_max #18

Closed degenhard closed 1 year ago

degenhard commented 1 year ago

If zfs_arc_min and zfs_arc_max module options defined in wrong order (min, max) the kernel ignores and fallback to 0.

[    3.993342] WARNING: ignoring tunable zfs_arc_min (using 0 instead)
[    3.993345] WARNING: ignoring tunable zfs_arc_min (using 0 instead)

max, min work as intended.

pve-manager/7.3-3/c3928077 (running kernel: 5.15.74-1-pve)
zfs-2.1.6-pve1
zfs-kmod-2.1.6-pve1
degenhard commented 1 year ago

Ref: https://github.com/openzfs/zfs/issues/12504