Re: [CentOS] KVM virt-install on disk image - "no space"

2011-04-21 Thread Tsuyoshi Nagata
Hi Jussi After installing guest image, Convert it from raw to qcow2 by "convert" command. qemu-img convert -f raw disk0.raw -O qcow2 newdisk0.qcow2 Now you can mount newdisk to empty VM with virt-manager. Or you can edit .xml as follows.. /var/lib/libvirt/qemu/.xml: vm1 524288 1

Re: [CentOS] KVM virt-install on disk image - "no space"

2011-04-21 Thread Jussi Hirvi
On 21.4.2011 23.17, Jussi Hirvi wrote: > I wonder if the disk image will be of type > qcow2. I guess I will soon find out. Nope. Command "qemu-img info.." tells me that the image type is "raw". But I don't think I need any of the qcow2 specialties. - Jussi -- Jussi Hirvi * Green Spot Suvilahde

Re: [CentOS] KVM virt-install on disk image - "no space"

2011-04-21 Thread Jussi Hirvi
On 21.4.2011 19.04, Paul Heinlein wrote: > In my experience, virt-install will create the disk image when passed > a filename via --disk="path=/path/to/nonexistent/disk.dsk,size=15" > > In other words, I'd suggest skipping the disk-creation step... Thanks Paul - it works! I wonder if the disk imag

Re: [CentOS] KVM virt-install on disk image - "no space"

2011-04-21 Thread Paul Heinlein
On Thu, 21 Apr 2011, Jussi Hirvi wrote: > I guess I need the list again. > > I try to install my first KVM guest. Here is what I do, and finally, > what I stumble on. > > First I created a qcow2 img: In my experience, virt-install will create the disk image when passed a filename via --disk="pat

[CentOS] KVM virt-install on disk image - "no space"

2011-04-21 Thread Jussi Hirvi
I guess I need the list again. I try to install my first KVM guest. Here is what I do, and finally, what I stumble on. First I created a qcow2 img: # qemu-img create -f qcow2 /var/lib/libvirt/images/test1.img 15G And I created a network bridge (not essential here) To get a text-based install,