<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dzu's Blog (Posts about virtualbox)</title><link>https://blog.lazy-evaluation.net/</link><description></description><atom:link href="https://blog.lazy-evaluation.net/categories/virtualbox.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2025 &lt;a href="mailto:dzu@member.fsf.org"&gt;Detlev Zundel&lt;/a&gt; </copyright><lastBuildDate>Wed, 10 Dec 2025 16:16:35 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Reclaiming VM Hard Disk Space from VirtualBox</title><link>https://blog.lazy-evaluation.net/posts/reclaiming-vm-space-virtualbox.html?pk_campaign=feed</link><dc:creator>Detlev Zundel</dc:creator><description>&lt;div&gt;&lt;img alt="Compress Image" class="align-center" src="https://blog.lazy-evaluation.net/images/compress.png" style="width: 300px;"&gt;
&lt;p&gt;Creating a virtual machine requires specifying the amount of space to
allocate for the virtual hard disk as one of the first steps.
Dreading the notorious "not enough disk space" message, one usually
aims to be on the safe side and reserves a generous amount at this
stage.  If the assignment is done in a static fashion then the
allocated space is immediately claimed from the underlying file system
and one thus has to come up with a pretty good guess in order not to
waste space.  Thankfully most VM solutions allow dynamic allocations
which can grow on demand limited only by an upper bound making this a
very attractive choice.&lt;/p&gt;
&lt;p&gt;A newly created VM with such an dynamic disk image indeed starts out
nice and space saving but over time the image will eventually take up
all the committed underlying disk space even though the VM reports to
use only a subset of it. Reflecting on why this is the case leads us
to an elegant setup reclaiming unused storage space on the host
system.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.lazy-evaluation.net/posts/reclaiming-vm-space-virtualbox.html?pk_campaign=feed"&gt;Read more…&lt;/a&gt; (6 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>ssd</category><category>virtualbox</category><category>vm</category><guid>https://blog.lazy-evaluation.net/posts/reclaiming-vm-space-virtualbox.html</guid><pubDate>Mon, 20 Jan 2020 21:14:32 GMT</pubDate></item></channel></rss>