On Wed, Dec 6, 2017 at 5:23 PM, Paolo Margara <paolo.margara@polito.it> wrote:I think that it could be useful.
Greetings,
Paolo
+1BTW: I notice that the disk seems preallocated even if original qcow2 is thin... is this expected?This obviously also impacts the time to upload (20Gb virtual disk with actual 1.2Gb occupied needs the time equivalent for full 20Gb...)
On source (created from virt-manager in Fedora 26):# qemu-img info c7lab1.qcow2image: c7lab1.qcow2file format: qcow2virtual size: 20G (21474836480 bytes)disk size: 1.2Gcluster_size: 65536Format specific information:compat: 1.1lazy refcounts: truerefcount bits: 16corrupt: falseAfter uploading on NFS storage domain:
[root@ovirt01 251063f6-5570-4bdc-b28f-21e82aa5e185]# qemu-img info 77aacfb3-9e67-4ad2-96f6-242b5ba4d9e0image: 77aacfb3-9e67-4ad2-96f6-242b5ba4d9e0file format: qcow2virtual size: 20G (21474836480 bytes)disk size: 20Gcluster_size: 65536Format specific information:compat: 1.1lazy refcounts: truerefcount bits: 16corrupt: false[root@ovirt01 251063f6-5570-4bdc-b28f-21e82aa5e185]#
Thanks,Gianluca