New openmediavault-kvm plugin

    • Offizieller Beitrag

    After a few weeks of working on a KVM plugin, I have added it to the omv-extras testing repo. I think it is working fairly well. I have been able to install Linux and Windows.


    The plugin uses libvirt (so virsh commands will work) and borrowed ideas from VMdashboard.


    There is no need to install cockpit to use this plugin but they should not cause problems with the other.


    No network bridge is needed. You can use a regular network if it is ok for the VM to live behind NAT -or- you can use a macvtap network to let the VM live on the same network as the host. Even docker is working.


    After install, make sure to create at least one pool and make it active (State -> Start). Also make sure the network is active. A default NAT network should be created. Create a macvtap network if you don't want to use NAT. Make it active after creation.


    To attach an ISO to a VM, you need to add it to a storage pool first. That means copying it to the path of the pool you create. I create a pool called ISOs and just put .iso files in it. When adding an optical drive, it will only show .iso files.


    When a VM is created, a VNC port will be open to use any vncviewer to connect. If you prefer a web-based vnc viewer, you can add a web console. The web console is a noVnc docker container. You will need to create one for each VM. These containers will not be running after rebooting the host (vnc ports may change on the VM).


    I will work on some howtos after the plugin is moved to the regular omv-extras repo. I still have some minor things to tweak and a feature or two to get working. Let me know if you can think of other features to add but I want to keep it fairly simple. The plugin may work on armhf/arm64 but it is not in the repo because I didn't see much need to run VMs on sbc boards.


    Helpful guide - [How-To] Use the Openmediavault-KVM plugin

    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!

    2 Mal editiert, zuletzt von ryecoaaron ()

  • I'm assuming Android work fine on it? Do I need to search for anything in omv extras

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

    • Offizieller Beitrag

    I'm assuming Android work fine on it?

    I assume Android should since it is Linux but I didn't try. I can add it to the OS dropdown if any special settings are needed.

    Do I need to search for anything in omv extras

    If you enable the testing repo, the plugin should show in the Plugins tab.

    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!

  • I think i will wait for the how to guides, after enabling the test repo and updating i still cant find it in the plugins.

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

    • Offizieller Beitrag

    I think i will wait for the how to guides, after enabling the test repo and updating i still cant find it in the plugins.

    Did you try apt-clean and then search for kvm in the plugins tab? I assure you it is in the repo.


    aaron@omv5dev:/srv/plugins/installScript$ apt-cache policy openmediavault-kvm

    openmediavault-kvm:

    Installed: 5.0.1

    Candidate: 5.0.1

    Version table:

    *** 5.0.1 500

    500 https://openmediavault-plugin-…github.io/packages/debian usul-testing/main amd64 Packages

    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!

  • I ended up restarting my OMV machine and I found this

    I installed it and got this error message

    It seems to have installed, should I be concerned about the error?

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

    • Offizieller Beitrag

    should I be concerned about the error?

    You will see that on every plugin install. It just means omv-engined is being restarted.

    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!

  • ryecoaaron , thank you I will setup a VM on the weekend and see how it goes. I can say it looks a lot easier to use than Cockpit VM 😁

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

    • Offizieller Beitrag

    im receiving error when i want to delete stopped pool:

    I fixed it in the next release. I just have a few others things to add before I release it. Should be today sometime.

    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!

    • Offizieller Beitrag

    5.0.2 is in the testing repo now. This adds the ability to add or remove network interfaces and fixes the delete pool issue.

    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!

  • I am also just testing you awesome plugin. It seems to be nice and user friendly to work with but i can't add a volume for some reason.


    Update: I am also able to add a pool but not able to delete it again. Just to see if it help to make a new pool and create a volume. But no such luck. :(

    • Offizieller Beitrag

    I actually might have meant to remove that button because adding a disk (volume) to the VM is most likely going to be the more common method. I will see what is wrong with it though.

    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!

    • Offizieller Beitrag

    Add and delete volumes in the Volumes tab is fixed in 5.0.3 in the testing repo now.

    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!

    • Offizieller Beitrag

    But I am not able to use it :( It gives me this when I try to make a new VM

    I knew you were going to try that. I haven't figured out why it won't use existing disks (yet, next thing to look at). Is there a reason you created the volume in the Volume tab instead of picking "Create new disk" in the drop down to do the same thing?

    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!

  • Hi ryecoaaron , im still not able to delete the pool after update of the plugin:


    and this is in syslog

    omv 6.0 in proxmox 7.1-10 - AMD Ryzen 1700 - 48GB DDR4 :thumbup:

    • Offizieller Beitrag

    Yay now I am able to create the volume... But I am not able to use it :( It gives me this when I try to make a new VM

    This is fixed in 5.0.4 in the testing repo now.


    im still not able to delete the pool after update of the plugin:

    I must have broke it fixing something else. Checking now.

    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!

    • Offizieller Beitrag

    im still not able to delete the pool after update of the plugin:

    Should be working in 5.0.5 in the testing repo now.

    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!