Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i want to convert a vhd-file to vdi and found a manual which says i have to convert the vhd first to bin. But qemu-img creates a 130GB file (even if theres not enough space on disk) from the 14GB vhd-file. Is this a common behavior ?

share|improve this question
Please remember to accept/upvote the best answer(s) to your question (tick/check mark on the left). This way, the question is marked as "answered" and future readers can refer to it knowing the solution works. Thank you...:) – izx Aug 8 '12 at 7:34

If the size (or maximum-size) of the partition in the VHD is 130GB, then yes, it's normal. VHD/VDI support "sparse" disk files, i.e. they only take up the actual amount of space used, not the specified size. BIN has no such support, so the VHD will be expanded out to the full size, although it will mostly be zeros.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.