I figured out that there is no fstrim
script in /etc/cron.weekly
. I've read that TRIM is automatically enabled for SAMSUNG SSD. I'm using Ubuntu 20.04 LTS and there is no fstrim script in all cron folders. In /etc/fstab
discard
isn't set either – but discard isn't recommended anyway.
I created now the fstrim script in /etc/cron.weekly
. I hope that interferes with no other script or missed I something?
Best Answer
fstrim
is managed bysystemctl
, notcron
, and is defined by a systemd service unit calledfstrim.service
and a timer unit calledfstrim.timer
.Please use
to check for the status of fstrim. It will show something like ...
If that is not the same for you... the ssd might not be compatible.