I'm running Debian Wheezy Beta 4 with KVM based guest systems which run the same operating system. I'm using LibVirt to manage the virtualisation.
What I would like to do is to attach an LVM based block device to a running guest system through Virtio.
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'm thinking about setting up a private cloud using Ubuntu with 2 nodes, but I don't quite understand how disk space from each node is handled in the cloud.
Can somebody explain how (and if) the disk space is accessible in the cloud when I have 2 nodes with varying amount of disk space, for example 320GB and 1TB?
edit for clarification:
Currently I have 3 Windows Servers, consisting of a Domain
Hello!
I created two files
1) # dd if=/dev/zero of=disk.image bs=1M seek=30000 count=1
2) # truncate -s 30G disk.image1
# ls -lh disk*
-rw-r--r--. 1 root root 30G Oct 26 14:27 disk.image
-rw-r--r--. 1 root root 30G Oct 26 14:27 disk.image1
# du -h disk*
1.0M disk.image
0 disk.image1
Why is shows that size of disk* files is 30 MB but du shows other value?
Hi Everyone,
I have added new Virtual disk to OS. The main point is I need to bring this whole Disk into LVM control, is it necessary to partition the disk using fdisk command and assign partition type as '8e', or can I directly add that disk into LVM, by running pvcreate command with out creating partition on the disk.
which is the best suggested way of doing this task.
Thanks.
How to mount compressed disk image?
Here is my situation: I have hard drive with (fresh) OS installation. I made compressed image of that disk to another disk.
How to make compressed disk image to file (on another disk):
sudo cat /dev/sdb | gzip > disk.img.gz (sdb is source)
If free space is zero-ed, compression is much better.
I have a Qemu-KVM host system setup on CentOS 6.3. Four 1TB SATA HDDs working in Software RAID10. Guest CentOS 6.3 is installed on separate LVM. People say that they see guest performance almost equal to host performance, but I don't see that. My i/o tests are showing 30-70% slower performance on guest than on host system.
Got it...Apparently, I had to add the --persistent, use the right device (from the xml file) and use the correct argument order. The right command line is:virsh # detach-di... [by dkoleary]
I have a virtual disk with one snapshot. I want to acces the latest data after the snapshot.
One way would be to merge the delta into the disk.
But the rest of the vm does not exist any more. How can I do this, e.g.