question

gvnn2005-0455 avatar image
0 Votes"
gvnn2005-0455 asked ·

Hyper-v, avhdx file dimension problem

Good day

On the premise that I am not very experienced, I explain my problem to you

I have a server with a virtual machine created with hyper-v used for a management system. At the time of configuration I created a fixed size 260gb vhdx virtual disk. After the various configurations I created (perhaps by mistake) 2 snapshots of the vm, the problem is that now the most recent avhdx file is constantly expanding and over time it would tend to occupy all the disk space (Property say 26gb , max dimension 260gb).

The physical disk is 580gb, but over time it will fill up.


I ask you:


Would the file (as per property) reach a maximum of 260gb?

What solutions do I have to block its expansion or free up additional space? Do I have to migrate the VM to a physical disk that can contain it?

Thank you in advance



not-supported
10 |1000 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.

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

QnA currently supports the products listed in right-hand pane (more to be added) Better to reach out to subject matter experts in dedicated forums over here.


https://social.technet.microsoft.com/Forums/en-US/home?forum=win10itprovirt


https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv

(please don't forget to mark helpful replies as answer)


·
10 |1000 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.

yagmoth555 avatar image
0 Votes"
yagmoth555 answered ·

Hi

The snapshot will fill all available disk space over time.

The snapshot keep the change from the original file. It’s like a buffer of what happened to the file from the point you created it. Its usefull for a quick restore, but it impack disk space and performance

I would simply suggest to merge your snapshot to remove them (see there for a guide; https://www.nakivo.com/blog/merge-hyper-v-snapshots-step-step-guide/)

Regard,

Philippe

· 2 ·
10 |1000 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.

Thanks,
so the file won't stop at 260gb?
For the merge I had already thought about it, but being a delicate vm I would not want to risk doing damage.

0 Votes 0 ·

It will fill all available disk space, when full the VM will hang as it will be unable to issue further disk I/O. Really check for merging

0 Votes 0 ·