trimm inactive on old vertex 4 ssd

  • Hello,


    Can someone help me with the following problem? I have build an omvbox with a vertex 4 ssd as boot drive. When I did a check if the system is using the trim function the result was negative. I have read that omv automatically enables trim on ssd during install. Could it be that because the vertex 4 is old that it wasn't recognized properly? And yes I know, this drive will be replaced in due time :). I used the following commands to obtain info:


    Code
    root@openmediavault:~# systemctl status fstrim.timer
    ● fstrim.timer - Discard unused blocks once a week
       Loaded: loaded (/lib/systemd/system/fstrim.timer; disabled; vendor preset: en
       Active: inactive (dead)
      Trigger: n/a
         Docs: man:fstrim 
    Code
    root@openmediavault:~# fstrim --verbose --all
    /boot/efi: 510.9 MiB (535654400 bytes) trimmed on /dev/sdc1
    /: 93.7 MiB (98189312 bytes) trimmed on /dev/sdc2

    Will the following command solve this problem or do I need to do more?


    Code
    sudo systemctl enable fstrim.timer

    Any help is appreciated. :thumbup:


    Thank you.

    • Offizieller Beitrag

    Try replacing enable with start, the least it will do is barf :)

    Raid is not a backup! Would you go skydiving without a parachute?


    OMV 6x amd64 running on an HP N54L Microserver

  • output:

    Code
    root@openmediavault:~# systemctl status fstrim.timer
    ● fstrim.timer - Discard unused blocks once a week
       Loaded: loaded (/lib/systemd/system/fstrim.timer; enabled; vendor preset: enabled)
       Active: active (waiting) since Sat 2021-03-27 00:22:50 CET; 1min 59s ago
      Trigger: Mon 2021-03-29 00:00:00 CEST; 1 day 22h left
         Docs: man:fstrim
    
    Mar 27 00:22:50 openmediavault.local systemd[1]: Started Discard unused blocks once a week.

    Looks good. Thanks.

  • thesorcerer

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!