[fedora-virt] virt-install disk size problems

James Harrison jamesaharrisonuk at yahoo.co.uk
Mon Mar 31 08:59:22 UTC 2014


Hi,
Also Caching=None is set because there is a disk cache on the disk.

Would double caching would slow down I/O?

Thanks,
James Harrison

On Monday, 31 March 2014, 9:49, James Harrison <jamesaharrisonuk at yahoo.co.uk> wrote:
 
Hello Richard,

Sorry for the late reply. 


The output from the command is: 

[root at kvm2 images]# qemu-img info Stage.img 
image: Stage.img
file format: qcow2
virtual size: 100G (107374182400 bytes)
disk size: 16M
cluster_size: 65536



The reason why I am using "None" for caching is because any other caching 
technique doesn't allow migrations. Last time I checked "None" didnt 
migrate.

Thanks,
James Harrison

On Friday, 28 March 2014, 21:33, Richard W.M. Jones <rjones at redhat.com> wrote:
 
On Fri, Mar 28, 2014 at 04:59:37PM +0000, James Harrison wrote:

> Hi All,
> 
> If I use sparce=true or false I end up with a 100Gb qcow2 (raw) file. However If I look at the disk size in virt-manager the file is 20Gb.

What is the output of:

  qemu-img info /var/lib/libvirt/images/stage.qcow2

Also I wouldn't personally use cache=none.  I would use
cache=writeback instead.

http://rwmj.wordpress.com/2013/09/02/new-in-libguestfs-allow-cache-mode-to-be-selected/#content

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




_______________________________________________
virt mailing list
virt at lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/virt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/virt/attachments/20140331/c2d3a826/attachment-0001.html>


More information about the virt mailing list