fstrim σε 16.04

...εγκαταστάσεις, αναβαθμίσεις, διαχείριση partitions, boot-loader, κλπ

Συντονιστής: adem1

Κανόνες Δ. Συζήτησης
Στην ενότητα αυτή γράφουμε θέματα/ προβλήματα μόνο για το UBUNTU ή τα παράγωγά του.

fstrim σε 16.04

Δημοσίευσηαπό Alexandros » 05 Φεβ 2020, 17:52

Στη νέα εγκατάσταση σε ssd στο 16.04 που έκανα για κάποιο λόγο δεν φαίνεται να δουλεύει το fstrim

Βάζω
Κώδικας: Επιλογή όλων
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
ACER ASPIRE 5920G-934G32Bn, Intel Core 2 Duo T9300 (2.5 GHz FSB, 6MB L2 Cache, 800 MHz FSB), 4GB (2x2 GB) DDR2, Nvidia, GEFORCE 9500M-GS 512MB, 15.4 WXGA CB,802.11N - https://www.viralnews.gr/index.php/ygeia-kathimerinotita/item/392-seminario-facebook
Alexandros
daemonTUX
daemonTUX
 
Δημοσιεύσεις: 981
Εγγραφή: 08 Ιούλ 2008, 14:07
Εκτύπωση

Επιστροφή στο Λειτουργικό Σύστημα