Archives by Tag 'kvm'

Copying or Backing up an image of an LVM-based Virtual Machine

By jbayer - Last updated: Wednesday, October 2, 2013

If you are using virtual machines on a Linux system, you may be storing the VM image in an LVM partition.  This can make it difficult to copy or backup an image of the VM. The attached script will do just that.  It displays the list of VMs running on the system and allows you […]

598 views

Detecting hardware virtualization in Linux

By jbayer - Last updated: Friday, May 10, 2013

For historical reasons, most systems which ship have the virtualization flag turned off.  If you aren’t expecting this, and try to install KVM in a Linux system, you can get unusual errors which don’t necessarily indicate the problem. This script performs a few simple tests to see if virtualization is active or not.  I can’t […]

625 views

Start, stop, and restart Virtual Machine from the command line

By jbayer - Last updated: Monday, January 31, 2011

These days virtual machines are all the rage.  They make sense in a lot of areas, and can reduce both the floorspace, power requirements, costs, testing, stability, etc.  This article is not about the reasons to have a virtual machine, but rather, how to control them from a command line. Most Linux distributions use libvirt […]

7,296 views
asd