How Proxmox VE shreds your SSDs – with details
old.reddit.com
old.reddit.com
a LOT.
I turned off a bunch of stuff (I don't run replication):
systemctl disable pve-ha-crm
systemctl disable pve-ha-lrm
But stuff like /var/lib/pve-firewall and /var/lib/rrdcached was still written to every second.I played around with mount options like commit=n
It kind of helped to use log2ram:
https://github.com/azlux/log2ram
but it sure didn't eliminate the problem.
I think with a little effort from the proxmox guys, they could gather a lot of low-hanging fruit.
# grep "/var/log" /etc/fstab
tmpfs /var/log tmpfs defaults,nosuid,nodev,noatime,size=1g 0 0There's also the noatime flag, for unavoidable writes to local disk: avoid the update to dir stat() state if you can.