[VBox-users] On disk shrinking
Scripts for Virtualbox
Status: Pre-Alpha
Brought to you by:
fcassia4oss
From: Christian K. <li...@ne...> - 2015-04-19 07:45:21
|
Hi, I needed to shrink a VirtualBox VDI image to half its size and but I remembered that "shrinking"[0] is currently not possible. I managed to do it anyway by creating another disk, shrinking the filesystem, copying the filesystem, etc, but it's somewhat cumbersome. Searching through the bug tracker I find a few tickets marked as "duplicate" without a reference to its master[1] or wrongly-marked duplicates[2] (.VHD != .VDI, or is it?), but nothing substantial turned up. So, I guess my question is: is disk shrinking (for .VDI disks, as they seem to be the default) planned or will this never be implemented? Or is this too uncommon a use case that this wouldn't be worth the effort to implement? Thanks, Christian. [0] https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvdi [1] https://www.virtualbox.org/ticket/3179 [2] https://www.virtualbox.org/ticket/2966 -- BOFH excuse #99: SIMM crosstalk. |