rekees2020
deepin
2021-07-24 06:27 Enable it by running the following command:
sudo systemctl enable fstrim.timer
By detault, TRIM occurs on a weekly basis.
If you wanna change that, go to the latter of the two paths in the message returned by the above command, and open fstrim.timer there as text. Then, change "weekly" to what you desire. I'm not sure what values are valid, though "daily" surely works.
Reply Like 0 View the author


中文 
I check TRIM how it work and current status:
$ sudo systemctl status fstrim.timerTRIM not work:
● fstrim.timer - Discard unused blocks once a week
Loaded: loaded (/lib/systemd/system/fstrim.timer; enabled; vendor preset: enabled)
Active: inactive (dead)
Trigger: n/a
Docs: man:fstrim
So how i enable the service for My SSD nvme hard drive
Thank!