Hi crashtest - and the last line of that article is "Your virtual machine can now boot from the physical drive associated with the VMDK file." - I don't want to change the boot drive - I just want to access a physical hard disk for data storage .. that seems to be impossible ..
New openmediavault-kvm plugin
- ryecoaaron
- Geschlossen
-
-
Since it's windows based, I've only attempted to use VB for testing purposes. I've never actually tried to run a "working VM" from it.
To keep the topic of this thread on the KVM plugin, please post RE. VB in another thread. (Thanks) -
You can edit the XML in the plugin but you are correct that passing thru a pci-e device is not in the plugin.
that, i wouldn't say, even though there is a menu for it. It's just not usable. Cursor focus, scrolling, editing, saving. It's not usable
-
that, i wouldn't say, even though there is a menu for it. It's just not usable. Cursor focus, scrolling, editing, saving. It's not usable
Not much I can do about focus or scrolling. It seems to be an extjs issue. Editing and saving work fine for me. While I have made edits before, I usually copy the whole thing to another editor and paste the changes back in. Or just use virt-manager. That said, the editing is much better in OMV 6.x.
-
Hello, I need to increase the size of a virtual machine's disk partition. It is possible?
-
yes, you need to put a STATIC IP in the OMV interface (and mask and gateway etc)
if you already have an IP reservation in the router, then it needs to be the same IP, otherwise the OMV machine will request an IP but the router reserved another IP so they might not understand each other
alternatively, you can delete the IP reservation from the router, but in my experience it is better to leave it also there so that the router does not assign it to some other device when OMV is shutdown or disconnected.
this is how I have it in OMV - 192.168.1.14 is the IP of the OMV machine and it is also reserved in the routerPS don't forget to also put DNS 8.8.8.8 in the OMV bridge; this is not required for the VM, but it avoids some issues on the OMV side in general (i.e. radarr/sonarr sometimes do not work without this)
i followed your instructions but the vm is not assigned any ip, what can i check?
-
-
I do not have a step by step guide but I can tell you that you just need to mount the virt iso and get the drivers from there. On omv5 the is a button in the plugin where you can download the iso to the selected pool. Then you just have to add it to your windows VM as an optical drive. Then you can click the treiber lades button in your installation. Then browse to the optical drive and let it find the driver.
-
-
I believe it is the folder is called iostore. Down in the bottom. You maybe have to go choose w10 folder and amd64. Something like that. I am sorry for my not so precise answer. I am answering out from my memory ☺️.
-
I had a look through: https://github.com/OpenMediaVa…/tree/master/debian/dists
And couldn't see openmediavault-kvm for shaitan(-testing|-beta) yet. Wondering if this plugin is coming to OMV 6.x?
Thinking of ditching virt host and go for a clean OMV setup (no other web GUIs) and host k3os on that and separate the concerns nicely.
Thank you for all the work on this plugin!
-
I had a look through: https://github.com/OpenMediaVa…/tree/master/debian/dists
And couldn't see openmediavault-kvm for shaitan(-testing|-beta) yet. Wondering if this plugin is coming to OMV 6.x?
Thinking of ditching virt host and go for a clean OMV setup (no other web GUIs) and host k3os on that and separate the concerns nicely.
Thank you for all the work on this plugin!
-
And couldn't see openmediavault-kvm for shaitan(-testing|-beta) yet. Wondering if this plugin is coming to OMV 6.x?
It is very close. It is a huge plugin though. I actually just upgraded my main server to OMV 6.x that runs many VMs. It is helping me find more issues.
-
i want to connect my VM(dhcp client) to the same network as my host is configured.
if i choose the bridged connection, i can connect to the internet but can not ping the host.
do i need another bridge as described in this link?
-
do i need another bridge as described in this link?
You have to change the host to use a bridge. Then you choose the bridge connection for the VM. There are a few posts about this.
-
I am new to KVM and OMV and I am a bit at loss with the terminology and order of operations.
can someone please help me with the steps of creating one? this is what I did:
i created on the raid two dirs, install_images and VMs
I created two pools, mapped to these directories
I used the "download" button while selecting the install images and put in https://dl-cdn.alpinelinux.org…tandard-3.15.0-x86_64.iso - this worked well and the image was loaded
I created a volume, 16GB in size, in the VMs direcotry
went back to the VMs tab, added a new vm but it would not start. nothing happens when i press the state->start
this is the resulting xml:
Code
Alles anzeigen<domain type='kvm'> <name>alpine</name> <uuid>9feb64a8-c07e-416b-bf32-eaac98ea991c</uuid> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>4194304</currentMemory> <vcpu placement='static'>1</vcpu> <os> <type arch='x86_64' machine='pc-i440fx-5.2'>hvm</type> <boot dev='hd'/> <boot dev='cdrom'/> <boot dev='network'/> </os> <features> <acpi/> <apic/> </features> <clock offset='localtime'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/srv/dev-disk-by-uuid-ada13d00-f236-49d2-9ea7-3e6278a0cfd3/VMs/alpine.qcow2'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/srv/dev-disk-by-uuid-ada13d00-f236-49d2-9ea7-3e6278a0cfd3/install_images/alpine-standard-3.15.0-x86_64.iso'/> <target dev='hda' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <controller type='usb' index='0' model='piix3-uhci'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <interface type='network'> <mac address='52:54:00:d9:0c:00'/> <source network='default'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </interface> <channel type='spicevmc'> <target type='virtio'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes'> <listen type='address'/> </graphics> <graphics type='spice' autoport='yes' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> <gl enable='no'/> </graphics> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <stats period='10'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </memballoon> </devices> </domain>
-
can someone please help me with the steps of creating one?
Take a look at this. Maybe it will help you.
[How-To] Use the Openmediavault-KVM plugin
Check the permissions of the created folders. They may not be the right ones.
-
Thank you! I was so close, just missing the network.
Two improvements that can be done...
1. A link to this guide in the firs message in the thread. I am sure it is mentioned somewhere but its 27 pages now.
2. Perhaps an error message is something like network does not exists.
Anyways, I am very happy, Thank you again
-
I just made a summary of the guide in the link itself, although without images. I hope it is better understood, it is more summarized.
Regarding the network, look at the differences between default and macvtap. Is there any way to achieve a connection with access to the host and with IP within your LAN. It is somewhere in this long thread ...
-
but it would not start. nothing happens when i press the state->start
There is a log viewer in Diagnostics that might have told you this.
Perhaps an error message is something like network does not exists.
If libvirt does not return an error, the plugin can't tell you an error message. You can always try to start from the command line with: sudo virsh start <VMNAME> to see if it gives you an error as well. I will look at the starting a bit more.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!