LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enabling TRIM on My SSD Is this Correct ?
#1
Code:
~ $ systemctl list-timers -a
NEXT                          LEFT        LAST                          PASSED       U
Mon 2020-06-08 10:00:36 CEST  37min left  Mon 2020-06-08 09:02:48 CEST  20min ago    a
Mon 2020-06-08 18:14:53 CEST  8h left     Mon 2020-06-08 06:31:12 CEST  2h 52min ago a
Tue 2020-06-09 06:03:44 CEST  20h left    Mon 2020-06-08 06:23:59 CEST  2h 59min ago a
Tue 2020-06-09 07:05:54 CEST  21h left    Mon 2020-06-08 07:05:54 CEST  2h 17min ago s
Mon 2020-06-15 00:00:00 CEST  6 days left Mon 2020-06-08 00:00:47 CEST  9h ago       f
n/a                           n/a         n/a                           n/a          m
n/a                           n/a         n/a                           n/a          s
n/a                           n/a         Mon 2020-06-08 06:51:42 CEST  2h 31min ago u

8 timers listed.
lines 1-11/11 (END)...skipping...
NEXT                          LEFT        LAST                          PASSED       UNIT                         ACTIVATES
Mon 2020-06-08 10:00:36 CEST  37min left  Mon 2020-06-08 09:02:48 CEST  20min ago    anacron.timer                anacron.service
Mon 2020-06-08 18:14:53 CEST  8h left     Mon 2020-06-08 06:31:12 CEST  2h 52min ago apt-daily.timer              apt-daily.service
Tue 2020-06-09 06:03:44 CEST  20h left    Mon 2020-06-08 06:23:59 CEST  2h 59min ago apt-daily-upgrade.timer      apt-daily-upgrade.service
Tue 2020-06-09 07:05:54 CEST  21h left    Mon 2020-06-08 07:05:54 CEST  2h 17min ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Mon 2020-06-15 00:00:00 CEST  6 days left Mon 2020-06-08 00:00:47 CEST  9h ago       fstrim.timer                 fstrim.service
n/a                           n/a         n/a                           n/a          motd-news.timer             
n/a                           n/a         n/a                           n/a          snapd.snap-repair.timer      snapd.snap-repair.service
n/a                           n/a         Mon 2020-06-08 06:51:42 CEST  2h 31min ago ureadahead-stop.timer        ureadahead-stop.service

8 timers listed.
[Image: dBXLTya.png]
product: Intel® Core™ i7-7700 CPU @ 3.60GHz
vendor: Intel Corp. // physical id: 1//bus info: cpu@0//// size: 2331MHz /////capacity: 4200MHz
width: 64 bits
Reply
#2
i used this command                  ////                  systemctl list-timers -a

I would like to know if this ssd  looks correct ?

thank u
[Image: dBXLTya.png]
product: Intel® Core™ i7-7700 CPU @ 3.60GHz
vendor: Intel Corp. // physical id: 1//bus info: cpu@0//// size: 2331MHz /////capacity: 4200MHz
width: 64 bits
Reply
#3
There's no need to set Trim in Series 4 or 5, it is already enabled. Please use normal fonts and formatting in your posts. Thanks.
Reply
#4
I optimized my TRIM Method from WEEKLY to DAILY job. The default TRIM in LL5 is WEEKLY but I think it is too long to recover some disk space to be useful again. I made some tweaks to change my TRIM to DAILY. But before that, check your TRIM timer first by copy-pasting this code to the Terminal:

Code:
systemctl cat fstrim.timer

Output is somewhat like this for the weekly job:

Code:
# /lib/systemd/system/fstrim.timer
[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
ConditionVirtualization=!container

[Timer]
OnCalendar=weekly
AccuracySec=1h
Persistent=true

[Install]
WantedBy=timers.target
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)