<?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>vReference &#187; DMotion</title>
	<atom:link href="http://www.vReference.com/tag/dmotion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vReference.com</link>
	<description>guides, links and news for VMware and virtualization technologies</description>
	<lastBuildDate>Mon, 19 Jul 2010 04:10:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</title>
		<link>http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/</link>
		<comments>http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 17:40:08 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[DMotion]]></category>
		<category><![CDATA[ESX]]></category>

		<guid isPermaLink="false">http://www.vmreference.com/?p=48</guid>
		<description><![CDATA[I had a another problem with Storage VMotion yesterday and found out a couple of interesting things. Firstly, there is a now a Knowledge Base article explaining how to recreate vmdk header files if they are missing.  This was news to me, so here&#8217;s the...<p>=====
<a href="http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/">Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/' rel='bookmark' title='Permanent Link: Corrupted vmdk and vmsd files'>Corrupted vmdk and vmsd files</a></li>
<li><a href='http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/' rel='bookmark' title='Permanent Link: Problems with Storage VMotion'>Problems with Storage VMotion</a></li>
<li><a href='http://www.vReference.com/2010/02/26/most-awesome-esx-script-known-to-mankind-ever/' rel='bookmark' title='Permanent Link: Most awesome ESX script known to mankind ever'>Most awesome ESX script known to mankind ever</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had a another problem with Storage VMotion yesterday and found out a couple of interesting things.</p>
<p>Firstly, there is a now a Knowledge Base article explaining how to recreate vmdk header files if they are missing.  This was news to me, so here&#8217;s the link:</p>
<p><a href="http://kb.vmware.com/kb/1004232">http://kb.vmware.com/kb/1004232</a></p>
<p>Secondly, was discovering a sightly different approach to recovering a failed Storage VMotion (DMotion).  My previous experiences had involved something along these lines:</p>
<p><a href="http://communities.vmware.com/message/999890#999890">http://communities.vmware.com/message/999890#999890</a></p>
<p>Which basically breaks down to creating another snapshot, so that you will then be able to force a <strong>vmware-cmd <em>&#8230;/vmname.vmx</em> removesnapshots</strong></p>
<p>However this approach was messy, didn&#8217;t always commit properly and required editing the vmx file.</p>
<p>So yesterday, when facing a similar problem, I saw it resolved in slightly different way.  We started by checking the linking of parentCID to CID in the vmdk header files, as we had an issue with all the different DMotion snapshot files.  Then to commit the snapshots, we used <strong>vmkfstools -i</strong> <strong>&lt;<em>last_snapshot.vmdk</em>&gt;</strong> <strong>&lt;<em>destination.vmdk</em>&gt;</strong> to clone the disk to another file.  By sending the clone command to the last snapshot header file, it knew to roll all the chained snapshots, along with the original disk, into this new copy.</p>
<p>Obviously this method requires extra space for the second copy and can take longer, but you have the advantage that the original are untouched.</p>
<p><strong>Update:</strong></p>
<p>VMware has just released a new KB article covering the whole process: <a href="http://kb.vmware.com/kb/1007849"></a><a href="http://kb.vmware.com/kb/1007849">http://kb.vmware.com/kb/1007849</a></p>
<p>=====
<a href="http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/">Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/' rel='bookmark' title='Permanent Link: Corrupted vmdk and vmsd files'>Corrupted vmdk and vmsd files</a></li>
<li><a href='http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/' rel='bookmark' title='Permanent Link: Problems with Storage VMotion'>Problems with Storage VMotion</a></li>
<li><a href='http://www.vReference.com/2010/02/26/most-awesome-esx-script-known-to-mankind-ever/' rel='bookmark' title='Permanent Link: Most awesome ESX script known to mankind ever'>Most awesome ESX script known to mankind ever</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems with Storage VMotion</title>
		<link>http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/</link>
		<comments>http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 21:39:20 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[DMotion]]></category>
		<category><![CDATA[Storage VMotion]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.vmreference.com/?p=41</guid>
		<description><![CDATA[I’ve been using the new Storage VMotion functionality fairly heavily over the last couple of months.  I have encountered a couple of significant bugs whilst using it, which have resulted in corrupted VMDK files.  Here are my two tips when using Storage VMotion, to avoid...<p>=====
<a href="http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/">Problems with Storage VMotion</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/' rel='bookmark' title='Permanent Link: Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)'>Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</a></li>
<li><a href='http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/' rel='bookmark' title='Permanent Link: Corrupted vmdk and vmsd files'>Corrupted vmdk and vmsd files</a></li>
<li><a href='http://www.vReference.com/2010/02/26/most-awesome-esx-script-known-to-mankind-ever/' rel='bookmark' title='Permanent Link: Most awesome ESX script known to mankind ever'>Most awesome ESX script known to mankind ever</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I’ve been using the new Storage VMotion functionality fairly heavily over the last couple of months.  I have encountered a couple of significant bugs whilst using it, which have resulted in corrupted VMDK files.  Here are my two tips when using Storage VMotion, to avoid the problems I have seen:</p>
<ul>
<li>Ensure that you have sufficient space in the source datastore as Storage VMotion uses snapshots to transfer the VMDKs over.  This is a particular problem with large frequently changing VMs, e.g. database servers.  Large disks mean that the whole transfer can take several hours, and frequently changing data means large snapshot files.  If sufficient space is not available, the datastore can fill up, preventing any more data being written to the disks and causing the Storage VMotion to fail.  I would recommend you have empty space equivalent to the size of the VM’s disk files before you start.  VMFS extents are an excellent solution to this short term problem.</li>
</ul>
<ul>
<li>The other problem I have encountered occurs when the VM has its VMDK disk files spread across more than one datastore.  The operation begins successfully, but during the transfer the host gets confused and the process fails.  The disks have snapshots applied, but are corrupt.  Unfortunately, the only way to avoid this situation is to cold migrate all the VM’s files onto one datastore first.</li>
</ul>
<p>Great care has to be taken to recover disks after a Storage VMotion failure, to avoid total data loss.</p>
<p>=====
<a href="http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/">Problems with Storage VMotion</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/' rel='bookmark' title='Permanent Link: Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)'>Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</a></li>
<li><a href='http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/' rel='bookmark' title='Permanent Link: Corrupted vmdk and vmsd files'>Corrupted vmdk and vmsd files</a></li>
<li><a href='http://www.vReference.com/2010/02/26/most-awesome-esx-script-known-to-mankind-ever/' rel='bookmark' title='Permanent Link: Most awesome ESX script known to mankind ever'>Most awesome ESX script known to mankind ever</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
