<?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: It seems that &amp;quot;snapmirror-get-volume-status&amp;quot; is working wrong... in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68698#M16035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yegor,&lt;/P&gt;&lt;P&gt;Its seems the in order to the operation that you intend to when volumes in relationship are idle. The param &lt;A class="jive-link-anchor-small" name="snapmirror-get-volume-status" style="font-size: 10.909090995788574px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;" target="_blank"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;is-transfer-in-progress&lt;/STRONG&gt;&lt;/A&gt;is-tran will only report in the transfer status but there may be other opertions that may be keeping the volume busy for example Quiescing, Resyncing, etc. which &lt;A class="jive-link-anchor-small" name="snapmirror-get-volume-status" style="font-size: 10.909090995788574px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;" target="_blank"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;is-transfer-in-progress&lt;/STRONG&gt;&lt;/A&gt; will not report on since these are not directly data transfer related operations/status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like to suggest to use API "&lt;STRONG&gt;snapmirror-get-status&lt;/STRONG&gt;" which returns more verbose information about status than &lt;A class="jive-link-anchor-small" name="snapmirror-get-volume-status" style="font-size: 10.909090995788574px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;" target="_blank"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;is-transfer-in-progress&lt;/STRONG&gt;&lt;/A&gt; API. The "snapmirror-get-status" API returns a param "snapmirror-status&amp;gt;snapmirror-status&amp;gt;snapmirror-status-info[]&amp;gt;&lt;STRONG&gt;status&lt;/STRONG&gt; field that reports on all these status. Probably you need to check if this value is "Idle" and then move to next step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Amir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2012 08:33:10 GMT</pubDate>
    <dc:creator>amirm</dc:creator>
    <dc:date>2012-08-23T08:33:10Z</dc:date>
    <item>
      <title>It seems that "snapmirror-get-volume-status" is working wrong...</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68693#M16034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question about&lt;SPAN style="font-size: 8pt;"&gt; "&lt;/SPAN&gt;&lt;A class="jive-link-anchor-small" name="snapmirror-get-volume-status" target="_blank"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;snapmirror-get-volume-status" &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/A&gt; function. It seems that it's working wrong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets assume that we already have established snapmirror relationship between source and destination endpoints&lt;/P&gt;&lt;P&gt;I would like to implement next flow by using ONTAP API in Java:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Break a r&lt;SPAN style="font-size: 8pt;"&gt;elationship (snapmirror-break)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Resynchronize relationship backward (source becomes a destination and vise versa)&lt;/P&gt;&lt;P&gt;3. Get new destination volume status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1 If it is still busy waiting for timeout and repeat step 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.2 If it is idle go ahead&lt;/P&gt;&lt;P&gt;4. Update new destination from new source (snapmirror-update)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that resync takes some time and during this period Im waiting for snapmirror-get-volume-status output param which is called: &lt;SPAN style="font-size: 8pt;"&gt;&lt;A class="jive-link-anchor-small" name="snapmirror-get-volume-status" target="_blank"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;is-transfer-in-progress&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;=true. But I always get &lt;A class="jive-link-anchor-small" name="snapmirror-get-volume-status" target="_blank"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;is-transfer-in-progress&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/A&gt;=false. Nevertheless when I move on to the 4th step I get "Snapmirror error: transfer attempted for busy destination".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my question is how can I get to know when ether the destination(or source) is busy or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yegor...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:20:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68693#M16034</guid>
      <dc:creator>YEGOR_FADEEV</dc:creator>
      <dc:date>2025-06-05T06:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: It seems that "snapmirror-get-volume-status" is working wrong...</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68698#M16035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yegor,&lt;/P&gt;&lt;P&gt;Its seems the in order to the operation that you intend to when volumes in relationship are idle. The param &lt;A class="jive-link-anchor-small" name="snapmirror-get-volume-status" style="font-size: 10.909090995788574px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;" target="_blank"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;is-transfer-in-progress&lt;/STRONG&gt;&lt;/A&gt;is-tran will only report in the transfer status but there may be other opertions that may be keeping the volume busy for example Quiescing, Resyncing, etc. which &lt;A class="jive-link-anchor-small" name="snapmirror-get-volume-status" style="font-size: 10.909090995788574px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;" target="_blank"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;is-transfer-in-progress&lt;/STRONG&gt;&lt;/A&gt; will not report on since these are not directly data transfer related operations/status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like to suggest to use API "&lt;STRONG&gt;snapmirror-get-status&lt;/STRONG&gt;" which returns more verbose information about status than &lt;A class="jive-link-anchor-small" name="snapmirror-get-volume-status" style="font-size: 10.909090995788574px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;" target="_blank"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;is-transfer-in-progress&lt;/STRONG&gt;&lt;/A&gt; API. The "snapmirror-get-status" API returns a param "snapmirror-status&amp;gt;snapmirror-status&amp;gt;snapmirror-status-info[]&amp;gt;&lt;STRONG&gt;status&lt;/STRONG&gt; field that reports on all these status. Probably you need to check if this value is "Idle" and then move to next step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Amir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 08:33:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68698#M16035</guid>
      <dc:creator>amirm</dc:creator>
      <dc:date>2012-08-23T08:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: It seems that "snapmirror-get-volume-status" is working wrong...</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68706#M16036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello amirm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great! It works!&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 18:21:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68706#M16036</guid>
      <dc:creator>YEGOR_FADEEV</dc:creator>
      <dc:date>2012-08-23T18:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: It seems that "snapmirror-get-volume-status" is working wrong...</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68711#M16037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome Yegor! BTW could you please share more details on kind of use case/scenario you are trying to automate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Amir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 17:17:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68711#M16037</guid>
      <dc:creator>amirm</dc:creator>
      <dc:date>2012-08-24T17:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: It seems that "snapmirror-get-volume-status" is working wrong...</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68715#M16038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, amirm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as our use case you can look at &lt;A _jive_internal="true" href="https://community.netapp.com/message/89061" title="https://communities.netapp.com/message/89061" target="_blank"&gt;https://communities.netapp.com/message/89061&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;We are still in investigation phase.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yegor...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 23:11:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/It-seems-that-quot-snapmirror-get-volume-status-quot-is-working-wrong/m-p/68715#M16038</guid>
      <dc:creator>YEGOR_FADEEV</dc:creator>
      <dc:date>2012-08-24T23:11:09Z</dc:date>
    </item>
  </channel>
</rss>

