<?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>VCritical &#187; snapshots</title>
	<atom:link href="http://www.vcritical.com/tag/snapshots/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vcritical.com</link>
	<description>Informed Virtualization Criticism</description>
	<lastBuildDate>Fri, 10 Sep 2010 17:31:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Taking snapshots of VMware ESX 4 running in a VM</title>
		<link>http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/</link>
		<comments>http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 19:08:38 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=2377</guid>
		<description><![CDATA[VMware ESX 4 can virtualize itself, and by using a special undocumented configuration setting it is now possible to take snapshots of virtual VMware ESX 4 systems.]]></description>
			<content:encoded><![CDATA[<p>Clearly, the capability introduced with VMware vSphere 4 <a href="http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/">that allows VMware ESX 4 to virtualize itself</a> is a real crowd-pleaser.</p>
<p>However, one limitation that some have discovered while using this lab-testing technique is the lack of ability to use snapshots with virtual ESX systems.  In fact, after taking a snapshot of a virtual ESX VM, you will see the system boot into the recovery shell like so:</p>
<p><img class="alignnone size-full wp-image-2380" title="Virtual VMware ESX 4 system fails to boot after taking snapshot" src="http://www.vcritical.com/wp-content/uploads/2010/02/recovery-shell-when-snapshot.png" alt="" width="589" height="246" /></p>
<p>Ouch.</p>
<h2>Can we fix it?</h2>
<p>I asked some super-smart engineers inside VMware about the issue, and of course they know all about it and how to make it work.</p>
<p>The solution is to enable an undocumented advanced configuration option on the <strong>physical ESX host</strong> like so:</p>
<p><img class="alignnone size-full wp-image-2379" title="Changing advanced configuration option on physical VMware ESX 4 host" src="http://www.vcritical.com/wp-content/uploads/2010/02/putty-esxcfg-permitvmfs.png" alt="" width="528" height="142" /></p>
<p><span id="more-2377"></span>In other words:</p>
<ul>
<li>Log into the console of the <strong>physical</strong> VMware ESX 4 host</li>
<li>Run the following command: esxcfg-advcfg -s 1  /COW/PermitVmfsOnRedoHierarchy</li>
<li>Verify the setting with the &#8220;get&#8221; flag: esxcfg-advcfg -g /COW/PermitVmfsOnRedoHierarchy</li>
</ul>
<p><em>Do I even need to say that this stuff is not supported by VMware Global Support Services (GSS)?  Well, I just did.</em></p>
<h2>Yes we can!</h2>
<p>After executing that one command on your <strong>physical </strong>machine, take a snapshot and boot up your virtual ESX:</p>
<p><img class="alignnone size-full wp-image-2381" title="Virtual VMware ESX 4 booted with snapshot in place" src="http://www.vcritical.com/wp-content/uploads/2010/02/virtual-esx-booted-with-snapshot.png" alt="" width="582" height="425" /></p>
<p>Everything works just like you need it to now &#8212; you can even create a snapshot hierarchy:</p>
<p><img class="alignnone size-full wp-image-2378" title="Snapshot tree for virtual VMware ESX 4 system" src="http://www.vcritical.com/wp-content/uploads/2010/02/multiple-snapshots.png" alt="" width="459" height="234" /></p>
<h2>Now what?</h2>
<p>Were you constrained by the lack of virtual ESX snapshots?  <strong>What interesting things will you use this for?</strong></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/' rel='bookmark' title='Permanent Link: Half the VM reboots on Patch Tuesday'>Half the VM reboots on Patch Tuesday</a></li>
<li><a href='http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/' rel='bookmark' title='Permanent Link: VMware vSphere 4 has a Snapshot Alarm'>VMware vSphere 4 has a Snapshot Alarm</a></li>
<li><a href='http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/' rel='bookmark' title='Permanent Link: Hyper-V snapshots: not for production'>Hyper-V snapshots: not for production</a></li>
<li><a href='http://www.vcritical.com/2009/01/igt-part-5-hyper-v-snapshots-are-not-gone-until-the-vm-is-powered-off/' rel='bookmark' title='Permanent Link: IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off'>IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Responsible Thin Provisioning in VMware vSphere</title>
		<link>http://www.vcritical.com/2009/10/responsible-thin-provisioning-in-vmware-vsphere/</link>
		<comments>http://www.vcritical.com/2009/10/responsible-thin-provisioning-in-vmware-vsphere/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 13:49:04 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[thin provisioning]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1684</guid>
		<description><![CDATA[VMware vSphere 4 offers thin provisioned virtual disks backed by management that enables safe use in a production environment thanks to advanced accounting of all provisioned space.]]></description>
			<content:encoded><![CDATA[<p>A cost-saving feature introduced in VMware vSphere 4 is <strong>fully supported</strong> <a href="http://www.vmware.com/products/vstorage-thin-provisioning/overview.html" target="_blank">thin-provisioned virtual disks</a>. Thin-provisioning decreases demand for SAN storage space by permitting virtual disks to consume just the space they actually use &#8212; and grow as needed &#8212; instead of pre-allocating all space up front.</p>
<p>What&#8217;s new is not necessarily the <em>technology</em> &#8212; it&#8217;s the <a href="http://www.youtube.com/watch?v=FRZh-mzchnM&amp;NR=1" target="_blank"><em>management</em></a>.  In fact, veteran VMware ESX admins have been creating thin provisioned virtual disks for years &#8212; for controlled scenarios &#8212; by way of the <strong>vmkfstools</strong> command.</p>
<p>Before vSphere and ESX 4, however, thin disks came with risk &#8212; there was no simple way of accounting for the overcommitted storage on each LUN.  Even with multiple gigabytes of free space, a small gang of thin-provisioned virtual machines could quickly quickly grow to exceed datastore capacity during a sudden demand spike.</p>
<h2>Complete Storage Accounting</h2>
<p>Now in vSphere 4 there is a new element in the capacity section of the datastore summary tab that shows total provisioned space &#8212; the maximum potential growth of all virtual machines if thin provisioned disks were fully utilized:</p>
<p><img class="alignnone size-full wp-image-1686" title="Datastore summary tab shows committed capacity" src="http://www.vcritical.com/wp-content/uploads/2009/09/datastore-summary-tab-capacity.png" alt="Datastore summary tab shows committed capacity" width="350" height="127" /></p>
<p>Virtual machines with snapshots have the potential of consuming <strong>even more</strong> datastore space, so vSphere accounts for this condition, too. <span id="more-1684"></span> Take a look at this VM Summary tab, where the total provisioned storage includes:</p>
<ul>
<li>Virtual hard disk (40GB)</li>
<li>Snapshot (another 40GB potential, worst-case)</li>
<li>VM swap file (1GB &#8212; sized according to RAM in theVM)</li>
</ul>
<p><img class="alignnone size-full wp-image-1692" title="Storage resources for VM with snapshot" src="http://www.vcritical.com/wp-content/uploads/2009/09/vm-resources-with-snapshot-poweredon.png" alt="Storage resources for VM with snapshot" width="374" height="207" /></p>
<p>As you can see, a VM with a 40GB virtual disk can actually consume up to 81GB of space on your SAN because of a forgotten snapshot!  Use the  <a href="http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/" target="_self">snapshot alarm</a> to stay in control.  And don&#8217;t forget that VMware vSphere snapshots are perfectly <a href="http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/">suitable for production</a>.</p>
<h2>New Datastore Alarms</h2>
<p>New alarms in vSphere prevent out-of-space surprises.  Administrators can monitor not only the free space on a datastore, but also the percentage overallocated &#8212; making it easy to adhere to policies concerning thin provisioning aggressiveness in your environment.</p>
<p><img class="alignnone size-full wp-image-1699" title="Datastore alarm for disk overallocation" src="http://www.vcritical.com/wp-content/uploads/2009/09/datastore-disk-overalloc-alarm.png" alt="Datastore alarm for disk overallocation" width="397" height="137" /></p>
<h2>Flexible Virtual Disk Re-configuration</h2>
<p>When creating a new VM, opting for thin-provisioned disks is as easy as checking a box.  If you change your mind later, you don&#8217;t have to start over &#8212; during a Storage VMotion operation, administrators can opt to change the VM disk format on the fly (see below).  It is also possible to inflate thin disks into thick via a new menu in the Datastore Browser.</p>
<p><img class="alignnone size-full wp-image-1687" title="VM disk format selection during Storage VMotion" src="http://www.vcritical.com/wp-content/uploads/2009/09/vm-disk-format-selection.png" alt="VM disk format selection during Storage VMotion" width="512" height="256" /></p>
<h2>Danger!</h2>
<p>You&#8217;ve probably heard the now-famous quote by Tom Bittman from Gartner:</p>
<blockquote><p>Virtualization without good management is more dangerous than not using virtualization in the first place.</p></blockquote>
<p>That goes <em>double </em>for thin-provisioned virtual disks.  Without comprehensive accounting and monitoring in place, your virtual infrastructure may be heading for disaster.  <strong>This level of insight is only available with VMware vSphere 4 &#8212; and it&#8217;s built right into the platform.</strong></p>
<p>What about Microsoft virtualization?  Hyper-V R2 thin provisioning &#8212; known as &#8220;dynamic disks&#8221; &#8212; is not a <a href="http://blogs.technet.com/mghazai/archive/2009/09/04/hyper-v-dynamic-expanding-or-fixed-size-vhd.aspx" target="_blank">best practice</a>.  Perhaps due to the lack of accounting and monitoring of storage overcommitment &#8212; especially critical now with Cluster Shared Volumes and multiple VMs per LUN.</p>
<p><strong>Are <em>you</em> using vSphere thin provisioning?</strong></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/11/vsphere-thin-provisioned-disk-performance/' rel='bookmark' title='Permanent Link: vSphere Thin-Provisioned Disk Performance'>vSphere Thin-Provisioned Disk Performance</a></li>
<li><a href='http://www.vcritical.com/2009/10/easy-recovery-from-a-full-vmware-esx-datastore/' rel='bookmark' title='Permanent Link: Easy recovery from a full VMware ESX datastore'>Easy recovery from a full VMware ESX datastore</a></li>
<li><a href='http://www.vcritical.com/2009/01/finding-thin-provisioned-virtual-disks-with-powershell/' rel='bookmark' title='Permanent Link: Finding thin-provisioned virtual disks with PowerShell'>Finding thin-provisioned virtual disks with PowerShell</a></li>
<li><a href='http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/' rel='bookmark' title='Permanent Link: VMware vSphere 4 has a Snapshot Alarm'>VMware vSphere 4 has a Snapshot Alarm</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/10/responsible-thin-provisioning-in-vmware-vsphere/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>VMware vSphere 4 has a Snapshot Alarm</title>
		<link>http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/</link>
		<comments>http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 18:16:03 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1222</guid>
		<description><![CDATA[Snapshots have always been a powerful feature of VMware ESX &#8212; even in production deployments.  There are tons of innovative tools and scripts out there to monitor snapshots &#8212; just check out this new one from Virtu-Al.
If you happen to want a simple, built-in way to monitor your snapshots in VMware vSphere 4, look no [...]]]></description>
			<content:encoded><![CDATA[<p>Snapshots have always been a powerful feature of VMware ESX &#8212; <a href="http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/">even in production deployments</a>.  There are tons of innovative tools and scripts out there to monitor snapshots &#8212; just check out this <a href="http://www.virtu-al.net/2009/06/22/powercli-snapreminder/" target="_blank">new one from Virtu-Al</a>.</p>
<p>If you happen to want a simple, built-in way to monitor your snapshots in VMware vSphere 4, look no further than this new alarm:</p>
<p><img class="alignnone size-full wp-image-1223" title="VM Alarm for Snapshot Size" src="http://www.vcritical.com/wp-content/uploads/2009/06/vm_alarm_snapshot_size.png" alt="VM Alarm for Snapshot Size" width="406" height="219" /></p>
<p>Very nice addition.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/10/responsible-thin-provisioning-in-vmware-vsphere/' rel='bookmark' title='Permanent Link: Responsible Thin Provisioning in VMware vSphere'>Responsible Thin Provisioning in VMware vSphere</a></li>
<li><a href='http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/' rel='bookmark' title='Permanent Link: Half the VM reboots on Patch Tuesday'>Half the VM reboots on Patch Tuesday</a></li>
<li><a href='http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/' rel='bookmark' title='Permanent Link: Taking snapshots of VMware ESX 4 running in a VM'>Taking snapshots of VMware ESX 4 running in a VM</a></li>
<li><a href='http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/' rel='bookmark' title='Permanent Link: Hyper-V snapshots: not for production'>Hyper-V snapshots: not for production</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/#comments">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/snapshots/" rel="tag">snapshots</a>, <a href="http://www.vcritical.com/tag/storage/" rel="tag">storage</a>, <a href="http://www.vcritical.com/tag/vcenter/" rel="tag">vCenter</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/">VMware vSphere 4 has a Snapshot Alarm</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2009 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hyper-V snapshots: not for production</title>
		<link>http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/</link>
		<comments>http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 17:17:20 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[snapshots]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1009</guid>
		<description><![CDATA[One of the greatest things about virtual machines is the ability to take snapshots, which can be used to quickly roll a VM back to a known state.
Previously, I have written about some of the shortcomings with Microsoft&#8217;s Hyper-V snapshots.  Or were they checkpoints?  I forget&#8230; but that&#8217;s not important.  The main problem with the [...]]]></description>
			<content:encoded><![CDATA[<p>One of the greatest things about virtual machines is the ability to take snapshots, which can be used to quickly roll a VM back to a known state.</p>
<p>Previously, I have written about some of the shortcomings with Microsoft&#8217;s Hyper-V <a href="http://www.vcritical.com/tag/snapshots/">snapshots</a>.  Or were they <a href="http://www.vcritical.com/2008/12/checkshots-or-snappoints/">checkpoints</a>?  I forget&#8230; but that&#8217;s not important.  The main problem with the Hyper-V snapshot implementation &#8212; that does not affect VMware ESX &#8212; is that the snapshots are not actually removed until the VM is powered off.  All the way off &#8212; reboots don&#8217;t count.  And the VM must <em>remain powered off</em> until the AVHD file is completely merged, <a href="http://blogs.msdn.com/virtual_pc_guy/archive/2009/04/21/what-happens-if-i-start-a-virtual-machine-that-is-merging-snapshot-files-hyper-v.aspx">otherwise the process is aborted</a>.</p>
<p>By the way, if you are using System Center Virtual Machine Manager 2008, you will have no way of knowing when the snapshot merge is complete.  SCVMM just simply does not report this information &#8212; switch to the other single pane of glass (Hyper-V Manager) if you need to be sure.  Hyper-V administrators are <a href="http://www.vcritical.com/2008/12/vm-resource-management-hyper-v-versus-scvmm/">used to this</a> by now.</p>
<p>So, if you find your VM in &#8220;<a href="http://blogs.msdn.com/virtual_pc_guy/archive/2009/04/22/why-is-my-virtual-machine-paused-critical-hyper-v.aspx">Paused-Critical</a>&#8221; state, you might want to check for a hidden snapshot file filling your LUN.  If you&#8217;ve landed on VCritical in search of such a solution, you are not alone &#8212; quite a few Google searchers end up here due to this issue.  Before <a href="http://blogs.msdn.com/Virtual_PC_Guy/">Ben Armstrong&#8217;s</a> recent &#8212; and very informative &#8212; series on snapshots, VCritical was among the first to <a href="http://www.vcritical.com/2008/12/snapshots-that-shoot-back/">elucidate this issue</a>.</p>
<p>If a hypervisor&#8217;s snapshot functionality is <a href="http://blogs.msdn.com/virtual_pc_guy/archive/2009/04/23/should-virtual-machine-snapshots-be-used-in-production-hyper-v.aspx">not recommended for production</a>, <strong>is that hypervisor itself ready for production</strong>?</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/' rel='bookmark' title='Permanent Link: Half the VM reboots on Patch Tuesday'>Half the VM reboots on Patch Tuesday</a></li>
<li><a href='http://www.vcritical.com/2009/01/igt-part-5-hyper-v-snapshots-are-not-gone-until-the-vm-is-powered-off/' rel='bookmark' title='Permanent Link: IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off'>IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off</a></li>
<li><a href='http://www.vcritical.com/2008/12/snapshots-that-shoot-back/' rel='bookmark' title='Permanent Link: Snapshots that shoot back'>Snapshots that shoot back</a></li>
<li><a href='http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/' rel='bookmark' title='Permanent Link: VMware vSphere 4 has a Snapshot Alarm'>VMware vSphere 4 has a Snapshot Alarm</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/#comments">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a>, <a href="http://www.vcritical.com/tag/scvmm/" rel="tag">SCVMM</a>, <a href="http://www.vcritical.com/tag/snapshots/" rel="tag">snapshots</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/">Hyper-V snapshots: not for production</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2009 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off</title>
		<link>http://www.vcritical.com/2009/01/igt-part-5-hyper-v-snapshots-are-not-gone-until-the-vm-is-powered-off/</link>
		<comments>http://www.vcritical.com/2009/01/igt-part-5-hyper-v-snapshots-are-not-gone-until-the-vm-is-powered-off/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 11:55:51 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IGT]]></category>
		<category><![CDATA[snapshots]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=477</guid>
		<description><![CDATA[Unlike VMware ESX, when administrators delete snapshots on Hyper-V, the disks are not merged until the VM is powered off -- potentially filling up disks.]]></description>
			<content:encoded><![CDATA[<p><em>This article is part of a series on <a href="http://www.vcritical.com/2008/12/incoming-google-traffic-introduction/">Incoming Google Traffic</a> (IGT).</em></p>
<p>Evidently, some Hyper-V administrators are puzzled by that platform&#8217;s snapshot behavior.  I am starting to see visitors come to VCritical when searching for:</p>
<p style="padding-left: 30px;">hyper-v &#8220;merge in progress&#8221;<br />
hyper-v &#8220;paused-critical&#8221;</p>
<p>This is exactly the issue that I <a href="http://www.vcritical.com/2008/12/snapshots-that-shoot-back/">wrote about recently</a>.  With VMware ESX, administrators can create and delete snapshots on running VMs &#8212; without incurring downtime.  Deleted Hyper-V snapshots are only merged when the VM is powered off.  That could mean <a href="http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/">twice the number of reboots</a> during VM guest OS maintenence.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/' rel='bookmark' title='Permanent Link: Hyper-V snapshots: not for production'>Hyper-V snapshots: not for production</a></li>
<li><a href='http://www.vcritical.com/2008/12/snapshots-that-shoot-back/' rel='bookmark' title='Permanent Link: Snapshots that shoot back'>Snapshots that shoot back</a></li>
<li><a href='http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/' rel='bookmark' title='Permanent Link: Half the VM reboots on Patch Tuesday'>Half the VM reboots on Patch Tuesday</a></li>
<li><a href='http://www.vcritical.com/2009/05/exclusive-hyper-v-2013-product-roadmap/' rel='bookmark' title='Permanent Link: Exclusive: Hyper-V 2013 Product Roadmap'>Exclusive: Hyper-V 2013 Product Roadmap</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/01/igt-part-5-hyper-v-snapshots-are-not-gone-until-the-vm-is-powered-off/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Half the VM reboots on Patch Tuesday</title>
		<link>http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/</link>
		<comments>http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 22:15:59 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[VMware Update Manager]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=398</guid>
		<description><![CDATA[Virtual machine snapshots are a quick way to recover from unexpected incompatibilities you may encounter when patching guest operating systems.  In fact, VMware Update Manager even provides an option to automatically snapshot a VM before applying updates and then delete the snapshot after a specified amount of time.
Even if you are not using VMware Update [...]]]></description>
			<content:encoded><![CDATA[<p>Virtual machine snapshots are a quick way to recover from unexpected incompatibilities you may encounter when patching guest operating systems.  In fact, VMware Update Manager even provides an option to automatically snapshot a VM before applying updates and then delete the snapshot after a specified amount of time.</p>
<p>Even if you are not using VMware Update Manager, a typical patch workflow may look something like this:</p>
<ol>
<li>Take VM snapshot</li>
<li>Apply updates, <em>which normally require that you&#8230;</em></li>
<li>Reboot</li>
<li>Test</li>
<li>Remove snapshot</li>
</ol>
<p>After I wrote <a href="http://www.vcritical.com/2008/12/snapshots-that-shoot-back/">yesterday&#8217;s post on Hyper-V snapshots</a>, something occurred to me.  The 5 steps above are only for VMware ESX.  If you are using Hyper-V as your platform, you are not done yet &#8212; <strong>the snapshot differences are not actually merged until the VM is powered off.</strong></p>
<p>Hyper-V administrators, please add the following steps:</p>
<ol start="6">
<li>Power off VM</li>
<li>Wait for merge to finish</li>
<li>Power on VM</li>
</ol>
<p><strong>Patch Tuesday.  Would you like one reboot or two?</strong></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/01/igt-part-5-hyper-v-snapshots-are-not-gone-until-the-vm-is-powered-off/' rel='bookmark' title='Permanent Link: IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off'>IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off</a></li>
<li><a href='http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/' rel='bookmark' title='Permanent Link: Hyper-V snapshots: not for production'>Hyper-V snapshots: not for production</a></li>
<li><a href='http://www.vcritical.com/2008/12/snapshots-that-shoot-back/' rel='bookmark' title='Permanent Link: Snapshots that shoot back'>Snapshots that shoot back</a></li>
<li><a href='http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/' rel='bookmark' title='Permanent Link: VMware vSphere 4 has a Snapshot Alarm'>VMware vSphere 4 has a Snapshot Alarm</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/#comments">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a>, <a href="http://www.vcritical.com/tag/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/snapshots/" rel="tag">snapshots</a>, <a href="http://www.vcritical.com/tag/vmware-update-manager/" rel="tag">VMware Update Manager</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/">Half the VM reboots on Patch Tuesday</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2008 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Snapshots that shoot back</title>
		<link>http://www.vcritical.com/2008/12/snapshots-that-shoot-back/</link>
		<comments>http://www.vcritical.com/2008/12/snapshots-that-shoot-back/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 21:09:09 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=402</guid>
		<description><![CDATA[Although the Hyper-V Manager and SCVMM allow removing snapshots from running VMs, they are not actually merged until the VM is powered off.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-411" style="border: 1px solid black; margin-right: 3px;" title="new-checkpoint" src="http://www.vcritical.com/wp-content/uploads/2008/12/new-checkpoint.png" alt="new-checkpoint" width="127" height="79" /></p>
<p>Snapshots are one of the great features of virtualization, but forget about one on an active VM for too long and you may be calling for cleanup on aisle one.  Recently there was a fair amount of discussion among VM bloggers about snapshots.  Jason Boche had a <a href="http://www.boche.net/blog/?p=553">nice article that summarized some monitoring strategies</a> and <a href="http://vmetc.com/2008/12/06/esx-snapshots-are-like-a-loaded-gun/">Rich Brambley also weighed in</a>.</p>
<p>You may be wondering what makes snapshots so great.  At the top of the list is the ability to have an easy roll-back plan for failed upgrades.  For example, an administrator can take a VM snapshot before applying patches to a guest OS.  After rebooting and testing, if all is well, simply delete the snapshot and move on &#8212; the changes are merged while the virtual machine is running.  If for some reason a patch caused problems, the previous state can be quickly restored.</p>
<p>That&#8217;s how VMware ESX works.  Is Microsoft Hyper-V the same?<span id="more-402"></span></p>
<p>It turns out that Hyper-V snapshots (or <a href="http://www.vcritical.com/2008/12/checkshots-or-snappoints/">SCVMM checkpoints</a>, depending on which single pane of glass you are using) use a slightly different design. The Microsoft interfaces allow administrators to remove snapshots from powered-on VMs, and after doing so, they <em>appear</em> to be gone:</p>
<p><img class="alignnone size-full wp-image-403" style="border: 1px solid black;" title="selected-vm-has-no-snapshots" src="http://www.vcritical.com/wp-content/uploads/2008/12/selected-vm-has-no-snapshots.png" alt="selected-vm-has-no-snapshots" width="439" height="85" /></p>
<p>But, upon closer inspection, the changes are not actually merged until the VM is <strong>powered off</strong>:</p>
<p><img class="alignnone size-full wp-image-404" style="border: 1px solid black;" title="merge-in-progress" src="http://www.vcritical.com/wp-content/uploads/2008/12/merge-in-progress.png" alt="merge-in-progress" width="487" height="56" /></p>
<p>What happens if an administrator is not aware of this behavior?  Just as if the snapshot was never deleted, it grow and grow until the LUN on which it lives runs out of space:</p>
<p><img class="alignnone size-full wp-image-406" title="low-disk-space" src="http://www.vcritical.com/wp-content/uploads/2008/12/low-disk-space.png" alt="low-disk-space" width="336" height="89" /></p>
<p>And when that happens, the VM will go into a Paused-Critical state:</p>
<p><img class="alignnone size-full wp-image-405" style="border: 1px solid black;" title="hyper-v-vm-paused-critical" src="http://www.vcritical.com/wp-content/uploads/2008/12/hyper-v-vm-paused-critical.png" alt="hyper-v-vm-paused-critical" width="255" height="90" /></p>
<p><strong>Cleanup on aisle one!</strong></p>
<p>What is the best way to recover gracefully from such a problem, if there really is no free space on the LUN? Gabes Virtual World published a <a href="http://www.gabesvirtualworld.com/?p=108">great tip</a> that could help next time.  Maybe all that <a href="http://www.vcritical.com/2008/10/storage-vendors-unanimously-applaud-scvmm-innovation/">ISO file copying</a> isn&#8217;t so bad after all.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/' rel='bookmark' title='Permanent Link: Hyper-V snapshots: not for production'>Hyper-V snapshots: not for production</a></li>
<li><a href='http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/' rel='bookmark' title='Permanent Link: Half the VM reboots on Patch Tuesday'>Half the VM reboots on Patch Tuesday</a></li>
<li><a href='http://www.vcritical.com/2009/01/igt-part-5-hyper-v-snapshots-are-not-gone-until-the-vm-is-powered-off/' rel='bookmark' title='Permanent Link: IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off'>IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off</a></li>
<li><a href='http://www.vcritical.com/2008/12/checkshots-or-snappoints/' rel='bookmark' title='Permanent Link: Checkshots or Snappoints?'>Checkshots or Snappoints?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2008/12/snapshots-that-shoot-back/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Checkshots or Snappoints?</title>
		<link>http://www.vcritical.com/2008/12/checkshots-or-snappoints/</link>
		<comments>http://www.vcritical.com/2008/12/checkshots-or-snappoints/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 01:05:06 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[snapshots]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=290</guid>
		<description><![CDATA[Stop me if you&#8217;ve heard this one:
What&#8217;s the difference between a checkpoint and a snapshot?

Two Microsoft development groups.
Don&#8217;t get it?  Let me explain&#8230;
Hypervisors offer a means of saving the current state of a virtual machine and later returning to the saved state, if desired.  This is extremely useful when performing repetitive testing procedures, and also [...]]]></description>
			<content:encoded><![CDATA[<p>Stop me if you&#8217;ve heard this one:</p>
<p>What&#8217;s the difference between a checkpoint and a snapshot?</p>
<p><span id="more-290"></span></p>
<p>Two Microsoft development groups.</p>
<p>Don&#8217;t get it?  Let me explain&#8230;</p>
<p>Hypervisors offer a means of saving the current state of a virtual machine and later returning to the saved state, if desired.  This is extremely useful when performing repetitive testing procedures, and also as a contingency plan in case an application upgrade fails.</p>
<p>VMware products use the term &#8220;snapshot&#8221; for this technology, and so does Hyper-V.  Surprisingly, even though SCVMM manages Hyper-V and ESX, it uses a different term for the exact same feature.  SCVMM calls them &#8220;checkpoints&#8221; and evidently this is confusing enough for Microsoft users that they have even called Microsoft support to ask about <a href="http://fawzi.wordpress.com/2008/11/26/hyper-v-snapshots-vs-scvmm-2008-checkpoints/" target="_blank">the differences</a>.</p>
<p>Microsoft has two completely separate interfaces, with different capabilities and terminology, for just their hypervisor.  Can you seriously believe the rhetoric about Microsoft&#8217;s <a href="http://blogs.technet.com/chengw/archive/2008/04/29/managing-vmware.aspx" target="_blank">single pane of glass</a> to manage your entire environment?</p>
<p>Administrators use the same exact VI Client whether they are connecting to an individual VMware ESX host or centrally managing many hosts with VirtualCenter.  No need for multiple terminology <em>or interfaces</em>.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/' rel='bookmark' title='Permanent Link: Hyper-V snapshots: not for production'>Hyper-V snapshots: not for production</a></li>
<li><a href='http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/' rel='bookmark' title='Permanent Link: Half the VM reboots on Patch Tuesday'>Half the VM reboots on Patch Tuesday</a></li>
<li><a href='http://www.vcritical.com/2008/12/snapshots-that-shoot-back/' rel='bookmark' title='Permanent Link: Snapshots that shoot back'>Snapshots that shoot back</a></li>
<li><a href='http://www.vcritical.com/2009/08/single-pane-of-glass-hyper-v-edition/' rel='bookmark' title='Permanent Link: Single Pane of Glass &#8212; Hyper-V Edition'>Single Pane of Glass &#8212; Hyper-V Edition</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2008/12/checkshots-or-snappoints/#comments">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a>, <a href="http://www.vcritical.com/tag/scvmm/" rel="tag">SCVMM</a>, <a href="http://www.vcritical.com/tag/snapshots/" rel="tag">snapshots</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2008/12/checkshots-or-snappoints/">Checkshots or Snappoints?</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2008 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2008/12/checkshots-or-snappoints/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
