Per eseguire il TRIM di un disco ssd in debian, uso il comando **fstrim**: Here you have simple script to run fstrim on the /, /boot and /home partitions, which can be programmed to be executed periodically by anacron $ cat /etc/cron.weekly/dofstrim #! /bin/sh for mount in / /boot /home; do fstrim $mount done