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

illuminatus

New Member
May 15, 2020
3
0
1
34
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!