My OMV Build [SERVER + VM + NAS]

  • My system is now completly updated, so this post is outdate
    See below post for new setup

    =================

    my system is more oriented to server and vm
    nas part is weak point :(


    [environtment]

    • intel E3-1265L v3 - 4core 8thread
    • 2x3TB HDD for static files
    • 1x64GB SSD for OMV os
    • 1x256GB SSD for VM os
    • 8GBx3 NO ECC RAM
    • OMV 3.0.29

    I set all hdd to spindown some amount of time
    power consumption is around 40W in idle



    [omv-plugin]

    • omv-letsencrypt (adapted for 3.0.26 by me) - all service I use are encryped by this cert
      (click if you interest it)
    • omv-rsnapshot (fixed some bug by me) - good plugin for backup, using hard-link and incremental backup it saves total backup size
    • omv-unionfilesystems
    • omv-snapraid
    • omv-openvpn
    • samba

    (I already made pull requests for all fixes by me)


    I used omv-docker,
    but docker permission management is so horrible, so I don't use docker now
    IMHO I don't recommend docker


    [other service]

    • lounge : irccloud.com similar service
      it keeps irc log when I'm not using
      below is how to install ( for OMV 3.x )


    • emby & tvheadend : emby & tvheadend for TV recording, viewing
    • webvirtmgr : kvm management web gui, image is below
      (if you want to know how to setup click here)
      it helps me to make VM, management VM (vnc for VM, resource management, power control)
      I have 2 NIC, one is attached lan the other is attached to wan
    • qemu : I packaged manually qemu from qemu-git master (which will be released as qemu-2.7)
      why? since it supports intel Intergrated graphic passthrough ( if you interest, google `qemu IGD passthrough`) (norma
      what's important? I can run desktop VM and OMV concurrently
      and it is no need to add additional pcie graphic card for it! since I use intel HD graphic for my VM
      it gives full desktop experience.
      I also made program which delegate reset button in my case to turn on and turn off my desktop VM with arduino
      so I have a one computer which is act as desktop and NAS server
    • ddclient : for my dynamic ip



    thanks for reading my omv setup
    I welcome all question, advice, critics etc.. :)

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    16 Mal editiert, zuletzt von luxflow ()

  • omv-letsencrypt (adapted for 3.0.26 by me) - all service I use are encryped by this cert
    (click if you interest it)

    nice :thumbup:
    but how bring you omv-docker to work with omv 3.0.29?

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • can you by any chance do a how-to write up on how to setup all of this step by step?


    I have almost the same needs and wants, and in the process of rebuilding my server now. (long story short, I had an OMV 2.2.25 build and got hacked, nothing to serious but have to rebuild the install. having some hardware issue so post pone the whole rebuild until have time to fix the hardware.)


    but I am not a Linux guru and have problems setting things up so they work as needed.


    my hardware is:


    Supermicro SC846 -- 24 Bay
    MB: H8DME-2 Updated BIOS v3.5
    CPU: 2x AMD Opteron Hex Core 2431 @ 2.4Ghz for total of 12 cores
    PSU: Silencer 760 Watt ATX Power Supply
    RAM: 49GB DDR2 PC-5300 @ 667mHz ECC
    IPMI Card: Kira 100
    CONTROLLERS : 3xSAT2-MV8 PCI-X
    NIC : 2x onBoard Realteck + 1 Intel Pro Dual port PCI-e card for total of 4 ports
    HDD: 2×120 SSD in RAID-1 (1xSanDisk + 1xIntel)
    2x3T HDD
    4x2T HDD
    2x1T HDD



    Don't need to encrypt but all others are preaty much the same needs as yours


    • omv-rsnapshot (fixed some bug by me) - good plugin for backup, using hard-link and incremental backup it saves total backup size
    • omv-unionfilesystems
    • omv-snapraid
    • omv-openvpn
    • samba


    I know hot to install and use #2,#3 #5, I can install #1 and #4 but never been able to set it up so it worked.


    Not sure about Lounge, have to look into it,
    really want to run KVM with webvirtmanager but can not ever install the manager so it works. KVM is not an issue as I have used it before but want web UI for it.


    I also need ddclient but it can wait.


    all other things like emby and tvheadend and coach potato I wan to run in VM, not on the main system.
    once my main server is up and running I think I will span up an OMV VM and setup all in it.



    if you do have any pointers please share it with the class :)

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

    Einmal editiert, zuletzt von vl1969 ()

    • Offizieller Beitrag
    • omv-letsencrypt (adapted for 3.0.26 by me) - all service I use are encryped by this cert
      (click if you interest it)
    • omv-rsnapshot (fixed some bug by me) - good plugin for backup, using hard-link and incremental backup it saves total backup size

    Nice setup. Thanks for the fixes :) I merged them. I'm sure there are plenty of people who would like to hear more about your qemu/webvirtmgr setup.

    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 you by any chance do a how-to write up on how to setup all of this step by step?

    yes, but I can only provide bash shell scripts which is not user-friendly out of box solutions

    I know hot to install and use #2,#3 #5, I can install #1 and #4 but never been able to set it up so it worked.

    so you installed #1 and #4 but not working as expected?
    as I know two plugins are stable 2.X (although I used only in 3.X)
    I cannot help you now since I don't know what is exactly your problem.
    for openvpn, if you successfuly create certificates and download it,
    check your router's dmz setting


    really want to run KVM with webvirtmanager but can not ever install the manager so it works. KVM is not an issue as I have used it before but want web UI for it.

    can I ask why you use KVM? as I know there is openmediavault-phpvirtualbox (although it has weak point in pci passthrough, it is still good if you don't need pci passthrough)

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

  • I will post guide for qemu + webvirtmgr (maybe within this week? I don't know)
    I will link guide here

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

  • ok let me explain my post a bit :)


    I am a bit of a noob when it comes to Linux.
    even after almost 3 years playing with it [face-palm in shame and embarrassment]


    but I can follow directions well and use google well to get me through almost any thing, keyword here is almost ...


    so I want to have a single box server that can be a Full fledged VM server to host a bunch of VMs
    but it also need to host all of my data drives and provide access to them to all clients VM and real.


    so when doing my setup, and it is very much like yours, I load up an OMV on the main box, than
    I load SnapRaid (and let's be clear I am using the plug-ins for whatever I can)
    I use my 3Tb drives for parity, since P drives must be the largest one in pool
    I use all the rest as data;
    so I have a pool of
    4x2Tb HDD + 2x1Tb HDD
    with 2x3Tb Parity drives at the moment.


    all is nice and good.


    than I install unionfilesystems and use MERGERFS pool as mainShare pooling all my data drives into single mount.


    all good so far. I was able to install and setup all of it nicely with minimal issues,if any.


    I have tried rsnapshot and openvpn before but was not able to make it work. not sure why or what went wrong.
    so need much help with them, at least a better information on what and how they do things they do.
    I am still reading up on all of this but never hurt to ask questions to someone who done it and it work for them.


    my problem with openvpn is simply my luck of knowledge on how it works.
    in the past I only dealt with Windows based VPN that you simply install the small cisco or a like client on the client PC
    give the ip and credentials and it works. I do not know how to do this on Linux.


    same thing with rsnapshot , I simply do not understand it well enough to make it work.


    still reading and learning all about it.


    now, my last setup I did use VB plugin.and have nothing against it.
    I just think that
    first KVM is Linux native Vm solution. it is part of and fully supported by the Kernel.
    it also seams to have a lot less overhead compared to VB.
    my only gripe is luck of good light weight UI for it. a webUI is a plus as I can than manage it from any PC having only browser as opposed to needing a libvirt client or such.
    I do not expect to need the pass-through options as I simply do not have anything to pass through to VM.
    I plan to add couple of network tuners later, but they can be installed and managed via network in VM. no need to pass-through.


    all data in my case should be and will be accessed via samba or nfs mounts.

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • webvirtmgr : kvm management web gui, image is below
    (if you want to know how to setup click here)

    I added how to setup webvirtmgr

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

  • The lounge definitely sounds interesting does it have a mobile web theme ?

    yes it has mobile theme, easy to use


    ================================
    I added how to install lounge in OMV 3.x

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    Einmal editiert, zuletzt von luxflow ()

  • I added how to setup webvirtmgr

    when I click on the link I get Access not authorized error :)

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • cool, I started the test run in my OMV VM
    and the step "virtualenv env" is no-go


    Bash
    /var/www/webvirtmgr# virtualenv --help
    -bash: virtualenv: command not found


    am I missing something ?
    should I have rebooted after
    "apt-get install python-virtualenv python-dev libxml2-dev libvirt-dev zlib1g-dev" ?



    also I am on Debian 8 OMV 3.0.30
    does that makes any difference?

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

    Einmal editiert, zuletzt von vl1969 ()

  • also I am on Debian 8 OMV 3.0.30
    does that makes any difference?

    yes, in OMV 8, process is slightly different
    I will add description for OMV 3.x


    =================
    added for OMV 3.x

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    Einmal editiert, zuletzt von luxflow ()

  • Man that radiator is big.... Double sided tape on the SSDs, hehe. Linus went all out.

    thanks for advice, I didn't know about that fact

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    Einmal editiert, zuletzt von luxflow ()

  • luxflow... was talking about this video you linked. It was a big radiator he used for the water cooling. And it was a really expensive build but used double sided tape with the SSDs.


    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.

  • luxflow... was talking about this video you linked. It was a big radiator he used for the water cooling. And it was a really expensive build but used double sided tape with the SSDs.

    haha sorry since I'm not good at english, so sometimes misunderstand things
    especially idioms


    I misunderstand radiator as HDD, Linus as Linux, so I understand linux in my ssd will be erased due to hdd heat
    what a shame ;)


    yes linus `went go out`

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    Einmal editiert, zuletzt von luxflow ()

  • ok, I think I got as far as I can using VM.
    the Hyper-V VM is not compatible with nested virtualization so I can not run KVM on it. some services will not start for it to work.
    I fixed my hardware last night, turns out when I was moving my SSD around I bump the MB power cable out of the place.
    so
    I will be rebuilding the whole setup in a few days. let you know if I find issues with the script.
    I know my hardware is VT-d/IOMMU compartible.

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

Jetzt mitmachen!

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