PVE LXC Filesystem Trim
This maintains SSD performance by managing unused blocks. Thin-provisioned storage systems also require management to prevent unnecessary storage use. VMs automate fstrim, while LXC containers need manual or automated fstrim processes for optimal performance.
PVE LXC Filesystem Trim
Installation
Default install:
1
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/tools/pve/fstrim.sh)"
Notes
Execute within the Proxmox shell
This is designed to work with SSDs on ext4 filesystems only.
Links
This post is licensed under CC BY 4.0 by the author.