VirtualBox issue after expanding and compacting .vdi file without starting vm in between
|Reported by:||AlexanderN||Owned by:|
|Component:||virtual disk||Version:||VirtualBox 4.3.26|
|Guest type:||Windows||Host type:||Linux|
I used Usiung VBoxManager modifyhd <file> --resize to expand a vd image and mistakenly resized at to size which couldn't handled by the disk the file is stored on. So I decided to compact the file without starting the vm (Windows 2008 R2 Server). After compacting the Disk Manager shows me and end size of nearly one TB and a used size of ~24GB. Windows itself says the disk is at the same size ~50GB as before.
I wanted to have 100 GB for the VDI and either cannot compact it nor resize tp it desired size.