All of lore.kernel.org
 help / color / mirror / Atom feed
From: "redtone" <kelphon@redtone.hk>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu-img cannot convert 280G VHD file to qcow2 rightly
Date: Fri, 28 Feb 2014 19:10:18 +0800	[thread overview]
Message-ID: <B74ADC9DFB8D45AEA390C6E1FFA68D26@ovdoem> (raw)
In-Reply-To: <30e5df2b6cf6ce0dc65c03eed565893d5aa29c2f.1393554457.git.hutao@cn.fujitsu.com>

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

[root@raknode01 disk01]# qemu-img convert -f vpc uslinux01-2.vhd -O qcow2
kvm570_data
[root@raknode01 disk01]# qemu-img info kvm570_os
image: kvm570_os
file format: qcow2
virtual size: 10.0G (10737377280 bytes)
disk size: 3.9G
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: false
[root@raknode01 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
[root@raknode01 disk01]# qemu-img info uslinux01-2.vhd
image: uslinux01-2.vhd
file format: vpc
virtual size: 127G (136899993600 bytes)
disk size: 5.0G

  reply	other threads:[~2014-02-28 11:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28  2:29 [Qemu-devel] [PATCH v6 0/4] qemu-img: add preallocation=full Hu Tao
2014-02-28  2:29 ` [Qemu-devel] [PATCH v6 1/4] qapi: introduce PreallocMode and a new PreallocMode full Hu Tao
2014-02-28  2:29 ` [Qemu-devel] [PATCH v6 2/4] raw, qcow2: don't convert file size to sector size Hu Tao
2014-02-28 11:10   ` redtone [this message]
2014-03-03 14:58     ` [Qemu-devel] qemu-img cannot convert 280G VHD file to qcow2 rightly Stefan Hajnoczi
2014-02-28  2:29 ` [Qemu-devel] [PATCH v6 3/4] raw-posix: Add full image preallocation option Hu Tao
2014-02-28  2:29 ` [Qemu-devel] [PATCH v6 4/4] qcow2: " Hu Tao
2014-03-03 15:00 ` [Qemu-devel] [PATCH v6 0/4] qemu-img: add preallocation=full Stefan Hajnoczi
2014-03-04  7:31   ` Hu Tao
2014-03-04  8:19     ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B74ADC9DFB8D45AEA390C6E1FFA68D26@ovdoem \
    --to=kelphon@redtone.hk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.