Parameters under /etc/modprobe.d/zfs.conf

illuminatus

New Member
May 15, 2020
3
0
1
35
Hello and welcome,
i've a pleasure to use Proxmox for a while, it's great.

I've done some fine tuning to my ZFS setup and according to documentation I've put zfs unable parameters inside /etc/modprobe.d/zfs.conf.
However after machine reboots, tunables are in default state according to command:
Bash:
arc_summary

my zfs.conf looks like this:
Bash:
options zfs l2arc_noprefetch=0
options zfs l2arc_write_max=50331648
options zfs l2arc_write_boost=100663296
options zfs zfs_arc_max=68719476736

What am I missing?
 
are you using ZFS as / filesystem? did you update your initramfs after modifying the options?
 
Hi Fabian, no i do not used initramfs - but I do acknowledge need for that, I've just ignored it for safety reason.
Is it safe to deploy this command on production?
 
I am not sure what the question is .. if you want options to apply for modules loaded in the initramfs, you need to regenerate it. you can test most ZFS module options by modifying them at run time, like any other module. those changes won't be persistent though.