1

I have installed ubuntu 16.04 on my SSD(Adata Su650 240GB). I wanted to know if there are any tweaks that are needed to be done for the SSD to work properly and increase its lifespan.

Note:- During installation I didn't create any Swap partition.

moxfyne
  • 11

1 Answers1

1

There should not be any tools needed to be activated as they already will be when installing the system. fstrim is that tool but if your ssd is not supported you can not use it anyways.

journalctl -u fstrim

will show the status.

systemctl list-timers --all

will show the active timers (so will also show fstrim).

sudo systemctl start fstrim.timer

to active it if it is disabled. It will do nothing though if your ssd is unsupported.

 lsblk --discard

to check for support. Check the values of DISC-GRAN (discard granularity) and DISC-MAX (discard max bytes) columns. Non-zero values indicate TRIM support.

And we do not use a swap partition anymore. We use a swapfile. See more /etc/fstab. It will show how swap is created on your system. Here you can also check for fstrim support: the line that mounts your ssd will have a setting errors= with the option discard.

Rinzwind
  • 309,379