When I installed Proxmox the first time (5.x) I do recall the file not being there as well.
Just create it and set config there.
HTH
Does that really work ? It does not make any sense lol.
/etc/modprobe.d
ending with .conf are read, if they apply to a module they will be enforced on module load, makes no sense to create a dummy file for every module possible, there'd be tens of thousands files..man modprobe.d
( https://manpages.debian.org/buster/kmod/modprobe.d.5.en.html )See also docs of modrpobe, e.g.:man modprobe.d
( https://manpages.debian.org/buster/kmod/modprobe.d.5.en.html )
The conclusion rather is that you did it wrong..
Post your file, it has to look like https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_limit_zfs_memory_usage
# ZFS tuning for a proxmox machine that reserves 64GB for ZFS
#
# Don't let ZFS use less than 4GB and more than 64GB
options zfs zfs_arc_min=4294967296
options zfs zfs_arc_max=68719476736
#
# disabling prefetch is no longer required
options zfs l2arc_noprefetch=0
I just created /etc/modprobe.d/zfs.conf , set a limit of 64 GB, rebooted, and the limit is still the same - 50% of whole memory.
How can I do it wrong when it's after your docs ?
This is not a contradiction, if you would have 128 GB it would still be true.
How did you check that ZFS uses 50%? Unless you provide some information, we cannot help you further.
------------------------------------------------------------------------
ZFS Subsystem Report Sat Mar 14 20:34:10 2020
ARC Summary: (HEALTHY)
Memory Throttle Count: 0
ARC Misc:
Deleted: 35
Mutex Misses: 0
Evict Skips: 2
ARC Size: 30.04% 37.84 GiB
Target Size: (Adaptive) 100.00% 125.93 GiB
Min Size (Hard Limit): 6.25% 7.87 GiB
Max Size (High Water): 16:1 125.93 GiB
is 5.4 not a bit old?
Here you go:
Bash:------------------------------------------------------------------------ ZFS Subsystem Report Sat Mar 14 20:34:10 2020 ARC Summary: (HEALTHY) Memory Throttle Count: 0 ARC Misc: Deleted: 35 Mutex Misses: 0 Evict Skips: 2 ARC Size: 30.04% 37.84 GiB Target Size: (Adaptive) 100.00% 125.93 GiB Min Size (Hard Limit): 6.25% 7.87 GiB Max Size (High Water): 16:1 125.93 GiB
Thank you.
First:
* Please always post the command that was used in output too, so that possible problems with the command itself can be seen.
* If you ask people for help, please state was much information as you can and don't start blaming right away (I don't follow this all the time, but at least we can try, right?)
Now new questions:
* I guess you have 256 GB installed? (that should have been in the 8th post)
* Do you have PVE running ON your ZFS pool?
* If so, did you rebuild your initramfs after changing the modprobe setting?
* Please list all files in /etc/modprobe.d
1 drwxr-xr-x 2 root root 5 Mar 14 09:50 .
9 drwxr-xr-x 98 root root 186 Mar 13 17:57 ..
5 -rw-r--r-- 1 root root 379 Jul 28 2016 mdadm.conf
5 -rw-r--r-- 1 root root 171 Jul 26 2019 pve-blacklist.conf
5 -rw-r--r-- 1 root root 264 Mar 14 08:50 zfs.conf
I don't know what are you insinuating, or what others understood; I have not blamed anyone. A staff member said "I`m probably not doing it right", insinuating I am dumb or something.
How can I do it wrong when it's after your docs ?
* No, this is not mentioned clearly