Openmediavault have TRIM enabled?

  • Out of curiosity, I just checked my fstab (OS resides on small Intel SSD) and the "discard" parameter is missing :( How can one edit this file to survive mkconfigs? Currently, only errors=remount-ro is setup there....the filesystem is ext4. Can anyone recommend some parameters?

  • n my fstab does this "discard" my fstab looks like this:



    You can tell me what are the good parameters for SSD

    • Offizieller Beitrag

    You can edit the os drive in fstab without being affected by mkconf at a later time. mkconf only alters fstab between the openmediavault tags.


    Here is a proper ssd line in fstab
    UUID=ad37d5cd-419b-4e3c-9ddf-b73c0aeeef9c / ext4 noatime,nodiratime,discard,errors=remount-ro 0 1

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Often problem, I was wrong in the fstab and reboot and going to correct that now will not let me, this reading fstab mode. There any way to change permissions to fstab? I have run chmod 0777 chmod 0644 without any result always the same read-only

    • Offizieller Beitrag

    What system? What is the output of mount? I'm guessing the boot partition is mounted read only or you aren't logged in as root.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • In the end what I will do is to low level format the SSD and reinstall openmediavault installation with the stick and start again. The problem I've always had is that I can not move files from one folder to another by average transfer samba because it is locked with no Internet connection and have to return to reniciar OMV

Jetzt mitmachen!

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