[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2018-07-25 Thread John Snow
*** This bug is a duplicate of bug 1776920 *** https://bugs.launchpad.net/bugs/1776920 ** This bug has been marked a duplicate of bug 1776920 qemu-img convert on Mac OSX creates corrupt images -- You received this bug notification because you are a member of qemu- devel-ml, which is subsc

[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-21 Thread John Snow
In the termbin: So the "good" one is on the left, and the "bad" one is on the right. The bad one is ... completely blank for the first 200+ MB? That's not great. so: .bin.apfs: broken raw file, made on apfs, no arguments(?) .bin.apfs2: broken raw file, made on apfs, `-S 0` ? .img.org: qcow2 file

[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-19 Thread Robert Marklund
The image apfs2 here is created with "-S 0"and the .bin is a working one generated on a ubuntu machine. Strange thing is that this say they are identical: $ time qemu-img compare -f qcow2 -F raw coreos_production_openstack_image.img.org coreos_production_openstack_image.bin.apfs Images are iden

[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-19 Thread Robert Marklund
Adding "-S 0" on the APFS convert only makes the file 8.5Gb but its still "bad". -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1738840 Title: qemu-img convert qcow2 to raw fails on OS X Status in

[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-19 Thread Robert Marklund
I tried to make a quick grep of the start of the disk in the "bad" raw image and it does not exist anywhere so there is more ot it then just a offset issue. rg -M 20 -a --encoding=ascii '\xeb\x63\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00' coreos_production_openstack_image.bin.apfs or rg -M 20 -a -

[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-19 Thread Robert Marklund
I gave it a try here: http://termbin.com/ufv4 Its only the first 4096 bytes. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1738840 Title: qemu-img convert qcow2 to raw fails on OS X Status in QEM

[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-18 Thread John Snow
We've had APFS bugs before, if memory serves... perhaps something to do with sparse gap handling? Do you have the ability to take a "good" conversion of the qcow2 file (made on a non-APFS partition) and compare it against the "bad" conversion? Highlighting the differences might inspire some ideas