Prerequisites: HDD System vs RAM

  • I tried installing OMV5 using the ISO in a VM with 3GB ram and 4GB system, but it failed with an out of space error.


    According a reading of the prerequisites here: https://openmediavault.readthe…en/5.x/prerequisites.html I thought that I should be okay since 4GB was more than 3GB:


    Code
    Prerequisites
    Before installing openmediavault make sure your hardware is supported.
    
    CPU: Any x86-64 or ARM compatible processor
    RAM: 1 GiB capacity
    HDD:
    System Drive: min. 4 GiB capacity (but more than the capacity of the RAM)
    Data Drive: capacity according to your needs


    Another reading suggests that you need 4GB on top of what you have for RAM, so in my case 7GB. But then that doesn't seem to make sense as then the minimum HDD requirement would be 5GB. Indeed I manage to install with a 3+6 configuration.


    Nevertheless I managed to progress through the install with 1+4. I suspect the installer is using the ram amount to create the swap partition. So my questions then:

    1. Does the actual required HDD depend on the RAM? If so, how?
    2. Assigning a 6GB HDD just because I want to provide more RAM seems a little overkill. Is there a way to configure the swap manually?
    3. I imagine doing a 1+4 install and then bumping up the RAM will work. What's the downside to this? Why is the swap dynamically sized anyway?
    4. Do I even need 3GB RAM? I was running 3+3 with OMV4 (I recall installing that with the ISO too) and only really use the NAS for file serving with a regular backup running regularly too.

    I accept that this is a minor issue so I am mainly asking for academic reasons to increase my knowledge about how LInux servers can be configured.

  • To add/answer my own question, it appears that the OMV install:

    • sets the swap = RAM
    • takes 512MB for the boot (EFI in my case)
    • leaves the rest for the system

    A clean install uses around 1.6GB, a HDD of RAM + 3GB seems about right.


    I would still appreciate thoughts on questions 3 and 4 above. For now I'll settle on 2+5.

    • Offizieller Beitrag

    Assigning a 6GB HDD just because I want to provide more RAM seems a little overkill. Is there a way to configure the swap manually?

    I would give it no less than 8 GB. You can't configure swap with the OMV ISO but you could install Debian first then OMV. For such an easy problem, I would just make the disk bigger. If you can't allocate that much, make it thin provisioned.


    I imagine doing a 1+4 install and then bumping up the RAM will work. What's the downside to this? Why is the swap dynamically sized anyway?

    It will work fine. No, the swap is no dynamically sized.


    Do I even need 3GB RAM? I was running 3+3 with OMV4 (I recall installing that with the ISO too) and only really use the NAS for file serving with a regular backup running regularly too.

    Depends on what you are doing but I doubt it. OMV runs fine on an RPi with 1 GB of ram.

    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!

  • sshaikh

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

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