<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: File cloning - why is first file clone a copy (but subsequent clones are not)? in VMware Solutions Discussions</title>
    <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/File-cloning-why-is-first-file-clone-a-copy-but-subsequent-clones-are-not/m-p/73007#M6967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;pmason wrote:&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Why is copying taking place when the clone is within the same volume as the source VMDK? The only reason I can think of is that blocks in the VMDK representing free space are exceeding the 255 reference limit and new copies are being made – but that doesn’t explain why the initial clone of a VMDK should take so long and subsequent clones are quick. Any ideas or observations? Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;You are spot on.&amp;nbsp; If dedup is enabled, the blocks in the source file are likely share across multiple files in the volume.&amp;nbsp; The reason subsequent clones are happening so quick is because you aren't hitting any blocks that require duplication.&amp;nbsp; As you clone more times, you may find that you end up duplicating other blocks.&amp;nbsp; Since this leads to indeterministic behavior, the Rapid Cloning Utility uses a controller based copy when it finds blocks at the reference limit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers and partners (as well as employees) can take advantage of this functionality by using the API in &lt;A href="http://now.netapp.com/NOW/download/software/rapid_cloning/3.0/" target="_blank"&gt;RCU 3.0&lt;/A&gt;.&amp;nbsp; The API is documented in the appendix of the &lt;A href="http://now.netapp.com/knowledge/docs/rapid_cloning_utility/relrapidclone30/pdfs/install.pdf" target="_blank"&gt;Rapid Cloning Utility 3.0 Installation and Administration Guide&lt;/A&gt;.&amp;nbsp; Also, please see &lt;A href="http://www.netapp.com/us/library/technical-reports/tr-3742.html" target="_blank"&gt;TR-3742&lt;/A&gt; for more information.&amp;nbsp; I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2010 23:22:49 GMT</pubDate>
    <dc:creator>forgette</dc:creator>
    <dc:date>2010-02-23T23:22:49Z</dc:date>
    <item>
      <title>File cloning - why is first file clone a copy (but subsequent clones are not)?</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/File-cloning-why-is-first-file-clone-a-copy-but-subsequent-clones-are-not/m-p/73002#M6966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;If I run a manual clone in the same volume where there are a dozen or less .VMDk’s&amp;nbsp; the copy takes several minutes and says it's copying blocks – maybe I’m missing something, but it does seem to be a copy rather than a clone, see output below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;Create an initial clone:&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;clone start /vol/vol030102/200907071418020625410/wwdelme_test.vmdk /vol/vol030102/200907071418020625410/wwdelme2_test.vmdk -l &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;Volume capacity after clone – so it copies the blocks, but you can see dedupe savings also go up so it’s a fully deduped copy:&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;ldnengna03n01&amp;gt; df -s -g /vol/vol030102&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Filesystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; used&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; saved&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %saved&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;/vol/vol030102/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 632GB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 401GB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 39%&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;This is what the clone status shows when the clone is running:&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;ID: 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Source: /vol/vol030102/200907071418020625410/200907071418020625410_0-flat.vmdk&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Destination: /vol/vol030102/200907071418020625410/wwdelme_test.vmdk&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Block ranges:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;State: running (71% done)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Total blocks: 5242880&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Blocks copied: 1240849&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Type: file&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Why is copying taking place when the clone is within the same volume as the source VMDK? The only reason I can think of is that blocks in the VMDK representing free space are exceeding the 255 reference limit and new copies are being made – but that doesn’t explain why the initial clone of a VMDK should take so long and subsequent clones are quick. Any ideas or observations? Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:18:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/File-cloning-why-is-first-file-clone-a-copy-but-subsequent-clones-are-not/m-p/73002#M6966</guid>
      <dc:creator>pmason</dc:creator>
      <dc:date>2025-06-05T07:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: File cloning - why is first file clone a copy (but subsequent clones are not)?</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/File-cloning-why-is-first-file-clone-a-copy-but-subsequent-clones-are-not/m-p/73007#M6967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;pmason wrote:&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Why is copying taking place when the clone is within the same volume as the source VMDK? The only reason I can think of is that blocks in the VMDK representing free space are exceeding the 255 reference limit and new copies are being made – but that doesn’t explain why the initial clone of a VMDK should take so long and subsequent clones are quick. Any ideas or observations? Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;You are spot on.&amp;nbsp; If dedup is enabled, the blocks in the source file are likely share across multiple files in the volume.&amp;nbsp; The reason subsequent clones are happening so quick is because you aren't hitting any blocks that require duplication.&amp;nbsp; As you clone more times, you may find that you end up duplicating other blocks.&amp;nbsp; Since this leads to indeterministic behavior, the Rapid Cloning Utility uses a controller based copy when it finds blocks at the reference limit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers and partners (as well as employees) can take advantage of this functionality by using the API in &lt;A href="http://now.netapp.com/NOW/download/software/rapid_cloning/3.0/" target="_blank"&gt;RCU 3.0&lt;/A&gt;.&amp;nbsp; The API is documented in the appendix of the &lt;A href="http://now.netapp.com/knowledge/docs/rapid_cloning_utility/relrapidclone30/pdfs/install.pdf" target="_blank"&gt;Rapid Cloning Utility 3.0 Installation and Administration Guide&lt;/A&gt;.&amp;nbsp; Also, please see &lt;A href="http://www.netapp.com/us/library/technical-reports/tr-3742.html" target="_blank"&gt;TR-3742&lt;/A&gt; for more information.&amp;nbsp; I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 23:22:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/File-cloning-why-is-first-file-clone-a-copy-but-subsequent-clones-are-not/m-p/73007#M6967</guid>
      <dc:creator>forgette</dc:creator>
      <dc:date>2010-02-23T23:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: File cloning - why is first file clone a copy (but subsequent clones are not)?</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/File-cloning-why-is-first-file-clone-a-copy-but-subsequent-clones-are-not/m-p/73015#M6968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 17:22:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/File-cloning-why-is-first-file-clone-a-copy-but-subsequent-clones-are-not/m-p/73015#M6968</guid>
      <dc:creator>pmason</dc:creator>
      <dc:date>2010-02-26T17:22:45Z</dc:date>
    </item>
  </channel>
</rss>

