<?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: In powershell what is a good way to test to see if a clone split is complete? in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-powershell-what-is-a-good-way-to-test-to-see-if-a-clone-split-is-complete/m-p/166052#M3131</link>
    <description>&lt;P&gt;Excellent I ran the code with this and it worked great and cleaner option.&amp;nbsp; Thanks for the solution.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Apr 2021 14:39:56 GMT</pubDate>
    <dc:creator>aleeyee</dc:creator>
    <dc:date>2021-04-17T14:39:56Z</dc:date>
    <item>
      <title>In powershell what is a good way to test to see if a clone split is complete?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-powershell-what-is-a-good-way-to-test-to-see-if-a-clone-split-is-complete/m-p/165652#M3129</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; &amp;nbsp;I have been trying to find a way to test if a clone split is complete.&amp;nbsp; I know Get-NcCloneSplitStatus gives me information but throws an error after the clone is complete.&amp;nbsp; &amp;nbsp;I looked at the volume fields on the cli and there is field called clone-volume, but could not find the corresponding PS attribute.&amp;nbsp; &amp;nbsp;I ended up doing something like below but wanted to know if there is a better way code wise to test to see if the clone split was done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$snap_busy = (Get-NcVol -Vserver $svm -name $org_vol | Get-NcSnapshot -SnapName $org_snap).Dependency&lt;BR /&gt;while($snap_busy)&lt;BR /&gt;{&lt;BR /&gt;Write-Host "Wakeup in 30 seconds...."&lt;BR /&gt;Start-Sleep 30&lt;BR /&gt;$snap_busy = (Get-NcVol -Vserver $svm -name $org_vol | Get-NcSnapshot -SnapName $org_snap).Dependency&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:28:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-powershell-what-is-a-good-way-to-test-to-see-if-a-clone-split-is-complete/m-p/165652#M3129</guid>
      <dc:creator>aleeyee</dc:creator>
      <dc:date>2025-06-04T10:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: In powershell what is a good way to test to see if a clone split is complete?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-powershell-what-is-a-good-way-to-test-to-see-if-a-clone-split-is-complete/m-p/165685#M3130</link>
      <description>&lt;P&gt;Same logic as your code, but once the split operation has been completed, the volume will no longer show up in the output of the "Get-NcVolClone" command (since it is no longer a clone). In your code, you could test for its absence from the output of that command and then branch from there based on that data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$SplitStatus = Get-NcVolClone -Volume volume01
while ($SplitStatus){
Write-Host "Split in progress..."
Start-Sleep 30
$SplitStatus = Get-NcVolClone -Volume volume01
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 13:26:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-powershell-what-is-a-good-way-to-test-to-see-if-a-clone-split-is-complete/m-p/165685#M3130</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2021-04-06T13:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: In powershell what is a good way to test to see if a clone split is complete?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-powershell-what-is-a-good-way-to-test-to-see-if-a-clone-split-is-complete/m-p/166052#M3131</link>
      <description>&lt;P&gt;Excellent I ran the code with this and it worked great and cleaner option.&amp;nbsp; Thanks for the solution.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2021 14:39:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/In-powershell-what-is-a-good-way-to-test-to-see-if-a-clone-split-is-complete/m-p/166052#M3131</guid>
      <dc:creator>aleeyee</dc:creator>
      <dc:date>2021-04-17T14:39:56Z</dc:date>
    </item>
  </channel>
</rss>

