KVM Virtual Machine Stalled While File Transfer

By | November 11, 2011

I’ve been working with KVM virtualization technology for quite a while now. Recently, I came across a problem. I tried transferring (using scp) a file from my server to a virtual machine(Linux Debian). Suddenly, the file transfer stopped and the terminal said process stalled. I had no clue what’s going on.

I kept on transferring the file “n” number of times with no success. I Googled about this issue and found no useful info. Now, the question is how can I transfer the file from my server to the virtual machine?

Well, I transferred my file to my web server (apache2) home directory and tried to download it from there. But it was just a try and obviously, it failed too. The file was downloaded for 47% and it stopped the download. The network at the VM end is getting disconnected for some reason.

So, at the VM end, I just clicked the pause button on the download link and restarted the network (/etc/init.d/networking restart). I resumed the download again and no wonder the download got resumed. So, if you are trying to transfer a file from a server to a VM you can use this technique to get the file to the destination VM.

However, the major question (Why did the vm lost its interface connection) was still an unanswered question for me. Do let me know if you have explanation to this. That’s all I’ve got for you right now and I will see you next time with another real life problem.

Do leave your comments if this article helped you.

If you like this article, then please consider sharing it. Sharing really inspires us to do things much better!!

Leave a Reply

Your email address will not be published. Required fields are marked *