[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1888467] Re: qemu-img http convert bug
From: |
dunfeng zhang |
Subject: |
[Bug 1888467] Re: qemu-img http convert bug |
Date: |
Wed, 22 Jul 2020 09:07:53 -0000 |
first, what I said "file size" is file length as reported by ls
-l?field.comment=first, what I said "file size" is file length as
reported by ls -l.
The following attachment shows the size of the same source file after
different conversion methods,
http -> local: qemu-img convert -f raw -O vdi localfile localfile1
local -> local: qemu-img convert -f raw -O vdi localfile localfile2
localfile1's size is different from localfile2
secondly, the conversion of qcow2 and vmdk is normal.
http -> local: qemu-img convert -f raw -O qcow2 localfile localfile1
local -> local: qemu-img convert -f raw -O qcow2 localfile localfile2
localfile1's size is the same size as localfile2
** Attachment added: "B3DA75B6-00A2-4C4B-B0D2-6F57E92573BD.png"
https://bugs.launchpad.net/qemu/+bug/1888467/+attachment/5394838/+files/B3DA75B6-00A2-4C4B-B0D2-6F57E92573BD.png
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1888467
Title:
qemu-img http convert bug
Status in QEMU:
New
Bug description:
Hello, Why the file sizes of http conversion and local conversion are
inconsistent?
Use the http method of qemu-img for conversion. The size of some formats
after conversion is different from the local method of qemu-img. Such as vhd,
vdi. qcow2 and vmdk are normal。
My image size is 40 G, raw format.
The source is the same file, but the access method is different
http method of qemu-img: qemu-img convert -f raw -O vdi http://xxx
xxx.vdi(19G,after conversion)
local method of qemu-img: qemu-img convert -f raw -O vdi xxx.raw
xxx.vdi(3G,after conversion)
thank you
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1888467/+subscriptions