[virt-tools-list] virt-install question
Richard W.M. Jones
rjones at redhat.com
Sun Nov 7 19:47:37 UTC 2010
On Sun, Nov 07, 2010 at 07:01:38PM +0300, Anton Gorlov wrote:
> I'm using qemu-create I created qcow2 image, which size is 15 GB.
> Now I am trying to create a virtual machine as follows
> virt-install --name freebsd8 --ram 384 --disk
> path=/mnt/sde1/work/VM/bsd.qcow2,format=qcow2,size=15 --vcpus=2
> --accelerate --network network:default --cdrom=/var/ftp/mirror/FreeBSD/ISO-IMAGES-amd64/8.1/FreeBSD-8.1-RELEASE-amd64-disc1.iso
I've not done this before, but I suggest *omitting* the ,size=15 part.
The hypervisor can work out the size on its own, and I suspect that by
specifying it you are telling virt-install to create a new file.
If that doesn't work, then it's probably a bug in virt-install.
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
More information about the virt-tools-list