How do you start a KVM virtual machine using either virsh or virt-manager on a remote server once you have encrypted the disk for this guest machine ?
I seem to have corrupted my qcow2 image. I accidentally ran qemu-img create on one of my virtual machines while running.
Is it a good idea to use qcow2 format to have a backup image for whole disk with partition table?
I'm not sure that an image with partition table will be able to mount normally and in the same time it will be impossible to run the image in virtual machine because of mess with fstab/mtab / virtual hdd's UUID-s.
I need to clean up some HDD but I will need some of it's content later.
I'm migrating some machines from KVM to VirtualBox for a transitional period while we build our new virtualization environment.
The problem now, the disks are located on a LVM partition, and I have to convert them to a format VirtualBox recognizes.
First of all sorry if my question would be not relevant, I'm quite beginner. In short:
I have 2 physical machines -> first(Windows Server 2007, Apache 2.2) on the second machine esxi installed to host virtual machines . I have been converted my physical machine(1) on esxi(2) and in the next step I would like to deploy a load balancer between the physical and virtual machine.
I have a QEMU virtual machine that uses a qcow2 disk image.
How can I mount its filesystem without powering on the virtual machine?
I have come to figure out that qemu-img will only create sparse qcow2 images. I even tried creating a raw file then converting but as soon as I convert it also converts to a sparse file. I don't get why during the original install using virt-install doesn't do this.
I am trying to add a disk image to a windows 2008 server guest.
Please read our previous tutorial on how to convert currently running Windows 7 into a virtual machine using VMware Workstation. This is the second tutorial of converting physical computer into a virtual machine. Specify the destination for the new virtual machine you are going to create. Select destination type. Use Other virtual machine option Specify [...]
I have a folder containing a lot of KVM qcow2 files, they are all sparse files.
Now I need to get the total size of folder, the qcow2 file size should be counted as apparent size(not real size).
for example:
image: c9f38caf104b4d338cc1bbdd640dca89.qcow2
file format: qcow2
virtual size: 100G (107374182400 bytes)
disk size: 3.3M
cluster_size: 65536
the image should be treated as 100G but not 3.3M