Difference between revisions of "Handling virtual machines"
From Klaus' wiki
(→Resize a LVM based Disk) |
|||
Line 20: | Line 20: | ||
==Resize a LVM based Disk== | ==Resize a LVM based Disk== | ||
− | Follow the instructions given [http://unix-heaven.org/node/84 | + | Follow the instructions given [http://blogforopensource.blogspot.dk/2013/08/how-to-resize-x86-boot-sector.html here] and [http://unix-heaven.org/node/84 there] to resize a virtual machines disk if it uses LVM, which most in the Red Hat family does. |
Latest revision as of 12:21, 9 October 2014
Cloning
Use the virt-clone to make a copy of a already installed virtual machine
$ virt-clone -o <original-name> -n <new-name> -f /path/virt-machine-file
Start a virtual machine
To start and get the console use the following
$ xm create /etc/xen/<virt-machine-name> $ xm console <virt-machine-name>
Hint: Use Crtl+] (ctrl+AltGr+]) to get out of a console.
Resize a LVM based Disk
Follow the instructions given here and there to resize a virtual machines disk if it uses LVM, which most in the Red Hat family does.