[virt-tools-list] virt-manager not really allocating disk space

Peter Velas peto.vel at gmail.com
Tue Feb 19 12:19:15 UTC 2013


Hello guys,


My environment
Fedora 18 with kernel   3.7.8-202.fc18.x86_64
Virtual Machine Manager 0.9.4

when creating New Storage Volume in virt-manager
newVM.img with qcow2 format  for example with following settings:


Max Capacity: 10240  MB
Allocation: 10240 MB

But then if I check the file its still small
  ls -lha newVM.img
-rw------- 1 root root 193K Feb 19 12:59 newVM.img

So I am not sure if its bug or this feature isn't implemented yet.
qemu-img create / convert preallocation is working fine.



========= package versions ============

libvirt-daemon-driver-libxl-0.10.2.3-1.fc18.x86_64
libvirt-daemon-config-network-0.10.2.3-1.fc18.x86_64
aqemu-0.8.2-8.fc18.x86_64
libvirt-daemon-driver-storage-0.10.2.3-1.fc18.x86_64
redland-virtuoso-1.0.15-2.fc18.x86_64
virt-what-1.12-2.fc18.x86_64
libvirt-client-0.10.2.3-1.fc18.x86_64
libvirt-0.10.2.3-1.fc18.x86_64
ipxe-roms-qemu-20120328-2.gitaac9718.fc18.noarch
libvirt-daemon-driver-xen-0.10.2.3-1.fc18.x86_64
libvirt-python-0.10.2.3-1.fc18.x86_64
qemu-system-x86-1.2.2-6.fc18.x86_64
libvirt-daemon-driver-secret-0.10.2.3-1.fc18.x86_64
libvirt-daemon-driver-nodedev-0.10.2.3-1.fc18.x86_64
libvirt-daemon-0.10.2.3-1.fc18.x86_64
libvirt-daemon-driver-nwfilter-0.10.2.3-1.fc18.x86_64
virtuoso-opensource-6.1.6-1.fc18.x86_64
libvirt-daemon-driver-qemu-0.10.2.3-1.fc18.x86_64
libvirt-daemon-config-nwfilter-0.10.2.3-1.fc18.x86_64
python-virtinst-0.600.3-2.fc18.noarch
libvirt-daemon-driver-interface-0.10.2.3-1.fc18.x86_64
virt-manager-common-0.9.4-4.fc18.noarch
qemu-kvm-1.2.2-6.fc18.x86_64
libvirt-daemon-driver-network-0.10.2.3-1.fc18.x86_64
virt-manager-0.9.4-4.fc18.noarch
libvirt-daemon-driver-lxc-0.10.2.3-1.fc18.x86_64
qemu-img-1.2.2-6.fc18.x86_64
libvirt-daemon-driver-uml-0.10.2.3-1.fc18.x86_64
qemu-common-1.2.2-6.fc18.x86_64



=========log part for creating new volume  ==========

Tue, 19 Feb 2013 12:57:45 virt-manager 11514] DEBUG (host:698) Launching 
'Add Volume' wizard for pool 'default'
[Tue, 19 Feb 2013 12:57:45 virt-manager 11514] DEBUG (createvol:73) 
Showing new volume wizard
[Tue, 19 Feb 2013 12:59:14 virt-manager 11514] DEBUG (createvol:216) 
Creating volume with xml:
<volume>
   <name>newVM.img</name>
   <capacity>10737418240</capacity>
   <allocation>10737418240</allocation>
   <target>
     <format type='qcow2'/>
   </target>
</volume>

[Tue, 19 Feb 2013 12:59:14 virt-manager 11514] DEBUG (asyncjob:184) 
Creating async job for function cb=<bound method 
vmmCreateVolume._async_vol_create of <vmmCreateVolume object at 
0x2b52190 (virtManager+createvol+vmmCreateVolume at 0x331e
[Tue, 19 Feb 2013 12:59:14 virt-manager 11514] DEBUG (createvol:247) 
Starting backround vol creation.
[Tue, 19 Feb 2013 12:59:14 virt-manager 11514] DEBUG (Storage:1196) 
Creating storage volume 'newVM.img' with xml:
<volume>
   <name>newVM.img</name>
   <capacity>10737418240</capacity>
   <allocation>10737418240</allocation>
   <target>
     <format type='qcow2'/>
   </target>
</volume>

[Tue, 19 Feb 2013 12:59:35 virt-manager 11514] DEBUG (Storage:1219) 
Storage volume 'newVM.img' install complete.
[Tue, 19 Feb 2013 12:59:35 virt-manager 11514] DEBUG (createvol:249) vol 
creation complete.
[Tue, 19 Feb 2013 12:59:35 virt-manager 11514] DEBUG (createvol:79) 
Closing new volume wizard
[Tue, 19 Feb 2013 12:59:44 virt-manager 11514] DEBUG (host:658) Refresh 
pool 'default'
[Tue, 19 Feb 2013 12:59:44 virt-manager 11514] DEBUG (asyncjob:184) 
Creating async job for function cb=<function tmpcb at 0x28dd668>
[Tue, 19 Feb 2013 12:59:46 virt-manager 11514] DEBUG (host:658) Refresh 
pool 'default'
[Tue, 19 Feb 2013 12:59:46 virt-manager 11514] DEBUG (asyncjob:184) 
Creating async job for function cb=<function tmpcb at 0x28dd6e0>
[Tue, 19 Feb 2013 13:01:37 virt-manager 11514] DEBUG (host:698) 
Launching 'Add Volume' wizard for pool 'default'
[Tue, 19 Feb 2013 13:01:37 virt-manager 11514] DEBUG (createvol:73) 
Showing new volume wizard
[Tue, 19 Feb 2013 13:07:57 virt-manager 11514] DEBUG (createvol:79) 
Closing new volume wizard
[Tue, 19 Feb 2013 13:07:59 virt-manager 11514] DEBUG (host:302) Closing 
host details: <vmmConnection object at 0x285b5a0 
(virtManager+connection+vmmConnection at 0x28a5820)>
[Tue, 19 Feb 2013 13:07:59 virt-manager 11514] DEBUG (engine:330) window 
counter decremented to 1
[Tue, 19 Feb 2013 13:08:02 virt-manager 11514] DEBUG (about:49) Showing 
about
[Tue, 19 Feb 2013 13:08:05 virt-manager 11514] DEBUG (about:54) Closing 
about




More information about the virt-tools-list mailing list