What's the default with SSD Trim in LMDE3 ?
It's possible to set trim as a weekly task but it likely won't defer to run later if the PC is off when it's scheduled.
Does anybody use a better method ?
SSD Trim
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: SSD Trim
There is absolutely no harm in running it daily.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: SSD Trim
I have my SSD Trim set to run weekly using scripts in systemd.
Create the two following files:
name as fstrim.service:
[Unit]
Description=Discard unused blocks
[Service]
Type=oneshot
ExecStart=/sbin/fstrim -av
name as fstrim.timer
[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
[Timer]
OnBootSec=30min
OnCalendar=weekly
AccuracySec=1h
Persistent=true
[Install]
WantedBy=timers.target
After you create these named files, save them and then copy them to /etc/systemd/system
Here is a link with instructions if mine are confusing:
https://chromabits.com/posts/2016/07/30/fstrim-systemd/
Create the two following files:
name as fstrim.service:
[Unit]
Description=Discard unused blocks
[Service]
Type=oneshot
ExecStart=/sbin/fstrim -av
name as fstrim.timer
[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
[Timer]
OnBootSec=30min
OnCalendar=weekly
AccuracySec=1h
Persistent=true
[Install]
WantedBy=timers.target
After you create these named files, save them and then copy them to /etc/systemd/system
Here is a link with instructions if mine are confusing:
https://chromabits.com/posts/2016/07/30/fstrim-systemd/
Silence is golden. Duct tape is silver. Welcome to Hell. Here's your copy of Windows.
Re: SSD Trim
I eventually decided that I'd run this manually from time to time sudo fstrim -a -v