Enable automatic trim on SSDs

  1. open /etc/fstab in a text editor
  2. add discard the the options of ext4 filesystems
  3. reboot

Example

/etc/fstab
..
UUID=63ffd006-4620-4200-a562-e2d8a60e7b53 /               ext4    discard,errors=remount-ro 0       1
..