qemu-img used the "sparse file"
feature of your file system to not
actually allocate disk sectors for many of the all-zero blocks in the raw file. Your iso creation tool did not. On 01/02/2016 05:42, Alexandre Schenberg wrote: thanks, was a permission problem, to change it solved the issue I have another doubt, converting it to raw generate a 126.9GB file. However df shows that the space used in the partition is only 8.x GB. And now I am converting the raw file to an iso file and the iso is really occupying space. So why the space occupied by the raw file seems to do not exists and the one from Iso does? And why the Iso is becaming so big?Thanks for the aid. 2016-02-01 2:40 GMT-02:00, Fam Zheng <f...@redhat.com>:On Mon, 02/01 01:53, Alexandre Schenberg wrote:Hello, I tried to convert a .vmdk file to a raw file with this command: "qemu-img convert -f vmdk /media/windows/WinXP-disk1.vmdk winxp.raw" The result was: "qemu-img: Could not open '/media/windows/WinXP-disk1.vmdk" I am sure that the vmdk file, WinXP-disk1.vmdk it is in the dir /media/windows So what I am doing wrongly?Which qemu-img version are you using? Or which commit in the case of git tree? Enjoy Jakob -- Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10 This public discussion message is non-binding and may contain errors. WiseMo - Remote Service Management for PCs, Phones and Embedded |
- [Qemu-discuss] Problem converting from vmdk to raw for... Alexandre Schenberg
- Re: [Qemu-discuss] Problem converting from vmdk t... Jerry Stuckle
- Re: [Qemu-discuss] Problem converting from vmdk t... Fam Zheng
- Re: [Qemu-discuss] Problem converting from vm... Alexandre Schenberg
- Re: [Qemu-discuss] Problem converting fro... Jakob Bohm
- Re: [Qemu-discuss] Problem converting fro... Jakob Bohm