OMV 5 - RAM shrinks when using SnapRAID

  • Hi all

    I have OMV 5 version installed couple of weeks ago. When I run the snapraid command to sync suddenly RAM amount shrinks, from 18GB to 15GB and then 13GB and sometimes 12GB.

    Hosting it on Proxmox.

    All the disks are used in Snapraid with scsi10 being parity and scsi1 - scsi9 are content drives.

    I try to run initial snapraid sync command, the job should take about 60h to finish and each time, couple days into the task, just before it should finish its being killed.

    Every time I rerun Snapraid sync it starts from the beginning and now I must wait another couple of days to hopefully finish. But it never does.

    I can only assume its because the RAM amount shrinks so much the Snapraid breaks.

    Why is this happening ?

    Thanks and stay safe people

  • KM0201

    Approved the thread.
  • bazookas

    Changed the title of the thread from “OMV 5 - RAM is dynamically shrinking” to “OMV 5 - RAM shrinks when using SnapRAID”.
  • votdev

    Approved the thread.
  • Anyone ? No one encountered anything like this before? Is this a bug I can report ?


    I have now created OMV4 VM in proxmox and passtrhough all the disk to it from my OMV5 vm.

    Everything is exactly the same as on OMV5 and I have started SnaprRAID sync.

    So far so good, no memory issues, no memory shrinkage.

    Will report in cca 2-3 days if the sync finishes.

  • There is nothing wrong. It is not unusual to see RAM usage increase when starting additional applications.

    Google is your friend and Bob's your uncle!

    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • I think you misunderstood what I was trying to say.

    Check the 2.,3. & 4. picture and the amount of ALL RAM omv reports to have it in each of the picture.

    It goes from 18.13GB to 13.46GB and to 12.82GB

  • Wait until Linux reports ALL your memory is used. That's not unusual either.

    Google is your friend and Bob's your uncle!

    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • If I install 16GB to my new PC and boot it up, I expect to see OS reporting 16GB ram installed when I boot up and no mater how many GB apps use, OS should still report 16GB is installed into PC.

    Not 14.43GB or 11.98GB or whatever. If thats normal then I dont know anymore

    EDIT: and subquestion: why does that not happen in OMV4 ? Only in OMV5 as far as I can tell

  • bazookas you seem to be using KVM with a Linux 5.8.0 kernel.

    Looks to me like an unpatched bleeding edge kernel

    OMV5 is build using SALT stack and there are many working installations on 5.4 proxmox kernel

    What evidence can you offer to support the claim "devs have some work with OMV5"?

    The screenshots are unfortunately not enough evidence.

    omv 5.6.12-1 (usul) on RPi4/4GB with Kernel 5.10.17 and WittyPi 3 V2 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

  • OMV reports 5.8.0 kernel

    OMV4 reports 4.19.0

    when in fact its 5.4.78

    Is it normal that 2 different OMV versions are reporting different kernels on same Proxmox node ?

  • OK I completely misunderstood how the report works. My bad

    But my Proxmox is updated to latest

    And I dont know what more evidence I should provide, to me those screenshots are self-evident

  • There may be a misunderstanding. gderf states that higher RAM usage is common. But this is not about usage of ram, it is about the total amount of RAM being detected isnt it?

    Correct sir!

    Maybe I was not clear enough from get go, my apologies.

Participate now!

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