openmediavault-kvm plugin + libvirt-qemu user

  • I wantedt to test the KVM plugin so I played around with it following the according omv wiki and this tutorial:

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Starting a VM I got this message


    Searching the internet and the forum I found this post by ryecoaaron saying to chown the *.qcow2 to libvirt-qemu user


    Now do I have to do it with every new machine? Is there a way to do it in GUI (I don't have a problem using the terminal but why is there no way to do it in GUI if it seems to be important?)? Why does it seem to work in the video without chown'ing?


    I had to stop ty tinkering before chown'ing so I can't report more.

    OMV7.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • Thanks for your reply.

    But are you sure? Because in the wiki it is said

    Quote

    These folders are now owned by the root user and the users group and have 2775 permissions, that's enough for it to work.

    The libvirt-qemu user (id=64055) must have path access to these folders, make sure of this if you choose another way to create those folders.

    omv7:omv7_plugins:kvm [omv-extras.org]

    OMV7.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • I just tried a fresh ubuntu server iso with no luck, still the same error:


    with ls -la

    drwxrws--- 2 root users 4096 29. Jan 21:20 .

    drwx--x---+ 4 root root 4096 29. Jan 20:55 ..

    -rw------- 1 libvirt-qemu libvirt 26847870976 29. Jan 21:16 ubuntu-server.qcow2

    -rw------- 1 root users 26847870976 29. Jan 21:11 ubuntu-server.qcow2.bak


    Will need further investigation I guess...


    ----------------------------------------------


    Edit:
    After chown'ing the whole directory I was able to install ubuntu.

    Next thing I will try is HA.

    OMV7.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

    Edited once, last by fahrer17 ().

    • Official Post

    Did you create more than one subfolder in the path when creating the shared folder?

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.6 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.5 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.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!

  • Did you create more than one subfolder in the path when creating the shared folder?

    Your guess is right, I structured it like this:


    /srv/dev-disk-by-uuid-ed51370e-93c2-4113-953a-41e9666acb96/

    ├── kvm

    │   ├── KVM_ISOs

    │   │   └── ubuntu-24.04.1-live-server-amd64.iso

    │   └── KVM_Volumes

    │   ├── ubuntu-server.qcow2

    │   └── ubuntu-server.qcow2.bak

    └── lost+found


    Edit:

    Oh, the *.qcow2 were of course meant to be inside the KVM_Volumes folder - I will check this.

    OMV7.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

    Edited once, last by fahrer17 ().

  • I could get hold of a decent HP400G4 so I now mess around with this machine.

    Therefore I deleted everything KVM related on my OMV and no need to dive deeper into this.


    Thank you so far for your assistance!

    OMV7.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • fahrer17

    Added the Label resolved

Participate now!

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