Page 1 of 1

Resizing VDI issues

Posted: 9. Jun 2014, 21:46
by Quadrivium
I recently ran out of space on my VM, and needed to increase the size of drive. I had a Dynamically sized vdi, with several snapshots on it. After removing all the snapshots so that the VM reported that it was at "Current State" with no snapshots, I attempted the command:
VBoxManage modifyhd "C:\Users\Dcaldwell\VirtualBox VMs\davelamp\davelamp.vdi" --resize 16384

I received:
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!

Now I checked before starting that the file was Dynamic, but after removing the snapshots I now see fixed What's up?

So I restored my files from back up and verified that I started with "Dynamically allocated differencing storage", and I did.

So, if removing snapshots changes the drive from DADS to Fixed, as the instructions on this forum suggests, I've wasted a lot of time I could have used starting from scratch.

Re: Resizing VDI issues

Posted: 10. Jun 2014, 13:21
by noteirak
To me, it looks like the base disk always was Fixed, and now that you've removed the snapshots, you actually work wit that one, and so you get the error.
If you tried while having snapshot, it would have work since the diff disks used in snapshots are dynamic, regardless of base disk format.

Re: Resizing VDI issues

Posted: 10. Jun 2014, 13:25
by scottgus1
I'm not sure about how to fix the snapshot-delete dynamic-to-fixed issue, but if your host pc is Windows or Linux with Wine, try Mpack's CloneVDI: viewtopic.php?f=6&t=22422 It can handle resizing a virtual drive very easily.