Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Macvtap broken after power shortage

$
0
0
I have an Ubuntu server hosting VM (also Ubuntu server) with kvm. Their networking was configured to use bridged mode and everything worked fine until accidental power shortage. Host machine still works fine with networking and all but VM won't start. Trying to start the virtual machine gives me following error.


Code:

error: Failed to start domain mymachine
error: error creating macvtap type of interface attach to eth0: Device or resource busy

Error comes immediately (with virt-manager or virsh) and that makes me think that maybe macvtap -driver is somehow corrupted by the power shortage. I really hope that my VM image is not corrupted - that would be the worst scenario. But since error comes so fast I've figured that the problem is in the host. I don't think there is anything wrong with the network card since host works - I can SSH into it, ping works etc.


All the configuration that I did to /etc/network/interfaces is still same as before - when everything worked. I've tried ip link thing like this (don't remember where I picked it).

Code:

sudo ip link add link eth0 name macvtap0 type macvtap
Running the previous command gives me this error.

Code:

RTNETLINK answers: Device or resource busy

I don't fully understand (as you've probably figured out by now :-)) the concepts of networking in kvm environment and since I haven't found anything useful after intensive googling, I'm completely lost. Is macvtap is broken somehow? If so, how can I fix it?

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>