0

I have a Windows VM, It uses the VHD format as the hard drive and I set the VHD to dynamically allocated. Initially, I set the virtual size to 80GB, and then recently I changed my mind and resized it to 100GB using the Virtual Media Manager inside VirtualBox. The actual size after expanding it is around 180 GB, which doesn't make sense to me, the VM still has 12 GB free from the 100 GB virtual size of the VHD. Anyone knows why this happens and how to fix it?

This is what it looks like from Disk Management inside the VM.

5
  • How exactly did you resize the virtual disk? Also check Virtual Media Manager, does it show anything unusual about the virtual disk?
    – Daniel B
    Commented May 1, 2023 at 19:25
  • Oh yes, and maybe also provide a screenshot of Disk Management inside the VM.
    – Daniel B
    Commented May 2, 2023 at 11:19
  • @DanielB updated the question for the answer :) Commented May 10, 2023 at 2:00
  • This question should include more details and clarify the problem.
    – Ramhound
    Commented May 10, 2023 at 2:28
  • Okay, the screenshot confirms the VM really just sees a 100 GB disk. Did you check Virtual Media Manager yet? Does it show anything of note?
    – Daniel B
    Commented May 10, 2023 at 5:33

1 Answer 1

-2

It seems like virtualbox has created a snapshot of your old disk.

So you now have inside the one VHD file the old disk at 80 GB and the new disk at 100 GB, which makes up 180 GB in all!

Verify this by following the "Delete a snapshot" section in the Oracle VM VirtualBox User Manual for Release 6.0 - Snapshots.

2
  • Hmmm, I don't think so, I checked the list of snapshots on the VM, and it has none, only "Current State". Really weird, indeed. Commented May 1, 2023 at 16:02
  • Indeed. The 180 GB figure is too neat to be ignored.
    – harrymc
    Commented May 1, 2023 at 20:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .