TRIM on Linux not supported for modern Samsung SATA drives?

Previous title: Discard/TRIM not getting through KVM/LVM/MD/SATA/SSD stack

I thought my TRIMs were being blocked by the virtualization/LVM stack, but it turns out the bare device won’t be TRIMmed either.

# fstrim /mnt/sde/
fstrim: /mnt/sde/: FITRIM ioctl failed: Operation not supported

According to this Algolia blog article there has been an kernel bug affecting these drives (mine is a Samsung 850 PRO 1TB), so I guess it has been blacklisted for the time being.

One thought on “TRIM on Linux not supported for modern Samsung SATA drives?

Leave a Reply