<?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: Unable to delete snapmirror policy in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-delete-snapmirror-policy/m-p/136297#M30014</link>
    <description>&lt;P&gt;I believe this is a bug with cleaning up an old SVM DR relationship. I don't know if NetApp has a fix in a newer version or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While probably not officially supported by NetApp, I've found a workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster::&amp;gt; set d&lt;/P&gt;&lt;P&gt;Warning: These diagnostic commands are for use by NetApp personnel only.&lt;BR /&gt;Do you want to continue? {y|n}: y&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find the UUID of the vserver where the rogue snapmirror policy lives:&lt;/P&gt;&lt;P&gt;cluster::*&amp;gt; debug smdb table vserver_by_uuid show -vserver&amp;nbsp;vserver1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will spit out a bunch of stuff but you are only interested in the first field, the UUID. It will look something like:&amp;nbsp;63cd8266-f743-11e3-813a-123478563412&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Delete the rogue entry out of the underlying table. &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Be very careful about this because if you delete the wrong thing it can cause all kinds of problems.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;cluster::*&amp;gt;&amp;nbsp;debug smdb table snapmirror_policy delete -vserverUuid &lt;SPAN&gt;63cd8266-f743-11e3-813a-123478563412 -policy VserverDR&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Once this is gone you should be able to go ahead and delete your old vserver.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2017 16:38:10 GMT</pubDate>
    <dc:creator>TABER_BRANDEN</dc:creator>
    <dc:date>2017-11-27T16:38:10Z</dc:date>
    <item>
      <title>Unable to delete snapmirror policy</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-delete-snapmirror-policy/m-p/129927#M28287</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;- I'm trying to get rid of an old SVM. There are no volumes or mirrors associated with it anymore that I can see.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;- When I try to delete it I get the error that there is still a snapmirror policy associated with it.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;- I then try to delete that policy and it comes back with: &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#0000FF"&gt;"Error: command failed: Failed to delete policy "VserverDR". Reason: Policy is associated with a SnapMirror relationship."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#000000"&gt;- Yet no mirrors seem to be using it. I don't get it. Any help is much appreciated.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT size="3" color="#000000"&gt;cluster::*&amp;gt; snapmirror show -policy VserverDR -vserver&amp;nbsp;vserver1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3" color="#000000"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:13:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-delete-snapmirror-policy/m-p/129927#M28287</guid>
      <dc:creator>TABER_BRANDEN</dc:creator>
      <dc:date>2025-06-04T15:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to delete snapmirror policy</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-delete-snapmirror-policy/m-p/129974#M28300</link>
      <description>&lt;P&gt;seems like an interesting one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you please run this command and pose the output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;::&amp;gt; snapmirror show -vserver vserver1 -fields policy&lt;BR /&gt;&lt;BR /&gt;::&amp;gt; snapmirror policy show -vserver vserver1&lt;BR /&gt;&lt;BR /&gt;::&amp;gt; snapmirror policy show -vserver vserver1 -instance&lt;BR /&gt;&lt;BR /&gt;::&amp;gt; snapmirror policy show -policy VserverDR -instance&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 05:18:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-delete-snapmirror-policy/m-p/129974#M28300</guid>
      <dc:creator>robinpeter</dc:creator>
      <dc:date>2017-04-11T05:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to delete snapmirror policy</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-delete-snapmirror-policy/m-p/136234#M29996</link>
      <description>&lt;P&gt;Was there a solution to this problem. We have exactly the same problem.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 12:23:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-delete-snapmirror-policy/m-p/136234#M29996</guid>
      <dc:creator>mattedw001</dc:creator>
      <dc:date>2017-11-24T12:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to delete snapmirror policy</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-delete-snapmirror-policy/m-p/136297#M30014</link>
      <description>&lt;P&gt;I believe this is a bug with cleaning up an old SVM DR relationship. I don't know if NetApp has a fix in a newer version or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While probably not officially supported by NetApp, I've found a workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster::&amp;gt; set d&lt;/P&gt;&lt;P&gt;Warning: These diagnostic commands are for use by NetApp personnel only.&lt;BR /&gt;Do you want to continue? {y|n}: y&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find the UUID of the vserver where the rogue snapmirror policy lives:&lt;/P&gt;&lt;P&gt;cluster::*&amp;gt; debug smdb table vserver_by_uuid show -vserver&amp;nbsp;vserver1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will spit out a bunch of stuff but you are only interested in the first field, the UUID. It will look something like:&amp;nbsp;63cd8266-f743-11e3-813a-123478563412&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Delete the rogue entry out of the underlying table. &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Be very careful about this because if you delete the wrong thing it can cause all kinds of problems.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;cluster::*&amp;gt;&amp;nbsp;debug smdb table snapmirror_policy delete -vserverUuid &lt;SPAN&gt;63cd8266-f743-11e3-813a-123478563412 -policy VserverDR&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Once this is gone you should be able to go ahead and delete your old vserver.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 16:38:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-delete-snapmirror-policy/m-p/136297#M30014</guid>
      <dc:creator>TABER_BRANDEN</dc:creator>
      <dc:date>2017-11-27T16:38:10Z</dc:date>
    </item>
  </channel>
</rss>

