<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SSD &#8211; Xojo Programming Blog</title>
	<atom:link href="https://blog.xojo.com/tag/ssd/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.xojo.com</link>
	<description>Blog about the Xojo programming language and IDE</description>
	<lastBuildDate>Mon, 18 Oct 2021 14:54:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Shrink Linux VM Disk Files in VMware Fusion</title>
		<link>https://blog.xojo.com/2021/10/20/shrink-linux-vm-disk-files-in-vmware-fusion/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Wed, 20 Oct 2021 13:00:00 +0000</pubDate>
				<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Beginner Tips]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Multi-Platform Development]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[SSD]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=9430</guid>

					<description><![CDATA[Like many Xojo developers, I often use virtual machines for testing. Over time the virtual machine disk files can get pretty large, even if you&#8230;]]></description>
										<content:encoded><![CDATA[
<p>Like many Xojo developers, I often use virtual machines for testing. Over time the virtual machine disk files can get pretty large, even if you delete stuff from within the VM regularly.</p>



<div class="wp-block-image"><figure class="alignright size-large is-resized"><img fetchpriority="high" decoding="async" src="https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.30.06@2x-1024x673.png" alt="" class="wp-image-9431" width="402" height="264" srcset="https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.30.06@2x-1024x673.png 1024w, https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.30.06@2x-300x197.png 300w, https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.30.06@2x-768x505.png 768w, https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.30.06@2x.png 1504w" sizes="(max-width: 402px) 100vw, 402px" /></figure></div>



<p>I primarily use VMware Fusion, which lets you shrink the VM disk files if you have a Windows VM. Do this by going to the VM&#8217;s General settings in Fusion and click <strong>Clean Up Virtual Machine</strong>. This will shrink the size of the VM to the actual amount of disk spaces being used by removing the space marked as Reclaimable.</p>



<p>This is useful and I do it regularly for VMs that are on my SSD where space is precious.</p>



<p>However, I also happen to use a lot of Linux VMs, where the option to “Clean Up” is not available to shrink disk size.</p>



<p>Fortunately, you can accomplish the same thing from the Terminal inside the Linux VM.</p>



<p>In my case I am using Linux Mint 20. Here are the steps:</p>



<ol class="wp-block-list"><li>Open a Terminal window.</li><li>Type this command:<ul><li>sudo vmware-toolbox-cmd disk shrink /</li></ul></li><li><a href="https://youtu.be/2iyMf3tlKpU">There is no step 3</a>.</li></ol>



<p>Now you just wait. When it finishes you may want to restart the VM, but that does not appear to be a requirement.</p>



<p>In my case, my Mint VM went from 110GB down to 58GB, a savings of 52GB (!) which is not insignificant on most SSDs. The <a href="https://www.vmware.com/pdf/vmware-tools-cli.pdf">VMware Tools Configuration Utility Guide</a> has more details on what other commands are available. </p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img decoding="async" src="https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.34.51@2x-1024x742.png" alt="" class="wp-image-9432" width="487" height="353" srcset="https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.34.51@2x-1024x742.png 1024w, https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.34.51@2x-300x217.png 300w, https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.34.51@2x-768x557.png 768w, https://blog.xojo.com/wp-content/uploads/2021/10/CleanShot-2021-10-14-at-09.34.51@2x.png 1504w" sizes="(max-width: 487px) 100vw, 487px" /></figure></div>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
