No Boot Space No iNodes

When I set up my QEMU virtual machine system I made a couple of mistakes. As I was running on a host that had very limited resources I made the virtual machines as small as I possibly could and that has come back to bite me at bit. The two problems I seem to constantly suffer from are running out space on the boot partition and, on one machine, running out of inodes.Continue reading

KVM On Ubuntu - KVM Logo

Simpler KVM Network Configuration

In the series of articles I wrote discussing the installation of KVM on Ubuntu I spent articles 2 and 3 discussing the network set up but it occurred to me that it was actually an unnecessarily difficult set up and so in this article I’ll discuss a simpler KVM network configuration set up.Continue reading

KVM On Ubuntu - KVM Logo

KVM Migration Problems

I recently experienced some KVM migration problems while moving virtual machines from my development laptop to my server. The laptop has a Core i7 processor but the server is running a Core i5 and, as you might expect, they have different features available. In this article I’ll explain what I did to fix my KVM migration problems.Continue reading

Increasing the Size of a qcow2 Image Under KVM

I like to keep my disk images as small as reasonably possible when running virtual machines as I find it just generally makes life easier. Combined with the fact that if you are running LVM it’s easy to expand the disk there’s really no excuse for over specifying on the disk at install time. This guide shows you step by step how to expand a qcow2 disk image and then how to give the guest the extra space. Continue reading

Fixing the Default KVM Host Firewall

I recently installed KVM on my laptop and all was going reasonably well until I tried to connect to the internet from one of the guests. For some reason that I couldn’t fathom at first the guest couldn’t talk to the internet and the local network couldn’t talk to the guest. This surprised me because I’d already checked that the host could reach the internet and the local network could reach the virtual bridge and the host. I was also fairly sure that I had checked my first guest could access the internet but I couldn’t be sure.Continue reading

KVM On Ubuntu - KVM Logo

KVM Offline Migration

As a follow on from the earlier series of articles on setting up KVM on Ubuntu 14.04 this article discusses performing an offline migration of a guest. Why offline rather than online? Online migration is fairly simple if you have shared storage but it starts to get awkward without. From what I’ve read an online migration without shared storage is possible but it’s fraught with danger and after trying to get it to work correctly for a couple of hours I gave up and performed an offline migration.Continue reading

Installing Non-Linux Guests on KVM

My KVM set up will almost certainly comprise only Linux machines but there is an outside chance I’ll need to run a Windows server in order to have somewhere to install a copy of SQL Server for development purposes. This article will discuss installing non-Linux based operating systems on / under KVM. I’ll be installing a copy of Windows XP for now as that is what I have immediately available and Windows XP is quite a bit smaller than Windows Server 2014 so should install faster. Either way the process should be largely the same.Continue reading