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

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!