<?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>Yellow Bricks &#187; storage vmotion</title>
	<atom:link href="http://www.yellow-bricks.com/tag/storage-vmotion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yellow-bricks.com</link>
	<description>Building blocks for virtualization...</description>
	<lastBuildDate>Fri, 10 Feb 2012 11:12:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>vSphere 5.0: Storage vMotion and the Mirror Driver</title>
		<link>http://www.yellow-bricks.com/2011/07/14/vsphere-5-0-storage-vmotion-and-the-mirror-driver/</link>
		<comments>http://www.yellow-bricks.com/2011/07/14/vsphere-5-0-storage-vmotion-and-the-mirror-driver/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 12:00:50 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[5.0]]></category>
		<category><![CDATA[storage vmotion]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=8115</guid>
		<description><![CDATA[<p>**disclaimer: this article is an out-take of our book: vSphere 5 Clustering Technical Deepdive** There&#8217;s a cool and exciting new feature as part of Storage vMotion in vSphere 5.0. This new feature is called Mirror Mode and it enables faster and highly efficient Storage vMotion processes. But what is it exactly, and what does it replace? Prior to vSphere 5.0 [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/07/14/vsphere-5-0-storage-vmotion-and-the-mirror-driver/">vSphere 5.0: Storage vMotion and the Mirror Driver</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p><em>**disclaimer: this article is an out-take of our book: <a href="http://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&amp;camp=0&amp;creative=0&amp;linkCode=as1&amp;creativeASIN=B005C1SARM&amp;adid=16Q69JRGDTX1DHPRKTQM">vSphere 5 Clustering Technical Deepdive</a>**</em></p>
<p>There&#8217;s a cool and exciting new feature as part of Storage vMotion in vSphere 5.0. This new feature is called Mirror Mode and it enables faster and highly efficient Storage vMotion processes. But what is it exactly, and what does it replace?</p>
<p>Prior to vSphere 5.0 we used a mechanism called Change Block Tracking (CBT), to ensure that blocks which were already copied to the destination were marked as changed and copied during the iteration. Although CBT was efficient compared to legacy mechanisms (snapshots), the Storage vMotion engineers came up with an even more elegant and efficient solution which is called Mirror Mode. Mirror Mode does exactly what you would expect it to do; it mirrors the I/O. In other words, when a virtual machine that is being Storage vMotioned writes to disk, the write will be committed to both the source and the destination disk. The write will only be acknowledged to the virtual machine when both the source and the destination have acknowledged the write. Because of this, it is unnecessary to do re-iterative copies and the Storage vMotion process will complete faster than ever before.</p>
<p>The questions remain: How does this work? Where does Mirror Mode reside? Is this something that happens inside or outside of the guest? A diagram will make this more obvious.</p>
<p><img class="colorbox-8115"  src="http://farm7.static.flickr.com/6010/5880037471_bff4a52414.jpg" alt="" /></p>
<p>By leveraging DISKLIB, the Mirror Driver can be enabled for the virtual machine that needs to be Storage vMotioned. Before this driver can be enabled, the virtual machine will need to be stunned and of course unstunned after it has been enabled. The new driver leverages the datamover to do a single-pass block copy of the source disk to the destination disk. Additionally, the Mirror Driver will mirror writes between the two disks. Not only has efficiency increased but also migration time predictability, making it easier to plan migrations. I&#8217;ve seen data where the &#8220;down time&#8221; associated with the final copy pass was virtually eliminated (from 13seconds down to 0.22 seconds) in the case of rapid changing disks, but also the migrations time went from 2900 seconds back to 1900 seconds. Check this great <a href="http://www.usenix.org/events/atc11/tech/final_files/Mashtizadeh.pdf">paper</a> by Ali Mashtizadeh for more details.</p>
<p>The Storage vMotion process is fairly straight forward and not as complex as one might expect.</p>
<ol>
<li>The virtual machine working directory is copied by VPXA to the destination datastore.</li>
<li>A “shadow” virtual machine is started on the destination datastore using the copied files. The “shadow” virtual machine idles, waiting for the copying of the virtual machine disk file(s) to complete.</li>
<li>Storage vMotion enables the Storage vMotion Mirror driver to mirror writes of already copied blocks to the destination.</li>
<li>In a single pass, a copy of the virtual machine disk file(s) is completed to the target datastore while mirroring I/O.</li>
<li>Storage vMotion invokes a Fast Suspend and Resume of the virtual machine (similar to vMotion) to transfer the running virtual machine over to the idling shadow virtual machine.</li>
<li>After the Fast Suspend and Resume completes, the old home directory and VM disk files are deleted from the source datastore.
<ol>
<li>It should be noted that the shadow virtual machine is only created in the case that the virtual machine home directory is moved. If and when it is a “disks-only Storage vMotion, the virtual machine will simply be stunned and unstunned.</li>
</ol>
</li>
</ol>
<p>Of course I tested it as I wanted to make sure mirror mode was actually enabled when doing a Storage vMotion. I opened up the VMs log files and this is what I dug up:</p>
<p><code>2011-06-03T07:10:13.934Z| vcpu-0| DISKLIB-LIB   : Opening mirror node /vmfs/devices/svm/ad746a-1100be4-svmmirror<br />
2011-06-03T07:10:47.986Z| vcpu-0| HBACommon: First write on scsi0:0.fileName='/vmfs/volumes/4d884a16-0382fb1e-c6c0-0025b500020d/VM_01/VM_01.vmdk'<br />
2011-06-03T07:10:47.986Z| vcpu-0| DISKLIB-DDB   : "longContentID" = "68f263d7f6fddfebc2a13fb60560e8e7" (was "dcbd5c17ac7e86a46681af33ef8049e5")<br />
2011-06-03T07:10:48.060Z| vcpu-0| DISKLIB-CHAIN : DiskChainUpdateContentID: old=0xef8049e5, new=0x560e8e7 (68f263d7f6fddfebc2a13fb60560e8e7)<br />
2011-06-03T07:11:29.773Z| Worker#0| Disk copy done for scsi1:0.<br />
2011-06-03T07:15:16.218Z| Worker#0| Disk copy done for scsi0:0.<br />
2011-06-03T07:15:16.218Z| Worker#0| SVMotionMirroredMode: Disk copy phase completed</code></p>
<p>Is that cool or what? One can only imagine what kind of new features can be introduced in the future using this new mirror mode driver. (FT enabled VMs across multiple physical datacenters and storage arrays anyone? Just guessing by the way&#8230;)</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/07/14/vsphere-5-0-storage-vmotion-and-the-mirror-driver/">vSphere 5.0: Storage vMotion and the Mirror Driver</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2011/07/14/vsphere-5-0-storage-vmotion-and-the-mirror-driver/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Storage vMotion performance difference?</title>
		<link>http://www.yellow-bricks.com/2011/02/24/storage-vmotion-performance-difference/</link>
		<comments>http://www.yellow-bricks.com/2011/02/24/storage-vmotion-performance-difference/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 17:04:20 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Various]]></category>
		<category><![CDATA[4.1]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[storage vmotion]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=7823</guid>
		<description><![CDATA[<p>Last week I wrote about the different datamovers being used when a Storage vMotion is initiated and the destination VMFS volume has a different blocksize as the source VMFS volume. Not only will it make a difference in terms of reclaiming zero space, but as mentioned it also makes a different in performance. The question that always arises is how [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/02/24/storage-vmotion-performance-difference/">Storage vMotion performance difference?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>Last week I wrote about the <a href="http://www.yellow-bricks.com/2011/02/18/blocksize-impact/">different datamovers</a> being used when a Storage vMotion is initiated and the destination VMFS volume has a different blocksize as the source VMFS volume. Not only will it make a difference in terms of reclaiming zero space, but as mentioned it also makes a different in performance. The question that always arises is how much difference does it make? Well this week there was a <a href="http://communities.vmware.com/thread/303812?tstart=0">question</a> on the VMTN community regarding a SvMotion from FC to FATA and the slow performance. Of course within a second FATA was blamed, but that wasn&#8217;t actually the cause of this problem. The FATA disks were formatted with a different blocksize and that cause the legacy datamover to be used. I asked Paul, who started the thread, if he could check what the difference would be when equal blocksizes were used. Today Paul did his tests and he blogged about it <a href="http://communities.vmware.com/people/Paule83/blog/2011/02/24/blocksize-matters">here</a> and but I copied the table which contains the details that shows you what performance improvement the fs3dm (please note, that VAAI is not used&#8230; this is purely a different datamover) brought:</p>
<blockquote>
<h3><strong> </strong></h3>
<table id="hor-zebra">
<tbody>
<tr class="odd">
<th align="center" valign="middle"><strong>From</strong></th>
<th align="center" valign="middle"><strong>To</strong></th>
<th align="center" valign="middle"><strong>Duration in minutes</strong></th>
</tr>
<tr>
<td>FC datastore 1MB blocksize</td>
<td>FATA datastore 4MB blocksize</td>
<td>08:01</td>
</tr>
<tr class="odd">
<td>FATA datastore 4MB blocksize</td>
<td>FC datastore 1MB blocksize</td>
<td>12:49</td>
</tr>
<tr>
<td><strong>FC datastore 4MB blocksize</strong></td>
<td><strong>FATA datastore 4MB blocksize</strong></td>
<td><strong>02:36</strong></td>
</tr>
<tr class="odd">
<td><strong>FATA datastore 4MB blocksize</strong></td>
<td><strong>FC datastore 4MB blocksize</strong></td>
<td><strong>02:24</strong></td>
</tr>
</tbody>
</table>
</blockquote>
<p>As I explained in my <a href="http://www.yellow-bricks.com/2011/02/18/blocksize-impact/">article</a> about the datamover, the difference is caused by the fact that the data doesn&#8217;t travel all the way up the stack&#8230; and yes the difference is huge!</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/02/24/storage-vmotion-performance-difference/">Storage vMotion performance difference?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2011/02/24/storage-vmotion-performance-difference/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Storage IO Control and Storage vMotion?</title>
		<link>http://www.yellow-bricks.com/2011/01/14/storage-io-control-and-storage-vmotion/</link>
		<comments>http://www.yellow-bricks.com/2011/01/14/storage-io-control-and-storage-vmotion/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 15:04:22 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[4.1]]></category>
		<category><![CDATA[sioc]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[storage vmotion]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[vstorage]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=7618</guid>
		<description><![CDATA[<p>I received a very good question this week to which I did not have the answer, I had a feeling but that is not enough. The question was if Storage vMotion would be &#8220;throttled&#8221; by Storage IO Control. As I happened to have a couple of meetings scheduled this week with the actual engineers I asked the question and this [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/01/14/storage-io-control-and-storage-vmotion/">Storage IO Control and Storage vMotion?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>I received a very good question this week to which I did not have the answer, I had a feeling but that is not enough. The question was if Storage vMotion would be &#8220;throttled&#8221; by Storage IO Control. As I happened to have a couple of meetings scheduled this week with the actual engineers I asked the question and this was their answer:</p>
<blockquote><p>Storage IO Control can throttle Storage vMotion when the latency threshold is exceeded. The reason for this being is that Storage vMotion is &#8220;billed&#8221; to the virtual machine.</p></blockquote>
<p>This basically means that if you initiate a Storage vMotion the &#8220;process&#8221; belongs to the VM and as such if the host is throttled the Storage vMotion process might be throttled as well by the local scheduler(SFQ) depending on the amount of shares that were originally allocated to this virtual machine. Definitely something to keep in mind when doing a Storage vMotion of a large virtual machine as it could potentially lead to an increase of the amount of time it takes for the Storage vMotion to complete. Don&#8217;t get me wrong, that is not necessarily a negative thing cause at the same time it will prevent that particular Storage vMotion to consume all available bandwidth.</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/01/14/storage-io-control-and-storage-vmotion/">Storage IO Control and Storage vMotion?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2011/01/14/storage-io-control-and-storage-vmotion/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Storage Masking?</title>
		<link>http://www.yellow-bricks.com/2010/02/05/storage-masking/</link>
		<comments>http://www.yellow-bricks.com/2010/02/05/storage-masking/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 14:04:46 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[PASS Syndication]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[storage vmotion]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=5258</guid>
		<description><![CDATA[<p>I received a bunch of questions around storage masking over the last couple of weeks. One of them was around VMware&#8217;s best practice to mask LUNs on a per cluster basis. The best practice has been around for years and basically is there to reduce conflicts. More hosts accessing the same LUNs means more overhead, just to give you an [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2010/02/05/storage-masking/">Storage Masking?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>I received a bunch of questions around storage masking over the last couple of weeks. One of them was around VMware&#8217;s best practice to mask LUNs on a per cluster basis. The best practice has been around for years and basically is there to reduce conflicts. More hosts accessing the same LUNs means more overhead, just to give you an example every 5 minutes a rescan of both HBAs takes place automatically to check for dead storage paths. You can imagine that there&#8217;s a difference between 32+ hosts accessing your storage or limiting it to for instance 16 hosts.</p>
<p>The obvious next question is, won&#8217;t I lose a lot of flexibility? Well in a way you do as a simple VMotion to another cluster will not work anymore. But of course there&#8217;s always a way to move a host to a different cluster. In my design I usually propose a so called &#8220;Transfer Volume&#8221;. This Volume(NFS or VMFS) can be used to transfer VMs to a different cluster. Yes there&#8217;s a slight operational overhead here, but is also reduces overhead in terms of traffic to a LUN and decreases the chance of scsi reservation conflicts etc.</p>
<p>Here&#8217;s the process:</p>
<ol>
<li>Storage VMotion the VM from LUN on Array 1 to Transfer LUN</li>
<li>VMotion VM from Cluster A to Cluster B</li>
<li>Storage VMotion the VM from Transfer LUN to LUN on Array 2</li>
</ol>
<p>Of course these don&#8217;t necessarily need to be two separate arrays, it could just as easily be a single array with a group of LUNs masked to a particular cluster. For the people who have a hard time visualizing it:<br />
<img class="colorbox-5258"  src="http://farm3.static.flickr.com/2750/4331842757_b3d32305cb.jpg"></p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2010/02/05/storage-masking/">Storage Masking?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2010/02/05/storage-masking/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>SVMotion and disk space</title>
		<link>http://www.yellow-bricks.com/2008/11/19/svmotion-and-diskspace/</link>
		<comments>http://www.yellow-bricks.com/2008/11/19/svmotion-and-diskspace/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 14:31:52 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[rcli]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[storage vmotion]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=940</guid>
		<description><![CDATA[<p>I received this question a couple of times and there&#8217;s no real definitive answer written anywhere&#8230; &#8220;Does storage vmotion require additional disk space on the source volume?&#8221; The answer is: Yes it does. Storage VMotion uses the snapshot technology to release the lock on the source disk. This snapshot is placed on the source volume. So in other words, all [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/11/19/svmotion-and-diskspace/">SVMotion and disk space</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>I received this question a couple of times and there&#8217;s no real definitive answer written anywhere&#8230;</p>
<p style="padding-left: 30px;">&#8220;Does storage vmotion require additional disk space on the <span style="text-decoration: underline;">source</span> volume?&#8221;</p>
<p>The answer is: Yes it does. Storage VMotion uses the snapshot technology to release the lock on the source disk. This snapshot is placed on the source volume. So in other words, all changes that take place during a Storage VMotion are written to the delta file. This delta file, can and will grow fast.</p>
<p>So keep this in mind if you need to storage vmotion a VM because the VMFS volume is running out of diskspace&#8230; it might run out of diskspace sooner than you think.</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/11/19/svmotion-and-diskspace/">SVMotion and disk space</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2008/11/19/svmotion-and-diskspace/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Storage VMotion Fails With Error Message &#8220;Failed to unstun VM after disk reparent&#8221;</title>
		<link>http://www.yellow-bricks.com/2008/02/13/storage-vmotion-fails-with-error-message-failed-to-unstun-vm-after-disk-reparent/</link>
		<comments>http://www.yellow-bricks.com/2008/02/13/storage-vmotion-fails-with-error-message-failed-to-unstun-vm-after-disk-reparent/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 13:35:11 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[rcli]]></category>
		<category><![CDATA[storage vmotion]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/2008/02/13/storage-vmotion-fails-with-error-message-failed-to-unstun-vm-after-disk-reparent/</guid>
		<description><![CDATA[<p>VMware justed added a new KB article about problems with Storage VMotion script: Storage VMotion can fail for a virtual machine with the error message: Failed to unstun VM after disk reparent. The virtual machine is partially migrated and powered off. Generally, the virtual machine cannot be powered on again. This issue affects: Virtual machines converted in-place (not deployed or [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/02/13/storage-vmotion-fails-with-error-message-failed-to-unstun-vm-after-disk-reparent/">Storage VMotion Fails With Error Message &#8220;Failed to unstun VM after disk reparent&#8221;</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>VMware justed added a new KB article about problems with Storage VMotion script:</p>
<blockquote><p>Storage VMotion can fail for a virtual machine with the error message:</p>
<p><font face="Courier New" size="2">Failed to unstun VM after disk reparent. </font></p>
<p>The virtual machine is partially migrated and powered off. Generally, the virtual machine cannot be powered on again.</p>
<p>This issue affects:</p>
<ul>
<li>Virtual machines converted in-place (not deployed or cloned) from template virtual machines with compact disks.</li>
<li>Virtual machines cloned from a virtual machine of the above type (as well as virtual machines cloned from those virtual machines, and so on).</li>
<li>Virtual machines with disks created with the following command: <font face="Courier New" size="2">vmkfstools -i &lt;source&gt; -d &lt;destination&gt;. </font>ESX Server 3.5 does not support thin-provisioned (or sparse) disks.</li>
<li>Virtual machines created through the SDK with at least one disk created using the <font face="Courier New" size="2">RelocateSpec.transform </font>parameter set to <font face="Courier New" size="2">sparse</font>. Again, ESX Server 3.5 does not support thin-provisioned disks.</li>
</ul>
<p>This issue affects the above types of virtual machines because when a disk that is thin-provisioned, or is flat but was cloned from a virtual machine that thin-provisioned disks, is copied to the target datastore as part of Storage VMotion, the disk&#8217;s content ID (CID) value is not preserved (although the content of the disk is correctly copied). When the virtual machine attempts to open the disk, it notices the CID is different from what it expects and fails to resume because it believes the disk is corrupted. In reality, the disk is not corrupted, only the CID is incorrect. So not only does the virtual machine end up powered off, but it cannot be powered back on because the CID is still incorrect.</p></blockquote>
<p>To identify and solve the problem download the scripts attached to the <a href="http://kb.vmware.com/selfservice/dynamickc.do?externalId=1003874&amp;sliceId=1&amp;command=show&amp;forward=nonthreadedKC&amp;kcId=1003874" target="_blank">article</a>!</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/02/13/storage-vmotion-fails-with-error-message-failed-to-unstun-vm-after-disk-reparent/">Storage VMotion Fails With Error Message &#8220;Failed to unstun VM after disk reparent&#8221;</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2008/02/13/storage-vmotion-fails-with-error-message-failed-to-unstun-vm-after-disk-reparent/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using vmpmotion.pl on Windows RCLI</title>
		<link>http://www.yellow-bricks.com/2008/01/11/using-vmpmotionpl-on-windows-rcli/</link>
		<comments>http://www.yellow-bricks.com/2008/01/11/using-vmpmotionpl-on-windows-rcli/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 12:54:57 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Management & Automation]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[rcli]]></category>
		<category><![CDATA[storage vmotion]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/2008/01/11/using-vmpmotionpl-on-windows-rcli/</guid>
		<description><![CDATA[<p>When using vmpmotion.pl on Windows with the RCLI installed you will need to set some extra environment variables before the script will work. First besure that the Perl filetype is correctly setup. There should be a .pl entry: Open Windows Explorer, Tools, Folder Options, File Types Next option is to change the environment variable and add the .pl to the [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/01/11/using-vmpmotionpl-on-windows-rcli/">Using vmpmotion.pl on Windows RCLI</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>When using <a href="http://www.vmprofessional.com/index.php?content=vmpmotion" target="_blank">vmpmotion.pl</a> on Windows with the RCLI installed you will need to set some extra environment variables before the script will work. First besure that the Perl filetype is correctly setup. <span id="more-42"></span>There should be a .pl entry:<br />
Open Windows Explorer, Tools, Folder Options, File Types<br />
<highslide image="http://farm3.static.flickr.com/2203/2184623171_447fc2050d_o.jpg" thumbnail="http://farm3.static.flickr.com/2203/2184623171_a0f68212ec_m.jpg" captiontext="Filetype for Perl scripts"><br />
Next option is to change the environment variable and add the .pl to the pathext variable:<br />
Properties of My Computer, Advanced, Environment Variables, System variables <highslide image="http://farm3.static.flickr.com/2235/2184623203_4fc0978045_o.jpg" thumbnail="http://farm3.static.flickr.com/2235/2184623203_7bb081e316_m.jpg" captiontext="Pathext for vmpmotion.pl and Perl in general"></highslide></highslide></p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2008/01/11/using-vmpmotionpl-on-windows-rcli/">Using vmpmotion.pl on Windows RCLI</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2008/01/11/using-vmpmotionpl-on-windows-rcli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

