Afin de rendre TRIM quotidient à la place d'hebdomadaire, j'ai suivi ce tuto :
https://easylinuxtipsproject.blogspot.c ... html#ID8.1
Je voulais voir si cela fonctionnait bien et pour cela j'ai rentré la commande suivante :
Code : Tout sélectionner
moy@TOY:~$ journalctl -u fstrim.service
-- Reboot --
mai 02 00:00:27 TOY systemd[1]: Starting Discard unused blocks...
mai 02 00:00:54 TOY fstrim[4492]: /boot : 533,7 MiB (559599616 octets) taillés
mai 02 00:00:54 TOY fstrim[4492]: / : 66 GiB (70911016960 octets) taillés
mai 02 00:00:54 TOY systemd[1]: Started Discard unused blocks.
mai 03 07:59:17 TOY systemd[1]: Starting Discard unused blocks...
mai 03 07:59:22 TOY fstrim[17822]: /boot : 0 B (0 octets) taillés
mai 03 07:59:22 TOY fstrim[17822]: / : 5,3 GiB (5716631552 octets) taillés
mai 03 07:59:22 TOY systemd[1]: Started Discard unused blocks.
-- Reboot --
mai 04 07:58:41 TOY systemd[1]: Starting Discard unused blocks...
mai 04 07:59:15 TOY fstrim[960]: /boot : 535,7 MiB (561692672 octets) taillés
mai 04 07:59:15 TOY fstrim[960]: / : 65,5 GiB (70284349440 octets) taillés
mai 04 07:59:15 TOY systemd[1]: Started Discard unused blocks.
mai 05 00:00:16 TOY systemd[1]: Starting Discard unused blocks...
mai 05 00:00:20 TOY fstrim[16003]: /boot : 35 MiB (36704256 octets) taillés
mai 05 00:00:20 TOY fstrim[16003]: / : 5 GiB (5377200128 octets) taillés
mai 05 00:00:20 TOY systemd[1]: Started Discard unused blocks.
mai 06 00:00:16 TOY systemd[1]: Starting Discard unused blocks...
mai 06 00:00:21 TOY fstrim[25932]: /boot : 0 B (0 octets) taillés
mai 06 00:00:21 TOY fstrim[25932]: / : 6,9 GiB (7397642240 octets) taillés
mai 06 00:00:21 TOY systemd[1]: Started Discard unused blocks.
mai 07 00:00:16 TOY systemd[1]: Starting Discard unused blocks...
mai 07 00:00:22 TOY fstrim[8578]: /boot : 0 B (0 octets) taillés
mai 07 00:00:22 TOY fstrim[8578]: / : 9 GiB (9666772992 octets) taillés
mai 07 00:00:22 TOY systemd[1]: Started Discard unused blocks.
mai 08 08:25:54 TOY systemd[1]: Starting Discard unused blocks...
mai 08 08:26:00 TOY fstrim[3498]: /boot : 199 MiB (208621568 octets) taillés
mai 08 08:26:00 TOY fstrim[3498]: / : 7,9 GiB (8481837056 octets) taillés
mai 08 08:26:00 TOY systemd[1]: Started Discard unused blocks.
mai 09 07:58:08 TOY systemd[1]: Starting Discard unused blocks...
mai 09 07:58:14 TOY fstrim[3782]: /boot : 0 B (0 octets) taillés
mai 09 07:58:14 TOY fstrim[3782]: / : 7,9 GiB (8460705792 octets) taillés
mai 09 07:58:14 TOY systemd[1]: Started Discard unused blocks.
-- Reboot --
mai 10 06:31:10 TOY systemd[1]: Starting Discard unused blocks...
mai 10 06:31:48 TOY fstrim[1026]: /boot : 535,7 MiB (561688576 octets) taillés
mai 10 06:31:48 TOY fstrim[1026]: / : 65 GiB (69745848320 octets) taillés
mai 10 06:31:48 TOY systemd[1]: Started Discard unused blocks.Ce que je comprends c'est qu'à la vue des date, TRIM est bien effectué une fois par jour.
Je suis étonné des quantités de données évoqué, par exemple "65 GiB taillés".
Comment cela est-ce possible alors que mon disque fait 128Go ?
Quelqu'un peut-il m'expliquer ces résultats ?
Merci