Limiting ZFS Memory

Spartan67

Member
Apr 20, 2021
25
3
8
Can anyone clarify the procedure to set the memory limit for ZFS...? This is the link to the instructions below:

https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_zfs_limit_memory_usage

The procedure to make the change on temporary basis works perfectly and also as stated in the documentation a reboot resets the value.

But the directions to make the change permanent calls for adding a value in /etc/modprobe.d/zfs.conf however zfs.conf does not exist in that directory but I was able to find zfs.conf in the directory /usr/lib/modules-load.d/

So what is correct? Create a file with the setting in the directory the instructions use or to just update the zfs.conf in the directory that is not in the instructions?
 
Last edited:
create the file as indicated in the admin guide..
 
  • Like
Reactions: Spartan67