<?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: snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459235#M724</link>
    <description>&lt;P&gt;put a timer/wait interval to check&lt;/P&gt;&lt;P&gt;volume.efficiency.state == "idle"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;idle state would mean your efficiency op is&amp;nbsp; complete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 08 Mar 2025 04:30:16 GMT</pubDate>
    <dc:creator>AmitKerkar</dc:creator>
    <dc:date>2025-03-08T04:30:16Z</dc:date>
    <item>
      <title>snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459082#M719</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I'm posting this on behalf of customer for NetBackup&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;what we do in nutshell is&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1.we establish replication relationship between source and target volume&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;2.call&amp;nbsp;&lt;SPAN&gt;ontap.SnpamirrorTransfer() to enable replication ,we wait util we see transfer state is successful&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;3.call&amp;nbsp; ontap.snapshot() on target volume and save attributes of snapshot residing on target volume&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what we have observed is if&amp;nbsp; storage efficiency is enabled&amp;nbsp; for target volume&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- after replication is successful , storage efficiency runs and updates uuid of already existing snapshot on target volume&lt;/P&gt;&lt;P&gt;- Hence we have invalid uuid of snapshot as we have already picked up snapshot attributes mentioned at steps 3&lt;/P&gt;&lt;P&gt;- Due to this invalid uuid we fail to perform different operations like export/deport/delete operation for snapshot residing on target volume&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we retrieve valid attributes of snapshot if storage efficiency is enabled on target volume using python SDK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we already have case #2010285475 opened ,respective support has asked to post query in this forum and get solution for this&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 07:42:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459082#M719</guid>
      <dc:creator>Tushar_Karande</dc:creator>
      <dc:date>2025-03-04T07:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459180#M721</link>
      <description>&lt;P&gt;you are not allowing sufficient time to finish the replication. Storage efficiency operations take time to complete and get you new UUID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need to programmatically monitor the volume efficiency state&amp;nbsp; and the progress, say for 2 or&amp;nbsp; 5 or 10 minutes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;remember , your new valid UUIDs will be only present once the efficiency operation is complete. else you will always get stale IDs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 15:21:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459180#M721</guid>
      <dc:creator>AmitKerkar</dc:creator>
      <dc:date>2025-03-06T15:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459203#M723</link>
      <description>&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we track volume efficiency state using specific field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see below API&amp;nbsp; to fetch some volume&amp;nbsp; fields as below&lt;/P&gt;&lt;P&gt;curl -X GET "https://&amp;lt;mgmt-ip&amp;gt;/api/storage/volumes/&amp;lt;volume-uuid&amp;gt;?fields=efficiency.state,efficiency.compression.state,efficiency.deduplication.state" -H "Accept: application/json"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 11:21:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459203#M723</guid>
      <dc:creator>Tushar_Karande</dc:creator>
      <dc:date>2025-03-07T11:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459235#M724</link>
      <description>&lt;P&gt;put a timer/wait interval to check&lt;/P&gt;&lt;P&gt;volume.efficiency.state == "idle"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;idle state would mean your efficiency op is&amp;nbsp; complete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Mar 2025 04:30:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459235#M724</guid>
      <dc:creator>AmitKerkar</dc:creator>
      <dc:date>2025-03-08T04:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459318#M725</link>
      <description>&lt;P&gt;looks like this field is not available at API or I may be missing something here&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;curl -X GET "https://&amp;lt;mgmt_ip&amp;gt;/api/storage/volumes/&amp;lt;vol-uuid&amp;gt;?fields=volume.efficiency.state" -H "Accept: application/json" -k&amp;nbsp;&lt;BR /&gt;{&lt;BR /&gt;"error": {&lt;BR /&gt;"message": "The value \"volume.efficiency.state\" is invalid for field \"fields\" (&amp;lt;field,...&amp;gt;)",&lt;BR /&gt;"code": "262197",&lt;BR /&gt;"target": "fields"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 08:14:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459318#M725</guid>
      <dc:creator>Tushar_Karande</dc:creator>
      <dc:date>2025-03-11T08:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459321#M726</link>
      <description>&lt;P&gt;should we check&lt;BR /&gt;&lt;BR /&gt;if efficiency is enabled on target volume&lt;BR /&gt;curl -X GET "https://&amp;lt;mgmt_ip&amp;gt;/api/storage/volumes/&amp;lt;vol_uuid&amp;gt;?fields=efficiency.state" -k&lt;BR /&gt;&lt;BR /&gt;confirm that efficiency op_state is idle&lt;BR /&gt;curl -X GET "https://&amp;lt;mgmt_ip&amp;gt;/api/storage/volumes/&amp;lt;vol_uuid&amp;gt;?fields=efficiency.op_state" -k&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 12:34:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459321#M726</guid>
      <dc:creator>Tushar_Karande</dc:creator>
      <dc:date>2025-03-11T12:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459348#M727</link>
      <description>&lt;P&gt;can you try /api/storage/volumes/{uuid}/efficiency&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any possibility of you using "name" instead of "UUID". We know that name persists unlike the snapshot UUID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 03:54:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459348#M727</guid>
      <dc:creator>AmitKerkar</dc:creator>
      <dc:date>2025-03-12T03:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459355#M728</link>
      <description>&lt;P&gt;As name suggests UUID has to be unique and hence persistant (can not be changed) and thats a very reason of its existence.. I have yet to encounter use case where UUID of any entity is non persistent (can be changed) . If my understanding is correct ,Ideally replication should have taken care of this for Snapshot UUIDs if storage efficiency is enabled on target volume&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As you mentioned ,efficiency field&amp;nbsp; returns below enclosure&lt;BR /&gt;&lt;BR /&gt;% curl -X GET "https://&amp;lt;mgmt-ip&amp;gt;/api/storage/volumes/&amp;lt;vol_uuid&amp;gt;?fields=efficiency" -k --user user:pass -H "Accept: application/json"&lt;BR /&gt;{&lt;BR /&gt;"uuid": "&amp;lt;vol_uuid&amp;gt;",&lt;BR /&gt;"name": "&amp;lt;dest&amp;gt;",&lt;BR /&gt;"efficiency": {&lt;BR /&gt;"compression": "none",&lt;BR /&gt;"dedupe": "background",&lt;BR /&gt;"cross_volume_dedupe": "none",&lt;BR /&gt;"compaction": "none",&lt;BR /&gt;"schedule": "sun-sat@0",&lt;BR /&gt;"volume_path": "/vol/&amp;lt;dest&amp;gt;",&lt;BR /&gt;"state": "enabled",&lt;BR /&gt;"op_state": "idle",&lt;BR /&gt;"type": "regular",&lt;BR /&gt;"progress": "Idle for 14:28:15",&lt;BR /&gt;"last_op_begin": "Wed Mar 12 00:00:00 2025",&lt;BR /&gt;"last_op_end": "Wed Mar 12 00:00:00 2025",&lt;BR /&gt;"last_op_size": 0,&lt;BR /&gt;"last_op_state": "Success",&lt;BR /&gt;"has_savings": true,&lt;BR /&gt;"logging_enabled": true,&lt;BR /&gt;"policy": {&lt;BR /&gt;"name": "-"&lt;BR /&gt;},&lt;BR /&gt;"space_savings": {&lt;BR /&gt;"compression": 0,&lt;BR /&gt;"compression_percent": 0,&lt;BR /&gt;"dedupe": 0,&lt;BR /&gt;"dedupe_percent": 0,&lt;BR /&gt;"dedupe_sharing": 0,&lt;BR /&gt;"total": 0,&lt;BR /&gt;"total_percent": 0&lt;BR /&gt;},&lt;BR /&gt;"scanner": {&lt;BR /&gt;"state": "idle"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}%&lt;BR /&gt;&lt;BR /&gt;which exact field we need to track and for what ideal value to confirm storage efficiency is completed&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;as mentioned above I see probable fields here ,but you can confirm same&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;curl -X GET "https://&amp;lt;mgmt_ip&amp;gt;/api/storage/volumes/&amp;lt;vol_uuid&amp;gt;?fields=efficiency.state" -k&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;curl -X GET "https://&amp;lt;mgmt_ip&amp;gt;/api/storage/volumes/&amp;lt;vol_uuid&amp;gt;?fields=efficiency.op_state" -k&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;curl -X GET "https://&amp;lt;mgmt_ip&amp;gt;/api/storage/volumes/&amp;lt;vol_uuid&amp;gt;?fields=efficiency.scanner.state" -k&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 09:25:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/459355#M728</guid>
      <dc:creator>Tushar_Karande</dc:creator>
      <dc:date>2025-03-12T09:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: snapshot uuid changes for snapshot residing on target volume if storage efficiency is enabled</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/460152#M733</link>
      <description>&lt;P&gt;Hi AmitKerkar, Do you have any updates here?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 10:47:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapshot-uuid-changes-for-snapshot-residing-on-target-volume-if-storage/m-p/460152#M733</guid>
      <dc:creator>akryukov</dc:creator>
      <dc:date>2025-04-16T10:47:00Z</dc:date>
    </item>
  </channel>
</rss>

