question

MohammedHussein-2412 avatar image
0 Votes"
MohammedHussein-2412 asked XiaoweiHe-MSFT answered

reduce .vhdx

hi
i have HV server having 2 VM the problem is the vhdx file is expanding how do i reduce the size of this file.
regards

windows-server-hyper-v
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

XiaoweiHe-MSFT avatar image
0 Votes"
XiaoweiHe-MSFT answered

Hi,

What is the type if the VHDX file, fixed or dymanic?Is the expanding expected, such as there's more data store on the VHDX file, so the size is expanding?

If the expanding is expected, and you would like to reduce the size of the VHDX file to save some space, we may try to shrink and compact the VHDX.

Please refer to the following artcile about how to compact and shrink VHDX:

https://www.nakivo.com/blog/shrink-compact-virtual-hard-disks-hyper-v/

(Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)

Thanks for your time!
Best Regards,
Anne


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.