I'm using the softwareraid (mdraid) RAID1 on 2 Intel SSD DC S3500 and I found there's a fstrim job on cron.weekly. Does it mean Ubuntu supports it?
I could not find any article saying that SSD mdraid and fstrim is supported for RAID1. And this bug on launchpad is confusing: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1276941
I tried to run fstrim manually and it works:
sudo fstrim -v /
/: somerandomnumber bytes were trimmed
No luck with the fstrim-all as used in the cron.weekly since there's no verbose option to run that command. https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1303199