qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu-img cannot convert 280G VHD file to qcow2 rightly


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] qemu-img cannot convert 280G VHD file to qcow2 rightly
Date: Mon, 3 Mar 2014 15:58:02 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Feb 28, 2014 at 07:10:18PM +0800, redtone wrote:
> Vhd file uslinux01-1.vhd is uploaded to KVM node, the original VHD's size is
> 290G
> But when I convert to QCOW2, I find the disk size is 127G, and then I also
> found the uslinux01-1.vhd disk size is 127G by qemu-img info.
> 
> Qemu version is 1.7.0 stable

This bug report is unrelated to this patch series.  In the future,
please start new email threads for unrelated discussions.

> address@hidden disk01]# qemu-img convert -f vpc uslinux01-2.vhd -O qcow2
> kvm570_data
[...]
> address@hidden disk01]# qemu-img info kvm570_data
> image: kvm570_data
> file format: qcow2
> virtual size: 127G (136899993600 bytes)
> disk size: 113M
> cluster_size: 65536
> Format specific information:
>     compat: 1.1
>     lazy refcounts: false
> address@hidden disk01]# qemu-img info uslinux01-2.vhd
> image: uslinux01-2.vhd
> file format: vpc
> virtual size: 127G (136899993600 bytes)
> disk size: 5.0G

This output doesn't show anything unexpected.  You converted a VHD file
to qcow2.  The guest sees a 127 GB virtual disk for both the VHD and the
qcow2 file.

You didn't show the part where the VHD is 290 GB.

Can you post step-by-step instructions for reproducing the problem?

Thanks,
Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]