You are not logged in.
Hi,
I recently revived my ancient Aspire One, replacing the HD with an SSD (Super Talent ZT4). It does not appear to support TRIM but it does have something called ECC/EDC. Does this mean I do not need to set up a cron job to occasionally TRIM my SSD?
Thanks!
Last edited by kozimodo (2016-11-13 17:59:23)
Offline

It does not appear to support TRIM
How exactly are you ascertaining this?
I would use:
sudo hdparm -I /dev/sda | grep TRIMAnd look for something like:
        *    Data Set Management TRIM supported (limit 1 block)https://en.wikipedia.org/wiki/TRIM#ATA
If your device does not support TRIM then a periodic cron job should not be used.
Offline
Yes, I ran that and nothing showed up. The datasheet shows ECC/EDC "patented wear leveling technology" but says nothing about TRIM support.
Offline
Ah, the ECC/EDC is separate from the wear leveling but there is no elaboration on just what this wear leveling technology is.
Offline

IMO, you should not attempt to use TRIM on that device.
Offline

Related to this, on slightly older technology Crucial m500 SSDs I have merely been using:
$ sudo fstrim -v /
I run it every few days, or so. I haven't set any automatic trim up on it. Is this sufficient?
Last edited by MsMattie (2016-11-13 21:09:07)
...
Linux in the backwoods of the Rocky Mountains...
Offline

Is this sufficient?
Yes, it is.
As a matter of preference, I would use this:
sudo fstrim -aYou can set up a systemd .timer to run this automatically every week very simply in BunsenLabs:
sudo cp /usr/share/doc/util-linux/examples/fstrim.service /etc/systemd/system
sudo cp /usr/share/doc/util-linux/examples/fstrim.timer /etc/systemd/system
sudo systemctl enable fstrim.timer
Offline

Thanks.
I've googled about and can't find anything on -a
But I'm guessing it means "all" so it trims all the partitions on an SSD - hopefully all the ext4 partitions and the one ntfs partition I have on these SSDs. Rather than just the volume I am in at the the $ prompt. Is this a correct guess?
...
Linux in the backwoods of the Rocky Mountains...
Offline

I've googled about and can't find anything on -a
In this case, the system man(ual) pages are the reference documentation:
man fstrimhttp://man7.org/linux/man-pages/man8/fstrim.8.html
Check the "-a" option 
EDIT: also:
fstrim --helpIf you're in a hurry 
Last edited by Head_on_a_Stick (2016-11-13 21:39:27)
Offline

Perfect...
thanks.
...
Linux in the backwoods of the Rocky Mountains...
Offline