On Wed, Nov 21, 2018, 17:28 Gianluca Cecchi <gianluca.cec...@gmail.com
wrote:

> Hello,
> I have a qcow2 image file with these details with "qemu-img info" command:
>
> file format: qcow2
> virtual size: 66G (70866960384 bytes)
> disk size: 1.5G
> cluster_size: 65536
> Format specific information:
>     compat: 0.10
>
> I'm on 4.2.6 and If I try to upload as a disk from the GUI it seems it
> tries to upload full 66Gb, not 1.5Gb...
>

You hit
https://bugzilla.redhat.com/1627032


And it goes paused after the probably transferred 1.5Gb...
> Also, I would like it to be qcow2 1.1 and not 0.10
> I have run:
>
> qemu-img convert -O qcow2 -o compat=1.1 source.qc2 source.qc2_v3
>

This works, but you can use amend instead of convert.

You can also upload the image as is, oVirt amend the image to use 1.1 after
the upload.


> and now I have
> file format: qcow2
> virtual size: 66G (70866960384 bytes)
> disk size: 4.2G
> cluster_size: 65536
> Format specific information:
>     compat: 1.1
>     lazy refcounts: false
>     refcount bits: 16
>     corrupt: false
>
> Is it expected to pass from 1.5Gb to 4.2Gb after conversion?
>

The original image probaly had some compressed clusters. Converting
uncompress all clusters.


> Anyway also in 1.1 format, if I try to upload It keeps sending the whole
> 66Gb and now it goes in paused after about 1 minute (at rate of 60MB/s)
> that lets me think that once arrived at the 4.2Gb size it has problems...
>

Same issue


> Any hint?
>

Update to 4.2.7, or upload using the SDK:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py

Nir
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5TDJTW4XQEA7FRFURHBZCO37FWLKUKCZ/

Reply via email to