After having read a little online, I decided to try the following:
Code: Select all
# cp /usr/share/doc/util-linux/examples/fstrim.{service,timer} /etc/systemd/system
Code: Select all
# systemctl enable fstrim.timer
Code: Select all
hallvor@debian-hp:~$ systemctl list-timers fstrim.timer --all
NEXT LEFT LAST PASSED UNIT ACTIVATES
n/a n/a n/a n/a fstrim.timer fstrim.service
Is there some way I can tell of it is working, except waiting for a week?