<?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: PRE/POST_CLONE_CREATE_CMD01 Timeout? in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/PRE-POST-CLONE-CREATE-CMD01-Timeout/m-p/56463#M1502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured the solution by my own. In order to clean up the previous created CloneVols and Exportfs entries with SnapCreator. You will have to define an alias/reference with "&lt;SPAN style="color: #000000; font-family: sans-serif; background-color: #ffffff;"&gt;NTAP_CLONE_IGROUP_MAP&lt;/SPAN&gt;" to map the created Clones to this Alias.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2013 11:53:42 GMT</pubDate>
    <dc:creator>famsysadmin</dc:creator>
    <dc:date>2013-10-25T11:53:42Z</dc:date>
    <item>
      <title>PRE/POST_CLONE_CREATE_CMD01 Timeout?</title>
      <link>https://community.netapp.com/t5/Data-Protection/PRE-POST-CLONE-CREATE-CMD01-Timeout/m-p/56449#M1499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to SnapCreator. Currently, I am trying to implement a daily scheduled task that clones the production Postgresql database into a DEV-Testing server.&lt;/P&gt;&lt;P&gt;Additionally, In prior of overwriting the mounted clonevol, the task should trigger a script that check whether there are other "in-development" databases running on the DEV-Testing Server and exports these to a temporary location, in order that we can import these DBs into the newly created and mounted clonevol again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So far I am able to create a 1:1 clone without any issue. However, I am having following issues:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;- Export of "in-development" databases. This step is triggered by a "POST_CLONE_CREATE_CMD=CLONETARGET:" command, which triggers a bash script on the DEV-Testing Server to do the magic. Since this task takes some times to complete, i am facing the problem that the SnapCreator Scheduled task continues without waiting for the exit 0 from the bash script. Is there any parameter of settings that i can use to increase the timeout? or force the POST_CLONE_CREATE_CMD to wait for the completion of the bash script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;- Cleaning up of previous clonevols and nfs exportsfs entry. Is there any possibility that i can do this with in the scheduled task? of dynamic &lt;/SPAN&gt;variable like %SNAP_TIME&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; that i can use?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Thank you in advanced&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Olivier Widmer&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:51:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/PRE-POST-CLONE-CREATE-CMD01-Timeout/m-p/56449#M1499</guid>
      <dc:creator>famsysadmin</dc:creator>
      <dc:date>2025-06-05T05:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: PRE/POST_CLONE_CREATE_CMD01 Timeout?</title>
      <link>https://community.netapp.com/t5/Data-Protection/PRE-POST-CLONE-CREATE-CMD01-Timeout/m-p/56454#M1500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Olivier, &lt;/P&gt;&lt;P&gt;In Windows, I have done a similar procedure using below syntax.&lt;/P&gt;&lt;P&gt;cmd /C start /wait &amp;lt;somebatchfile&amp;gt;&lt;/P&gt;&lt;P&gt;This basically puts the process to wait. &lt;/P&gt;&lt;P&gt;In your case, using &lt;STRONG&gt;exec&lt;/STRONG&gt; or similar command might help. (but the problem with exec is, it forks subprocess without any variables shared between the shell environment).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest option is to use below. (find how long your magic script takes, and insert that as a sleep command, this makes Snap Creator to wait)&lt;/P&gt;&lt;P&gt;POST_CLONE_CREATE_CMD01=CLONETARGET: command&lt;/P&gt;&lt;P&gt;POST_CLONE_CREATE_CMD02=CLONETARGET: sleep 120 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Siva Ramanathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 19:15:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/PRE-POST-CLONE-CREATE-CMD01-Timeout/m-p/56454#M1500</guid>
      <dc:creator>sivar</dc:creator>
      <dc:date>2013-10-23T19:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: PRE/POST_CLONE_CREATE_CMD01 Timeout?</title>
      <link>https://community.netapp.com/t5/Data-Protection/PRE-POST-CLONE-CREATE-CMD01-Timeout/m-p/56458#M1501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply.&lt;/P&gt;&lt;P&gt;Finally, i just worked around this issue by just executing one CMD command. and doing all the magics in the script on the Agent. Since the task running time is random, i do not think the Sleep Command will help in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards, of deleting CloneVols and Exportfs entrys created by the previous Clone Task. I just realized that there is a option "NTAP_CLONE_FOR_BACKUP=N", which suppose to do the trick. however, it does not.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;olivier widmer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 15:19:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/PRE-POST-CLONE-CREATE-CMD01-Timeout/m-p/56458#M1501</guid>
      <dc:creator>famsysadmin</dc:creator>
      <dc:date>2013-10-24T15:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: PRE/POST_CLONE_CREATE_CMD01 Timeout?</title>
      <link>https://community.netapp.com/t5/Data-Protection/PRE-POST-CLONE-CREATE-CMD01-Timeout/m-p/56463#M1502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured the solution by my own. In order to clean up the previous created CloneVols and Exportfs entries with SnapCreator. You will have to define an alias/reference with "&lt;SPAN style="color: #000000; font-family: sans-serif; background-color: #ffffff;"&gt;NTAP_CLONE_IGROUP_MAP&lt;/SPAN&gt;" to map the created Clones to this Alias.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 11:53:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/PRE-POST-CLONE-CREATE-CMD01-Timeout/m-p/56463#M1502</guid>
      <dc:creator>famsysadmin</dc:creator>
      <dc:date>2013-10-25T11:53:42Z</dc:date>
    </item>
  </channel>
</rss>

