qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1399191] [NEW] Large VHDX image size
@ 2014-12-04 13:31 AMULYA L
  2015-01-07 15:30 ` Stefan Hajnoczi
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: AMULYA L @ 2014-12-04 13:31 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

We are trying to convert a VMDK image to VHDX image for deploy to HyperV Server ( SCVMM 2012 SP1) using qemu-img.
We tried converting the image using both 'fixed' as well as 'dynamic' format. We found that both the disks occupy the same size of 50GB. When the same is done with VHD image, we found that the dynamic disks are much lesser in size (5 GB) than the fixed disk (50GB). 

Why is that the VHDX generates large sized images for both the formats?

The following commands were used to convert the vmdk image to VHDX
format

1. qemu-img convert -p -o subformat=fixed  -f vmdk -O vhdx Test.vmdk
Test-fixed.vhdx

qemu-img info Test-fixed.vhdx
image: Test-fixed.vhdx
file format: vhdx
virtual size: 50G (53687091200 bytes)
disk size: 50G
cluster_size: 16777216


2. qemu-img convert -p -o subformat=dynamic  -f vmdk -O vhdx Test.vmdk
Test-dynamic.vhdx

qemu-img info Test-dynamic.vhdx
image: Test-dynamic.vhdx
file format: vhdx
virtual size: 50G (53687091200 bytes)
disk size: 50G
cluster_size: 16777216


We tried this with the following version of qemu
1. qemu-2.0.0
2. qemu-2.1.2
3. qemu-2.2.0-rc4


Please let us know how to create compact VHDX images using qemu-img.
Thank you

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: large size vhdx

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1399191

Title:
  Large VHDX image size

Status in QEMU:
  New

Bug description:
  We are trying to convert a VMDK image to VHDX image for deploy to HyperV Server ( SCVMM 2012 SP1) using qemu-img.
  We tried converting the image using both 'fixed' as well as 'dynamic' format. We found that both the disks occupy the same size of 50GB. When the same is done with VHD image, we found that the dynamic disks are much lesser in size (5 GB) than the fixed disk (50GB). 

  Why is that the VHDX generates large sized images for both the
  formats?

  The following commands were used to convert the vmdk image to VHDX
  format

  1. qemu-img convert -p -o subformat=fixed  -f vmdk -O vhdx Test.vmdk
  Test-fixed.vhdx

  qemu-img info Test-fixed.vhdx
  image: Test-fixed.vhdx
  file format: vhdx
  virtual size: 50G (53687091200 bytes)
  disk size: 50G
  cluster_size: 16777216


  
  2. qemu-img convert -p -o subformat=dynamic  -f vmdk -O vhdx Test.vmdk Test-dynamic.vhdx

  qemu-img info Test-dynamic.vhdx
  image: Test-dynamic.vhdx
  file format: vhdx
  virtual size: 50G (53687091200 bytes)
  disk size: 50G
  cluster_size: 16777216

  
  We tried this with the following version of qemu
  1. qemu-2.0.0
  2. qemu-2.1.2
  3. qemu-2.2.0-rc4

  
  Please let us know how to create compact VHDX images using qemu-img.
  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1399191/+subscriptions

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-01-27  4:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-04 13:31 [Qemu-devel] [Bug 1399191] [NEW] Large VHDX image size AMULYA L
2015-01-07 15:30 ` Stefan Hajnoczi
2015-01-07 15:40   ` Jeff Cody
2015-01-12  4:33     ` AMULYA L
2015-01-13  3:48       ` Jeff Cody
2015-01-19 15:19         ` AMULYA L
2015-01-20 21:10           ` Jeff Cody
2015-01-22  5:20             ` AMULYA L
2015-01-22 16:02               ` Jeff Cody
2015-01-22 17:39 ` Jeff Cody
2015-12-28  2:12 ` [Qemu-devel] [Bug 1399191] " Jan
2015-12-28  2:14 ` Jan
2015-12-31  4:54 ` Sitsofe Wheeler
2016-01-04 17:51 ` Max Reitz
2016-03-10  9:57 ` Jan
2017-11-27 13:45 ` Thomas Huth
2018-01-27  4:17 ` Launchpad Bug Tracker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).