Only the EFI (FAT32) partition is getting trimmed using fstrim

Hi,
I am using full disk encryption.

$ lsblk 
NAME                                      MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda                                         8:0    0 111.8G  0 disk  
├─sda1                                      8:1    0   300M  0 part  /boot/efi
└─sda2                                      8:2    0 111.5G  0 part  
  └─luks-82047d4d-2eb4-42cf-9100-0a9db745e888
                                          254:0    0 111.5G  0 crypt /

When I run fstrim only the EFI partition is getting trimmed

$ sudo fstrim -v -a
/boot/efi: 298.9 MiB (313470976 bytes) trimmed on /dev/sda1

What are the other partitions not getting trimmed ?
I started using FDE recently so this the first time I am running fstrim on an encrypted installation.

And running this, give the same output result?
sudo /sbin/fstrim -av

Yes.

$ sudo /sbin/fstrim -av
[sudo] password for home: 
/boot/efi: 298.9 MiB (313470976 bytes) trimmed on /dev/sda1

That’s because:

So should I just continue using my SSD without running fstrim ?

That would be your decision based on the potential issues each option presents:

https://wiki.archlinux.org/title/Dm-crypt/Specialties#Discard/TRIM_support_for_solid_state_drives_(SSD)

2 Likes