Βάζω
- Κώδικας: Επιλογή όλων
sudo fstrim --all -v
αλλά δεν βγάζει κάποιο αποτέλεσμα. Ούτε μήνυμα λάθους, ούτε τι καθάρισε, ούτε τίποτα.
Επίσης διάβασα εδώ ότι μάλλον δεν χρειάζεται γιατί το κάνει μόνο του το σύστημα. Ή κάτι κατάλαβα λάθος;
Setting Up Periodic TRIM for systemd Distributions
Setting up periodic TRIM for modern distributions shipping with systemd tends to be rather straight forward.
Ubuntu 16.04
Ubuntu 16.04 ships with a script that is run weekly by cron. This means that enabling the systemd method described in the following section is unnecessary for Ubuntu 16.04.
If you wish to examine the script, you can see it by typing:
cat /etc/cron.weekly/fstrim
Output
#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all || true
As you can see, this script needs a version of fstrim with the --all flag. Many versions fstrim shipped with earlier releases of Ubuntu do not contain this option.
https://www.digitalocean.com/community/ ... ux-servers