IceWhaleTech / ZimaOS

703 stars 45 forks source link

Please enable fstrim service #84

Closed plangin closed 4 months ago

plangin commented 4 months ago

It would be nice to have a service running which trims the SSD drives regularly.

The command fstrim -all does work fine, but you will have to run it manually from time to time.

plangin commented 4 months ago

Ah, it seems to be active already.

Running systemctl status fstrim.timer reveals:

● fstrim.timer - Discard unused blocks once a week Loaded: loaded (/usr/lib/systemd/system/fstrim.timer; enabled; preset: enabled) Active: active (waiting) since Mon 2024-07-15 00:57:41 UTC; 19min ago Until: Mon 2024-07-15 00:57:41 UTC; 19min ago Trigger: Mon 2024-07-22 00:21:47 UTC; 6 days left Triggers: ● fstrim.service Docs: man:fstrim

Jul 15 00:57:41 ZimaCube systemd[1]: Started Discard unused blocks once a week.