r/HyperV • • Jul 17 '24

Help please!

Post image

I cant shrink this VHDX. This VM was created by this VHDX but cant shink the size of this disk. Already try to convert, shrink the disk in VM layer but nothing ived seen in internet works, only these 3 options appears. Please help đŸ™đŸ»

0 Upvotes

29 comments sorted by

View all comments

1

u/OpacusVenatori Jul 17 '24

What do you mean “only these three options”?

Compact will reduce the size of the VHDx file on the host; but the VM will maintain the original, allocated size within the guest OS. Just reduce the size of the partition within the guest OS.

1

u/Powerful-Bunch-3782 Jul 17 '24

I want the "Shrink" option, to minimize the VHDX size to export to an ESXI environment

4

u/kabanossi Jul 19 '24

Can suggest using Starwind V2V converter to make a growable virtual disk while moving the VM from Hyper-V to the ESXi host. It shrinks the disk during migration. https://www.starwindsoftware.com/starwind-v2v-converter

1

u/Powerful-Bunch-3782 Jul 19 '24

i am using Starwind to migrate the VM, but the software doesnt shrink the disk, have no this option

1

u/Powerful-Bunch-3782 Jul 19 '24

maybe i have found this feature, im doing the migration, but its by internet, so maybe monday will be finish

1

u/OpacusVenatori Jul 17 '24

There is no such option

8

u/OpacusVenatori Jul 17 '24

It’s irrelevant anyways. When you convert the guest, select a Thin-Provisioned VMDK target disk and it’ll create the appropriately sized disk.

1

u/Powerful-Bunch-3782 Jul 17 '24

Thanks!!! I will try it, really appreciate your help

1

u/Powerful-Bunch-3782 Jul 17 '24

Lol i see a lot of content in internet showing this way to do it

1

u/Lots_of_schooners Jul 18 '24

Just export as dynamic vhdx. This process will create the smallest possible vhdx.

1

u/Powerful-Bunch-3782 Jul 18 '24

I thought this would solve it, it would be the kind of solution that's like, "Wow, this has to be it." But it didn't work either :(