Je ne connaissais pas du tout fstrim, mais en cherchant un peu sur le net je suis tombé sur ça :
In order to optimize the performance of the SSD, I strongly advise you to avoid doing the TRIM operation in real time (whenever a file is deleted) because you would be putting an unnecessary extra amount of work over the SSD. In other words: You should not enable the discard option in fstab.
Instead, what I recommend is to run a script periodically to tell the SSD which blocks are free with the command fstrim. Doing this operation daily or weekly is more than enough. This way we do not lose any performance due to TRIM when deleting files and we periodically keep informed the SSD about the free blocks.
Donc si j’ai bien compris mon option "discard", même si elle n’est pas optimale (et je me demande si elle est réellement utile, vu que l’option ssd juste avant doit l’activer par défaut selon toute vraisemblance), fait le job correctement.
[^] # Re: no space left on device
Posté par Pierre Roc . En réponse au message SSD mort. Évalué à 1. Dernière modification le 29 août 2014 à 18:19.
J’avais ça dans mon fstab :
Je ne connaissais pas du tout fstrim, mais en cherchant un peu sur le net je suis tombé sur ça :
Donc si j’ai bien compris mon option "discard", même si elle n’est pas optimale (et je me demande si elle est réellement utile, vu que l’option ssd juste avant doit l’activer par défaut selon toute vraisemblance), fait le job correctement.