Page 1 of 1

[Solved] Accidentally resized virtual disk to 20TB

Posted: 24. Oct 2017, 16:24
by Armtir
Hi
I made a big mistake while i was resizing my virtual disk. I accidentally resized the virtual disk space of my Ubuntu VM to 20TB :oops:

Code: Select all

 C:\>VBoxmanage modifyhd ubuntu.vdi --resize 20000000 
Is there a way to decrease the virtual disk space since i did not to anythig to it except this stupid mistake. I did not gparted it.
Or is it possible to create an image of my vm with the actual size ?


thanks :)

Re: Accidentally resized virtual disk to 20TB

Posted: 24. Oct 2017, 16:27
by mpack
Version 3.0 of CloneVDI is able to shrink disks, provided you didn't store anything in the unwanted areas.

Remember to tick the "Keep UUID" option.

Re: Accidentally resized virtual disk to 20TB

Posted: 24. Oct 2017, 16:51
by Armtir
Hi mpack!
Thank you so much!
I did not know that tool.
It was no problem to decrease the size to 20GB :D

Re: Accidentally resized virtual disk to 20TB

Posted: 25. Oct 2017, 05:53
by BillG
Yes, it is a very handy thing to know about. mpack is a bit of an expert on it - he wrote it (and maintains it) himself!

Re: Accidentally resized virtual disk to 20TB

Posted: 25. Oct 2017, 10:22
by mpack
Thanks for reporting back, I'll mark the topic as solved.