On Sun, 19 Apr 2015 07:26:49 UTC, Christian Kujau <[email protected]> 
wrote: 

> 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.

Why would you need to shrink a VDI ?  Did you run out of space on the host ?
Shrinking the filesystem inside the guest with the right tool is the way to do 
that.
Using another tool inside your guest to 0 out all unused sectors (including the 
freespace) makes it possible to afterwards run the Vbox's compact option, which
will reduce the size of your VDI. It will now never grow larger than the used 
partition.
 
> 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?), 

VDI = Vbox format    VHD = VirtualPC format

So, what do you really need a 'shrink' option for ?

-- 
  Allan.

It is better to close your mouth, and look like a fool,
than to open it, and remove all doubt.


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:[email protected]?subject=unsubscribe

Reply via email to