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
@Sparhawk
in your reply, otherwise I don't get notified.) – Sparhawk May 07 '14 at 04:08fstrim-all
, which creates no output. So unless you change the cron job to usefstrim
instead (manually specifying paths), there's no way to tell if it works correctly or not. – Sparhawk May 07 '14 at 05:11