raw image going from 1.2Gb to 60Gb when transferring
I have downloaded one qemu image of ubantu listed below. I have converted this image to RAW with the option given below. Actual size of the RAW image is 1.2 GB but when i am trying to upload it through glance it is showing 60 GB as actual image is created with 60 GB. When i am copying this image to other location it is transferring 60 GB image file. Please suggest any solution so it will occupy only actual size i.e 1.2 GB.
qemu-img convert -f qcow2 -O raw ubuntu-precise_x86_64_60G.qcow2 Ubantu.img
407M ubuntu-precise_x86_64_60G.qcow2
Raw image size 1.2G Ubantu.img
Size while copying the image to other location 61G Ubantu.img
something went wrong somewhere... have you looked at logs? tried converting it again? update the question as you find out more details.