If not, can I do it in Terminal? I ran sudo fstrim -v / and it trimmed root on my main drive but not Home or anything on my backup drive partitions.
By default, Zorin OS 17 uses systemd’s fstrim.timer, which performs weekly TRIM operations.
You can check status with
systemctl status fstrim.timer
Does this not require discard as an option on the mount point in fstab? If not, what's the difference?
It does not require it and I recommend not using discard in fstab.
When you add discard to the mount options, the filesystem issues a TRIM command immediately after each file deletion (or block deallocation) which happens in real time.
The problem with this is that it can cause latency spikes or increase wear on the SSD.
Using a timed batch is better, IMO, since it avoids real time performance hits, excessive wear on the drive and scans all mounted filesystems and trims unused blocks in bulk.
Thank you once again.
There's an excellent article about TRIM by Digital Ocean here:
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.