Concerns about installing Flashmemory plugin

  • I was under the impression the the size of tmpfs was allocated in RAM all at once, and thus not available for others. However, the GUI shows way more than 50% free. tmpfs does not appear to work as I think it does. Admitted, I am a linux newbie.


    df-h shows several folder2ram filesystems. Each 1G (I have 2GB RAM). Can each of these grow to 1GB?
    There are also several tmpfs filesystems.


    df -h does not make a lot of sense to me:


    Filesystem Size Used Avail Use% Mounted on
    rootfs 29G 1.1G 26G 4% /
    udev 10M 0 10M 0% /dev
    tmpfs 201M 540K 200M 1% /run
    /dev/disk/by-uuid/4a9eee14-1d76-42a6-a928-ac04e1220a94 29G 1.1G 26G 4% /
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 401M 0 401M 0% /run/shm
    /dev/sdb1 917G 205M 917G 1% /media/c4943c3b-70f1-4861-902c-e2df1101bca6
    /dev/disk/by-uuid/4a9eee14-1d76-42a6-a928-ac04e1220a94 29G 1.1G 26G 4% /var/folder2ram/var/lib/monit
    /dev/disk/by-uuid/4a9eee14-1d76-42a6-a928-ac04e1220a94 29G 1.1G 26G 4% /var/folder2ram/var/lib/rrdcached
    /dev/disk/by-uuid/4a9eee14-1d76-42a6-a928-ac04e1220a94 29G 1.1G 26G 4% /var/folder2ram/var/lib/openmediavault/rrd
    /dev/disk/by-uuid/4a9eee14-1d76-42a6-a928-ac04e1220a94 29G 1.1G 26G 4% /var/folder2ram/var/lib/php5
    /dev/disk/by-uuid/4a9eee14-1d76-42a6-a928-ac04e1220a94 29G 1.1G 26G 4% /var/folder2ram/var/spool
    /dev/disk/by-uuid/4a9eee14-1d76-42a6-a928-ac04e1220a94 29G 1.1G 26G 4% /var/folder2ram/var/log
    folder2ram 1002M 8.0K 1002M 1% /var/lib/monit
    folder2ram 1002M 4.0K 1002M 1% /var/lib/php5
    folder2ram 1002M 16K 1002M 1% /var/spool
    folder2ram 1002M 568K 1002M 1% /var/lib/openmediavault/rrd
    folder2ram 1002M 24M 979M 3% /var/lib/rrdcached
    folder2ram 1002M 24M 979M 3% /var/log
    /dev/disk/by-uuid/4a9eee14-1d76-42a6-a928-ac04e1220a94 29G 1.1G 26G 4% /var/folder2ram/var/tmp
    folder2ram 1002M 0 1002M 0% /var/tmp

    • Offizieller Beitrag

    Don't worry about understanding tmpfs. If it is using a lot of memory, it will get pushed to swap if a process needs it.

    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!

  • can any one give me any tut how to use the flash memory plugins, its confusing. my fstab shows below


    proc /proc proc defaults 0 0
    /dev/mmcblk0p1 /boot vfat defaults 0 2
    /dev/mmcblk0p2 / ext4 defaults,noatime,nodiratime 0 1
    # >>> [openmediavault]
    UUID=fa36508a-b3c4-4499-b30a-711dd5994225 /media/fa36508a-b3c4-4499-b30a-711dd5994225 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    /dev/disk/by-uuid/3A8A36DA8A3691FD /media/3A8A36DA8A3691FD ntfs defaults,nofail,noexec,noatime,big_writes 0 2
    /dev/disk/by-uuid/A232ED9132ED6B2D /media/A232ED9132ED6B2D ntfs defaults,nofail,noexec,noatime,big_writes 0 2
    /dev/disk/by-uuid/72A2CC1DA2CBE427 /media/72A2CC1DA2CBE427 ntfs defaults,nofail,noexec,noatime,big_writes 0 2
    # <<< [openmediavault]
    # a swapfile is not a swap partition, no line here
    # use dphys-swapfile swap[on|off] for that



    which does not match the example made in the omv plugins page
    what to edit here to use my pendrive as flash memory.
    the pendrive UUID is 72A2CC1DA2CBE427


    thanks for the help

    • Offizieller Beitrag

    You have everything you need. Your fstab is fine.

    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!

  • Don't worry about understanding tmpfs. If it is using a lot of memory, it will get pushed to swap if a process needs it.

    If one have disable the swap with swapoff -a and removed the partition in /etc/fstab? :/:?:

    Newbie on OMV... not so new on hardware/software in general, started on the "14.400 bps"-era. Windows-guy, eger to learn more linux.
    - pfSense and OMV is my next thing for small office usage.

    • Offizieller Beitrag

    If one have disable the swap with swapoff -a and removed the partition in /etc/fstab?

    If you disable swap on a low memory box, then you are risking OOMing the box especially if you use a lot of tmpfs.

    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!

Jetzt mitmachen!

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