Automatic SSD Trim of the boot disk (Proxmox OS) using ext4/LVM

logui

Member
Feb 22, 2024
84
15
8
I know all of this happens automatically when configured the boot disk with ZFS, I used ext4 for boot because I have a single SSD disk.

I have the fstrim.timer service enabled in systemd, and it's triggering the fstrim.service, can I safely assume it will trim the boot SSD configured with LVM/ext4?

For the VMs I am using Ceph with SSD OSDs, am I correct to assume that Trim will also happen automatically, if I use VirtIO SCSI Single disk and the Discard option is checked? Thanks