I think I'm experiencing a wierd issue; I hope I'm not, and that I'm just somehow missing something consistently.
Here's a quick breakdown:
- Running VirtualBox 4.3.10
- Windows 7 Ultimate x64 (SP1) Host OS
- Windows 7 Ultimate x64 (SP1) Guest OS
When I initially created the VM, I had configured it for 20GB, dynamically allocated. I was quickly running out of space, so I decided to expand the disk.
I followed the above article using
VBoxManage.exe and GParted, and was able to expand my disk from 20GB to 30GB. At each step, my progress coincided with that of the article.
I am now trying to expand the VM again, to 50GB.
So, following the linked article again, I run:
VBoxManage.exe modifyhd "G:\Users\Bracketworks\VirtualBox VMs\Windows 7\Windows 7.vdi" --resize 51200
It appears to complete with success, however, when I fire up the VM to confirm, the guest doesn't report any unallocated space (as I understand it should; 20GB in this case)
Further, if I boot into GParted it shows the same; there is no unallocated space to expand the partition.
Oddly though, the VirtualBox UI is reporting:
- Virtual Size: 50.00 GB
- Actual Size: 23.48 GB
The virtual size property seems correct! But I cannot verify this elsewhere (nor can I actually expand the partition to use the space)
So, my question is; why is this happening, and how can I get the VM to recognize the unallocated space and allow me to expand into it?
Addendum; I'll just keep adding pertinent details here.
VBoxManage.exe showhdinfo "G:\Users\Bracketworks\VirtualBox VMs\Windows 7\Windows 7.vdi" UUID: 11fbdc84-e09c-47a1-9575-899ec00234ef Parent UUID: base State: created Type: normal (base) Location: G:\Users\Bracketworks\VirtualBox VMs\Windows 7\Windows 7.vdi Storage format: VDI Format variant: dynamic default Capacity: 51200 MBytes Size on disk: 24044 MBytes In use by VMs: Windows 7 (UUID: cb587799-08d8-4d8b-958f-6d5b40992550) [Logon (UUID: 19c662aa-819b-4ac5-8dc9-93a036679f57)] Child UUIDs: df33a561-38a5-49e1-b458-738217743cfc