[RESOLVED] File system mount options

  • Hello,


    I'm trying to change the default mount options for my XFS filesystem but I'm unable to. I manually changed the /etc/openmediavault/config.xml to include the options "noatime,nodiratime" in the fstab section:


    Code
    <mntent>
            <uuid>d6142090-dceb-4371-a586-2cbfd8b228bf</uuid>
            <fsname>b7b476f5-1f43-47b8-9172-b7575d705e22</fsname>
            <dir>/media/b7b476f5-1f43-47b8-9172-b7575d705e22</dir>
            <type>xfs</type>
            <opts>defaults,nofail,noexec,usrquota,grpquota,noatime,nodiratime</opts>
            <freq>0</freq>
            <passno>2</passno>
          </mntent>


    and also changed the default mount options defined in /etc/default/openmediavault for XFS filesystem:


    Code
    OMV_FSTAB_MNTOPS_XFS="defaults,nofail,noexec,usrquota,grpquota,noatime,nodiratime"


    1. If I manually unmount/mount from WebGUI, mount section is removed from config.xml and inserted again again without my custom options
    2. If I reboot the machine, config.xml file remains untouched (with my mount options) but filesystem are mounted without them


    Thx

    OpenMediaVault 2.2.14 (Stone burner)
    VMware ESXi 5.5U3 (build-5230635) | HP ProLiant MicroServer Gen8 | Intel Xeon CPU E3-1265L V2 @ 2.50GHz | 16GB RAM | 250GB SSD + 4x 3TB HDD

    • Offizieller Beitrag

    I would guess you need to change /etc/default/openmediavault, then edit config.xml, and then run: omv-mkconf fstab

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

  • Hi,


    After executing "omv-mkconf fstab" and unmount/mount through WebGUI, It worked like a charm.


    Thx

    OpenMediaVault 2.2.14 (Stone burner)
    VMware ESXi 5.5U3 (build-5230635) | HP ProLiant MicroServer Gen8 | Intel Xeon CPU E3-1265L V2 @ 2.50GHz | 16GB RAM | 250GB SSD + 4x 3TB HDD

    • Offizieller Beitrag

    Good to hear :)

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

Jetzt mitmachen!

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