test new version of flashmemory plugin using zram

  • Hello! Two days ago I turned off monitoring, rebooted the server, and now I don't see the errors that were in the screenshot in the previous post. Everything works normally. Also, all this time, when the latest test version of the Flash plugin is running (md5sum: 2596a04d8ac16eb5de61497ea1926d58), I don't see any problems with mail.

    Unfortunately, all is not well. The server has been running for 5 days now without rebooting and when I connect to it using IDRAC I see a screen filled with the following errors:

    Without the plugin installed, there are no errors.

    Server monitoring is currently disabled.

    omv 7.7.1-2 (Sandworm) | 64 bit | kernel 6.12.12+bpo-amd64

    plugins : backup 7.1.4 | compose 7.4.2 | cputemp 7.0.2 | flashmemory 7.1.0-2 | ftp 7.0-5 | omvextrasorg 7.0.2 | onedrive 7.1.4-3 | remotemount 7.0.2 | sftp 7.0.3 | sharerootfs 7.0-1 |

    • Official Post

    Since zram-config creates a swap filesystem on a zram device on each boot, I would be curious if this keeps happening. Uninstalling the plugin and reinstalling also would recreate the swap device.


    What is the output of:

    sudo dmesg | grep zram0

    swapon --show

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

  • Since zram-config creates a swap filesystem on a zram device on each boot, I would be curious if this keeps happening. Uninstalling the plugin and reinstalling also would recreate the swap device.


    What is the output of:

    sudo dmesg | grep zram0

    swapon --show

    Code
    root@omv420:~# sudo dmesg | grep zram0
    [   25.907198] zram: Added device: zram0
    [   25.909827] zram0: detected capacity change from 0 to 1536000
    [   26.024792] Adding 767996k swap on /dev/zram0.  Priority:75 extents:1 across:767996k SSFS
    root@omv420:~# 
    root@omv420:~# 
    root@omv420:~# swapon --show
    NAME       TYPE      SIZE   USED PRIO
    /dev/sdc3  partition 977M   156K   -2
    /dev/zram0 partition 750M 298.1M   75

    omv 7.7.1-2 (Sandworm) | 64 bit | kernel 6.12.12+bpo-amd64

    plugins : backup 7.1.4 | compose 7.4.2 | cputemp 7.0.2 | flashmemory 7.1.0-2 | ftp 7.0-5 | omvextrasorg 7.0.2 | onedrive 7.1.4-3 | remotemount 7.0.2 | sftp 7.0.3 | sharerootfs 7.0-1 |

    • Official Post

    How much ram is on the system? Since it is swapping, I'm guessing it is a lower amount. You could see those errors if you are running out of ram to swap to.


    I would disable the non-zram swap as a test to see if you still get errors. It will be recreated on the next boot.

    sudo swapoff /dev/sdc3

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

  • How much ram is on the system? Since it is swapping, I'm guessing it is a lower amount. You could see those errors if you are running out of ram to swap to.


    I would disable the non-zram swap as a test to see if you still get errors. It will be recreated on the next boot.

    sudo swapoff /dev/sdc3

    96Gb

    omv 7.7.1-2 (Sandworm) | 64 bit | kernel 6.12.12+bpo-amd64

    plugins : backup 7.1.4 | compose 7.4.2 | cputemp 7.0.2 | flashmemory 7.1.0-2 | ftp 7.0-5 | omvextrasorg 7.0.2 | onedrive 7.1.4-3 | remotemount 7.0.2 | sftp 7.0.3 | sharerootfs 7.0-1 |

    • Official Post

    You shouldn't even need swap with 96gb of ram. I would just disable the swap entry in the flashmemory plugin.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

  • You shouldn't even need swap with 96gb of ram. I would just disable the swap entry in the flashmemory plugin.

    I can't turn it off there. For some reason, clicking the Save button doesn't work.

    omv 7.7.1-2 (Sandworm) | 64 bit | kernel 6.12.12+bpo-amd64

    plugins : backup 7.1.4 | compose 7.4.2 | cputemp 7.0.2 | flashmemory 7.1.0-2 | ftp 7.0-5 | omvextrasorg 7.0.2 | onedrive 7.1.4-3 | remotemount 7.0.2 | sftp 7.0.3 | sharerootfs 7.0-1 |

  • @ryecoaaron I see you updated the test plugin. Now the version with md5 is available at your link: 098696ffda1e79341eff7753e1c7a1dd. Can I test this version?

    omv 7.7.1-2 (Sandworm) | 64 bit | kernel 6.12.12+bpo-amd64

    plugins : backup 7.1.4 | compose 7.4.2 | cputemp 7.0.2 | flashmemory 7.1.0-2 | ftp 7.0-5 | omvextrasorg 7.0.2 | onedrive 7.1.4-3 | remotemount 7.0.2 | sftp 7.0.3 | sharerootfs 7.0-1 |

    • Official Post

    I can't turn it off there. For some reason, clicking the Save button doesn't work.

    I just tried this on my dev system. It is working fine. Can you ctrl-shift-R? Is the swap disabled already? You could delete the entry too.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

    • Official Post

    Now the version with md5 is available at your link: 098696ffda1e79341eff7753e1c7a1dd. Can I test this version?

    I just made an install change. It won't change what you are trying. But it won't hurt to install either.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

  • I just tried this on my dev system. It is working fine. Can you ctrl-shift-R? Is the swap disabled already? You could delete the entry too.

    No it doesn't help. swap doesn't turn off, I tried both in chrome and firefox


    I just made an install change. It won't change what you are trying. But it won't hurt to install either.

    I will try reinstalling the plugin now.

    omv 7.7.1-2 (Sandworm) | 64 bit | kernel 6.12.12+bpo-amd64

    plugins : backup 7.1.4 | compose 7.4.2 | cputemp 7.0.2 | flashmemory 7.1.0-2 | ftp 7.0-5 | omvextrasorg 7.0.2 | onedrive 7.1.4-3 | remotemount 7.0.2 | sftp 7.0.3 | sharerootfs 7.0-1 |

    • Official Post

    No it doesn't help. swap doesn't turn off, I tried both in chrome and firefox

    I just installed on a fresh system and it is doing it. I will look at this.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

    • Official Post

    The issue only affected disabling swap. It is fixed in the package in the testing location.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

  • I just installed on a fresh system and it is doing it. I will look at this.

    On my system, I can't disable swap even after reinstalling the plugin. I tried to do it from two different computers and different browsers, but I couldn't.

    omv 7.7.1-2 (Sandworm) | 64 bit | kernel 6.12.12+bpo-amd64

    plugins : backup 7.1.4 | compose 7.4.2 | cputemp 7.0.2 | flashmemory 7.1.0-2 | ftp 7.0-5 | omvextrasorg 7.0.2 | onedrive 7.1.4-3 | remotemount 7.0.2 | sftp 7.0.3 | sharerootfs 7.0-1 |

    • Official Post

    On my system, I can't disable swap even after reinstalling the plugin. I tried to do it from two different computers and different browsers, but I couldn't.

    ctrl-shift-R. when installing plugins from the command line, your browser cache is not refreshed.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

  • ctrl-shift-R. when installing plugins from the command line, your browser cache is not refreshed.

    I understand what you're saying. I've done this many times. But it doesn't work for me. Can I disable this correctly from the command line?

    omv 7.7.1-2 (Sandworm) | 64 bit | kernel 6.12.12+bpo-amd64

    plugins : backup 7.1.4 | compose 7.4.2 | cputemp 7.0.2 | flashmemory 7.1.0-2 | ftp 7.0-5 | omvextrasorg 7.0.2 | onedrive 7.1.4-3 | remotemount 7.0.2 | sftp 7.0.3 | sharerootfs 7.0-1 |

    • Official Post

    Can I disable this correctly from the command line?

    Just delete the swap entry. It can always be added back.

    I understand what you're saying. I've done this many times. But it doesn't work for me.

    I know exactly what was causing the issue. The only things that could keep causing the issue is browser cache or the latest package isn't actually installed. I will start incrementing the version when uploading new updates until it is in the omv-extras repo.


    wget https://omv-extras.org/testing/openmediavault-flashmemory_7.1.0-1_all.deb

    sudo dpkg -i openmediavault-flashmemory_7.1.0-1_all.deb

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

  • Just delete the swap entry. It can always be added back.

    I know exactly what was causing the issue. The only things that could keep causing the issue is browser cache or the latest package isn't actually installed. I will start incrementing the version when uploading new updates until it is in the omv-extras repo.


    wget https://omv-extras.org/testing/openmediavault-flashmemory_7.1.0-1_all.deb

    sudo dpkg -i openmediavault-flashmemory_7.1.0-1_all.deb

    I removed the last test plugin, disabled swap with swapoff -a, commented out the swap drive in /etc/fstab and installed the plugin from the last post. After that, in the web interface, it showed that swap was running, but this time the Save button worked and I disabled it also through the web interface. I will watch. Thank you very much for your help.

    omv 7.7.1-2 (Sandworm) | 64 bit | kernel 6.12.12+bpo-amd64

    plugins : backup 7.1.4 | compose 7.4.2 | cputemp 7.0.2 | flashmemory 7.1.0-2 | ftp 7.0-5 | omvextrasorg 7.0.2 | onedrive 7.1.4-3 | remotemount 7.0.2 | sftp 7.0.3 | sharerootfs 7.0-1 |

    • Official Post

    I removed the last test plugin, disabled swap with swapoff -a, commented out the swap drive in /etc/fstab and installed the plugin from the last post. After that, in the web interface, it showed that swap was running, but this time the Save button worked and I disabled it also through the web interface. I will watch. Thank you very much for your help.

    If you remove swap, don't forget to remove /etc/initramfs-tools/conf.d/resume and run update-initramfs -u


    Removing the plugin and install the plugin again is what really fixed the save button. The plugin doesn't know anything about other swap settings.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

    • Official Post

    The 6.12 kernel is in the bookworm-backports now. It doesn't seem to support lzo-rle compression for zram anymore. lz4 is the default.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    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!

    Edited once, last by ryecoaaron ().

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!