[Tutorial][Experimental][Third-party Plugin available]Reducing OMV's disk writes, also to install it on USB flash

    • Offizieller Beitrag

    3.5 gives me this error:

    This is a browser cache issue. You need to try the apt clean button in omv-extras and ctrl-shift-r in the browser.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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 I just installed OMV 3.0.9 on Debian Jessie 3.9 and OMVExtras for OMV 3.x (erasmus).


    on install of Flash Memory 3.5 I get "chmod: missing operand" errors, there is no enable button in the GUI, and the plugin shows no writes or root info. I read the last few pages of this thread and it looks like the issue was fixed, is it back again or is it me?


    Many thanks install log below



    • Offizieller Beitrag

    on install of Flash Memory 3.5 I get "chmod: missing operand" errors, there is no enable button in the GUI, and the plugin shows no writes or root info. I read the last few pages of this thread and it looks like the issue was fixed, is it back again or is it me?

    I would try rebooting to see if it fixes it. If it doesn't there a few things that can be done. Is your root filesystem ext4? If not, it won't show writes. The enable button was removed.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    It's showing like it's disabled.

    What is "showing like it's disabled"? It can't be disabled anymore. Post the output of mount

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • It's greyed out.. here's output of mount
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=2033727,mode=755)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    tmpfs on /run type tmpfs (rw,nosuid,relatime,size=3259836k,mode=755)
    /dev/sdg2 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,data=ordered)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
    tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
    pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
    cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
    cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
    cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
    cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
    cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
    cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    tmpfs on /tmp type tmpfs (rw,relatime)
    /dev/sdg1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
    nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
    /dev/sdg2 on /var/lib/docker/plugins type ext4 (rw,noatime,nodiratime,errors=remount-ro,data=ordered)
    /dev/sdg2 on /var/lib/docker/overlay2 type ext4 (rw,noatime,nodiratime,errors=remount-ro,data=ordered)
    tmpfs on /run/user/116 type tmpfs (rw,nosuid,nodev,relatime,size=1629920k,mode=700,uid=116,gid=122)
    tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=1629920k,mode=700)

    • Offizieller Beitrag

    It's greyed out..

    That is because it is read only. What do you get from: omv-mkconf flashmemory

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    there's no output to omv-mkconf flashmemory

    And there shouldn't be if it runs correctly. Now try (as root):


    folder2ram -disablesystemd
    folder2ram -clean
    folder2ram -enablesystemd
    folder2ram -mountall
    mount

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    Yes but your changes to /usr/share/openmediavault/mkconf/flashmemory will be overwritten if there is an upgrade to the plugin. What folders are you adding?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    as Pi-Hole seems to write the logging to that folder.

    That would work but I would be careful since that directory also has config.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    Is there a better way to make it persistent?

    Not with the current plugin. I could add an additional directories textbox. Let me look into that.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    Would it be possible to add a suitable folder to the list to be used as targets for symlinks? I don't think any of the existing folders is suitable.


    Code
    #<type>         <mount point>           <options>
    tmpfs           /var/log
    tmpfs           /var/tmp
    tmpfs           /var/lib/openmediavault/rrd
    tmpfs           /var/spool
    tmpfs           /var/lib/rrdcached/
    tmpfs           /var/lib/monit
    tmpfs           /var/lib/php            #keep_folder_structure   folder2ram does not have an equivalent yet
    tmpfs           /var/lib/netatalk/CNID
    tmpfs           /var/cache/samba

    Thanks

Jetzt mitmachen!

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