<?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>laneolson.ca &#187; Virtualization</title>
	<atom:link href="http://www.laneolson.ca/tag/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.laneolson.ca</link>
	<description></description>
	<lastBuildDate>Fri, 07 Jan 2011 23:06:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hyper-V Snapshots and Disk Space</title>
		<link>http://www.laneolson.ca/2009/10/09/hyper-v-snapshots-and-disk-space/</link>
		<comments>http://www.laneolson.ca/2009/10/09/hyper-v-snapshots-and-disk-space/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 19:55:09 +0000</pubDate>
		<dc:creator>Lane</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://www.laneolson.ca/?p=131</guid>
		<description><![CDATA[<p>I ran into a somewhat embarrassing problem the other day.  Upon turning on my computer I found that my virtual machine on a test server running under Hyper-V was in a Paused-Critical state.  A little further investigation showed that my disk space was critically low.  I tried to wrap my head around how that could have possibly happened.  After all, the only thing that was really on that machine was the Virtual Machine which I had allocated a large amount of disk space for.</p>
<p>The issue was with snapshots.  I had been taking snapshots of the VM prior to applying service packs or installing risky software.  After the procedure was successful I would delete the snapshot... or so I thought.  I'm no Hyper-V guru, but from past experience with VMware products once a snapshot is deleted, it's gone.  This isn't the case with Hyper-V.  If you want to delete a snapshot, you have to delete it in the Hyper-V manager, then turn off the VM with the deleted snapshot and wait for it to merge.</p>
<p>I shut down the VM and the merging process began.  However, I had created a few snapshots in the past that still hadn't been merged.  It looked like the merging process might take a while, so I let it run.  However, the merging process could not complete because I didn't have enough disk space!  I found this quite ironic.</p>
<p><em><strong>I am of disk space because I did not merge the snapshots into the vhd, but I cannot merge the snapshots because I am out of disk space.</strong></em>  Does that seem odd to anyone else?</p>
<p>In order to fix this problem I had to dive into the config file.  Luckily, I had another hard drive with around 30GB of freespace attached to the host.  To <a href="http://www.systemcentercentral.com/tabid/60/indexId/25255/tag/Forums+Hyper-V/Default.aspx" target="_blank">fix the problem</a> I shut down the VM and Hyper-V Services then went to the directory containing .avhd (snapshot) files.  I moved one of the snapshot files to a temporary directory on the drive with the free space, then updated the snapshot entry in the config xml file for the VM to point to the new directory where I placed the snapshot file.  After restarting the Hyper-V services and turning off the VM the merge was able to complete, albeit after 2 hours of waiting.</p>]]></description>
			<content:encoded><![CDATA[<p>I ran into a somewhat embarrassing problem the other day.  Upon turning on my computer I found that my virtual machine on a test server running under Hyper-V was in a Paused-Critical state.  A little further investigation showed that my disk space was critically low.  I tried to wrap my head around how that could have possibly happened.  After all, the only thing that was really on that machine was the Virtual Machine which I had allocated a large amount of disk space for.</p>
<p>The issue was with snapshots.  I had been taking snapshots of the VM prior to applying service packs or installing risky software.  After the procedure was successful I would delete the snapshot&#8230; or so I thought.  I&#8217;m no Hyper-V guru, but from past experience with VMware products once a snapshot is deleted, it&#8217;s gone.  This isn&#8217;t the case with Hyper-V.  If you want to delete a snapshot, you have to delete it in the Hyper-V manager, then turn off the VM with the deleted snapshot and wait for it to merge.</p>
<p>I shut down the VM and the merging process began.  However, I had created a few snapshots in the past that still hadn&#8217;t been merged.  It looked like the merging process might take a while, so I let it run.  However, the merging process could not complete because I didn&#8217;t have enough disk space!  I found this quite ironic.</p>
<p><em><strong>I am of disk space because I did not merge the snapshots into the vhd, but I cannot merge the snapshots because I am out of disk space.</strong></em>  Does that seem odd to anyone else?</p>
<p>In order to fix this problem I had to dive into the config file.  Luckily, I had another hard drive with around 30GB of freespace attached to the host.  To <a href="http://www.systemcentercentral.com/tabid/60/indexId/25255/tag/Forums+Hyper-V/Default.aspx" target="_blank">fix the problem</a> I shut down the VM and Hyper-V Services then went to the directory containing .avhd (snapshot) files.  I moved one of the snapshot files to a temporary directory on the drive with the free space, then updated the snapshot entry in the config xml file for the VM to point to the new directory where I placed the snapshot file.  After restarting the Hyper-V services and turning off the VM the merge was able to complete, albeit after 2 hours of waiting.</p>
<p>I realize that Hyper-V is a somewhat new contender in the Virtualization marketplace, but I think that something is completely out of whack with the way that snapshots work.  When you have systems that are required to be up and running 24/7 it basically throws away any use that snapshots have.  It seems somewhat ridiculous that you have to bring a system down to delete the snapshot when one of the reasons you created the snapshot was to help reduce downtime in case something goes wrong.  It is even more ridiculous that if you don&#8217;t power down your system and wait for the vhd to merge, the snapshot will continue to grow until the system comes crashing down due to a lack of disk space!</p>
<p>Anyways, that&#8217;s my rant.  Yes, I understand that Microsoft does not recommend snapshots for production environments&#8230; but I hope in the future they make some improvements so that snapshots <strong>are</strong> usable in production environments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.laneolson.ca/2009/10/09/hyper-v-snapshots-and-disk-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mouse issues running an Ubuntu guest in VMware</title>
		<link>http://www.laneolson.ca/2009/10/08/mouse-issues-running-an-ubuntu-guest-in-vmware/</link>
		<comments>http://www.laneolson.ca/2009/10/08/mouse-issues-running-an-ubuntu-guest-in-vmware/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 14:56:10 +0000</pubDate>
		<dc:creator>Lane</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.laneolson.ca/?p=128</guid>
		<description><![CDATA[      <p>I guess this isn&#8217;t exaclty an Ubuntu specific problem because I&#8217;m having issues with my mouse in Windows guest using VMware server as well.  Anyways, I have found a fix to the problem I was having in Ubuntu.  I have a few different VM&#8217;s that I use for testing and ever since I set them up I&#8217;ve been having the following mouse issues (even with VMware Tools installed):</p>

<ul>
<li>I often get a &#8220;shadow&#8221; mouse where I can see the Windows cursor and the Ubuntu cursor at the same time.  This would make it difficult for me to know what I was clicking on.</li>
<li>I usually have my Ubuntu VM at fullscreen on one monitor and Windows running in the other.  In order to release the mouse from the VM I would have to hit Ctrl+Alt, which makes it tough to use the VM and Windows side-by-side.  Also hitting Ctrl+Alt would exit the VM from fullscreen mode.</li>
<li>The cursor would often flash in a seizure inducing way.</li>
</ul>
<p>All of these issues can be easily fixed by installing the vmmouse driver.  Which can be done with the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xserver-xorg-input-vmmouse</pre></div></div>

<p>After it is installed you can reboot or simply restart gdm with:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>gdm restart</pre></div></div>

<p>You can now run the VM in fullscreen and seamlessly move the mouse in and out of the VM without having to press ctrl+alt all the time.  It also fixes the other issues mentioned above.</p>
]]></description>
			<content:encoded><![CDATA[<p>I guess this isn&#8217;t exaclty an Ubuntu specific problem because I&#8217;m having issues with my mouse in Windows guest using VMware server as well.  Anyways, I have found a fix to the problem I was having in Ubuntu.  I have a few different VM&#8217;s that I use for testing and ever since I set them up I&#8217;ve been having the following mouse issues (even with VMware Tools installed):</p>
<ul>
<li>I often get a &#8220;shadow&#8221; mouse where I can see the Windows cursor and the Ubuntu cursor at the same time.  This would make it difficult for me to know what I was clicking on.</li>
<li>I usually have my Ubuntu VM at fullscreen on one monitor and Windows running in the other.  In order to release the mouse from the VM I would have to hit Ctrl+Alt, which makes it tough to use the VM and Windows side-by-side.  Also hitting Ctrl+Alt would exit the VM from fullscreen mode.</li>
<li>The cursor would often flash in a seizure inducing way.</li>
</ul>
<p>All of these issues can be easily fixed by installing the vmmouse driver.  Which can be done with the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xserver-xorg-input-vmmouse</pre></div></div>

<p>After it is installed you can reboot or simply restart gdm with:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>gdm restart</pre></div></div>

<p>You can now run the VM in fullscreen and seamlessly move the mouse in and out of the VM without having to press ctrl+alt all the time.  It also fixes the other issues mentioned above.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.laneolson.ca/2009/10/08/mouse-issues-running-an-ubuntu-guest-in-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

