<?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: making sure snapshot-create snapshots are usable in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132378#M2418</link>
    <description>&lt;P&gt;Hello assuliva,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact, this is the solution I've come to, but my customer isn't happy with this as the ckeck/retry code is associated with the creation of the share and not with the snapshot creation itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They argue that the snapshot creation could be used for other purposes and would like to ensure created snapshots are indeed usable even if a share is not created for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's the reason why I'm looking for some way to ensure a snapshot is created and complete independantly of share creation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 13:55:31 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2017-06-29T13:55:31Z</dc:date>
    <item>
      <title>making sure snapshot-create snapshots are usable</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132367#M2415</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a special use case, one of our customer needs that snapshots created with snapshot-create API call are usable to create a CIFS share in the snapshot namespace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, from time to time (right after snapshot creation), the share creation fails with the error :&lt;/P&gt;&lt;P&gt;The specified path "/vol/xxxxxxx/.snapshot/testsharertv/xxxxxx/yyyy/zzzzzz" does not exist in the namespace belonging to Vserver "xxxxxxx".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The snapshot-create API call has the value 'async' set to false, but the share creation fails when issued right after the snapshot creation, and 1-2 retries later (1-2 secs apart) eventually passes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to check the state of the created snapshots using snapshot-list-info/snapshot-get-iter, but there's no information returned by the API that would match the output of the diag snap status command (creating/complete/deleting status).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some way to make sure a newly created snapshot can be used as a path for a CIFS share?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:54:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132367#M2415</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2025-06-04T14:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: making sure snapshot-create snapshots are usable</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132377#M2417</link>
      <description>&lt;P&gt;Does the share created from the snapshot have to be available immediately, or is 3-5 seconds of delay acceptable? &amp;nbsp;If it is acceptable, then why not just put a brief sleep into the script? &amp;nbsp;Or, use a try/catch statement to test the operation until it succeeds or exceeds some threshold.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 13:48:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132377#M2417</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-06-29T13:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: making sure snapshot-create snapshots are usable</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132378#M2418</link>
      <description>&lt;P&gt;Hello assuliva,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact, this is the solution I've come to, but my customer isn't happy with this as the ckeck/retry code is associated with the creation of the share and not with the snapshot creation itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They argue that the snapshot creation could be used for other purposes and would like to ensure created snapshots are indeed usable even if a share is not created for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's the reason why I'm looking for some way to ensure a snapshot is created and complete independantly of share creation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 13:55:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132378#M2418</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2017-06-29T13:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: making sure snapshot-create snapshots are usable</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132381#M2419</link>
      <description>&lt;P&gt;I haven't tried this.. but i believe this shuld work.. aleast in theory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After creating the snpshot can't you do a "snpshot-get-ltr" and&amp;nbsp;&lt;/P&gt;&lt;P&gt;look for the snapshot *state" (which is inside snapshot-info)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the state is&amp;nbsp;'valid' ... The snapshot is complete and consistent.&lt;/P&gt;&lt;P&gt;Then proceed with share creation, otherwise wait..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the three different state you might find.. (according to API Doc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'valid' ... The snapshot is complete and consistent&lt;BR /&gt;'invalid' ... The namespace constituent snapshot is missing&lt;BR /&gt;'partial' ... One or more data constituent snapshots are missing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robin.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 16:39:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132381#M2419</guid>
      <dc:creator>robinpeter</dc:creator>
      <dc:date>2017-06-29T16:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: making sure snapshot-create snapshots are usable</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132383#M2420</link>
      <description>&lt;P&gt;Hello robinpeter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw these in the documentation :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;The state of the snapshot. Possible values:&lt;UL&gt;&lt;LI&gt;'valid' ... The snapshot is complete and consistent&lt;/LI&gt;&lt;LI&gt;'invalid' ... The namespace constituent snapshot is missing&lt;/LI&gt;&lt;LI&gt;'partial' ... One or more data constituent snapshots are missing&lt;/LI&gt;&lt;/UL&gt;Only a snapshot on an Infinite Volume can have a state of partial or invalid.&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;The default value is valid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't the state attribute value only relevant for Infinite Volumes? (that was my assumption so far)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 16:48:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132383#M2420</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2017-06-29T16:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: making sure snapshot-create snapshots are usable</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132387#M2421</link>
      <description>&lt;P&gt;I don't think the "state" attribute is only for&amp;nbsp;&lt;SPAN&gt;Infinite Volumes. Might worth checking.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'll be surpriced if its only for&amp;nbsp;Infinite Volumes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If that didn't work.. it may worth trying to look in to the value of&amp;nbsp;percentage-of-used-blocks or percentage-of-total-blocks (in snapshot-info)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the assumption.. of Snapshot creation should complete to return these values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Robin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 17:08:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132387#M2421</guid>
      <dc:creator>robinpeter</dc:creator>
      <dc:date>2017-06-29T17:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: making sure snapshot-create snapshots are usable</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132388#M2422</link>
      <description>&lt;P&gt;Thanks Robin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll give these ideas a try, thanks a lot for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 17:49:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/making-sure-snapshot-create-snapshots-are-usable/m-p/132388#M2422</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2017-06-29T17:49:51Z</dc:date>
    </item>
  </channel>
</rss>

