Fstrim timer activated itself

I’ll post it here because I’m not sure about how it is supposed to work and anything. I don’t really need any help with it but if this is some bug I hope it will help.

When I installed EOS in 10.2022 I’m pretty sure I disabled fstrim timer and it never even once ran trough systemd. But today I noticed that it just enabled itself and started the job right after boot!

I disabled it right after


That’s in the journal

I am doing fstrim myself and if I didn’t noticed this timer there would be double fstrims!
I also searched pacman log and didn’t found anything about it.

Can you check older log entries? Was the timer enabled all the time?

You could check with

journalctl | grep "Discard unused filesystem blocks once a week"

[user@machine ~]$ journalctl | grep "Discard unused filesystem blocks once a week"
Apr 27 23:48:01 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
Apr 28 09:57:47 machine systemd[1]: Started Discard unused filesystem blocks once a week.
Apr 29 00:10:21 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
Apr 29 09:31:16 machine systemd[1]: Started Discard unused filesystem blocks once a week.
Apr 29 14:42:53 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
Apr 29 16:27:40 machine systemd[1]: Started Discard unused filesystem blocks once a week.
Apr 29 23:52:36 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
Apr 30 09:57:59 machine systemd[1]: Started Discard unused filesystem blocks once a week.
Apr 30 23:49:44 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 01 10:02:13 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 01 23:01:18 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 01 23:01:48 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 02 00:16:15 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 02 10:01:21 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 02 23:57:58 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 03 10:08:10 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 04 00:43:22 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 04 10:07:27 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 04 23:48:31 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 05 09:38:39 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 05 09:39:51 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 05 10:39:37 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 05 12:21:03 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 05 12:21:35 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 06 00:03:35 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 06 10:02:51 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 06 10:23:23 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 06 10:23:53 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 06 10:29:22 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 06 10:29:49 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 06 10:33:01 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 06 10:33:30 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 06 10:38:23 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 06 10:38:55 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 06 23:34:51 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 07 09:43:39 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 07 23:50:42 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 08 10:01:46 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 09 00:13:04 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 09 10:24:39 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 10 00:41:38 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 10 09:55:14 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 10 23:34:58 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 11 09:59:16 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 11 13:08:01 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 11 13:12:34 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 11 21:36:22 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 11 21:36:54 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 11 23:59:58 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 12 09:56:59 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 12 15:40:51 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 12 18:46:06 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 13 00:22:30 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.
May 13 09:05:22 machine systemd[1]: Started Discard unused filesystem blocks once a week.
May 13 09:49:02 machine systemd[1]: Stopped Discard unused filesystem blocks once a week.

The very last one (May 13 09:49:02) is when I disabled it manually.
First one happened after an update day before

Have your logs been pruned or do they go back further than that? It is possible you no longer have the relevant logs.

They are not going before that. I tried with journalctl -U date and can see only those dates. Now grep command from above starts with only Apr 29 14:42:53, so few more days were removed from a log (there were many entries today).
So logs doesn’t go further back!
Sorry for bad English