<?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 (Einträge über vm)</title><link>https://blog.lazy-evaluation.net/</link><description></description><atom:link href="https://blog.lazy-evaluation.net/de/categories/vm.xml" rel="self" type="application/rss+xml"></atom:link><language>de</language><copyright>Contents © 2025 &lt;a href="mailto:dzu@member.fsf.org"&gt;Detlev Zundel&lt;/a&gt; </copyright><lastBuildDate>Sat, 08 Mar 2025 11:07:56 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>VM Snapshots - I Love Them!</title><link>https://blog.lazy-evaluation.net/de/posts/linux/vm-snapshots.html?pk_campaign=feed</link><dc:creator>Detlev Zundel</dc:creator><description>&lt;div&gt;&lt;div style="text-align:center" class="imageblock" id="org48f4f01"&gt;

&lt;div id="org4096851" class="figure"&gt;
&lt;p&gt;&lt;img src="https://blog.lazy-evaluation.net/de/images/virt-manager.png" alt="virt-manager.png" title="Virtual Machine Manager Logo" align="middle" width="300"&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;
A while ago, as VirtualBox was loosing its attractiveness due to
license changes, I converted my virtual machines to KVM ones managed
by &lt;a href="https://virt-manager.org/"&gt;virt-manager&lt;/a&gt;.  One of the features that I just love is the
capability to take snapshots of the hard disks.  As I do not know of
an easy way to do this from the GUI, I simply use &lt;a href="https://www.libvirt.org/manpages/virsh.html"&gt;virsh&lt;/a&gt; which is part
of the &lt;a href="https://www.libvirt.org/index.html"&gt;libvirt core distribution&lt;/a&gt;. Before trying something "dangerous",
just take a snapshot.  If the experiment was not successful, then it
is just a simple command to undo all the latest changes.  I learned to
love this feature lately as I tried crazy stuff like converting a VMs
hard disc from MBR to GPT partitioning and when I ended up in an
unbootable system, I could simply revert to the previous snapshot.
Having this feature available empowered me to try things that may
break the system.
&lt;/p&gt;

&lt;p&gt;
This short blog post is just intended to show with real transcripts
how this works from the command line.
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blog.lazy-evaluation.net/de/posts/linux/vm-snapshots.html?pk_campaign=feed"&gt;Weiterlesen…&lt;/a&gt; (2 min verbleiben zum Lesen)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.lazy-evaluation.net/de/posts/linux/vm-snapshots.html</guid><pubDate>Thu, 23 Nov 2023 22:03:03 GMT</pubDate></item><item><title>Reclaiming VM Hard Disk Space from VirtualBox</title><link>https://blog.lazy-evaluation.net/de/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/de/posts/reclaiming-vm-space-virtualbox.html?pk_campaign=feed"&gt;Weiterlesen…&lt;/a&gt; (6 min verbleiben zum Lesen)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.lazy-evaluation.net/de/posts/reclaiming-vm-space-virtualbox.html</guid><pubDate>Mon, 20 Jan 2020 21:14:32 GMT</pubDate></item></channel></rss>