<?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: I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol. in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5902#M2511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%SNAP_TIME is available only within snapcreator config/environment.&lt;/P&gt;&lt;P&gt;You can try setting an (UNIX/Windows) environment variable SNAP_TIME=&amp;lt;&amp;gt; and then calling it from snapdrive.&lt;/P&gt;&lt;P&gt;Are you trying that way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2013 15:26:03 GMT</pubDate>
    <dc:creator>sivar</dc:creator>
    <dc:date>2013-02-05T15:26:03Z</dc:date>
    <item>
      <title>I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol.</title>
      <link>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5888#M2508</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;Any suggestions here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol. I created a flexclone vol and I can connect to lun using exact cloned name (date&amp;amp;time). But, when I use %SNAP_TIME. it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VOL CLONE:SUCCESS&lt;BR /&gt;Volume Clone Create of cl_test_iscsi_20130203230600 from test-hourly_20130203230600 on fas01 Created Successfully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to mount the cloned lun with script automatically.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;Command I use&lt;/SPAN&gt;:&lt;BR /&gt;snapdrive storage connect -lun fas01:/vol/cl_test_iscsi_%SNAP_TIME/lun_test&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;Issue:&lt;/SPAN&gt;&lt;BR /&gt;When I give snap time variable, I get an error, service call to sdu deamon failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;But, If I use:&lt;/SPAN&gt;&lt;BR /&gt;snapdrive storage connect -lun fas01:/vol/cl_test_iscsi_20130203230600/lun_test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works. I would want to supply the %TIME so that I dont have to manually run the this command after the clone operation.&amp;nbsp; I can use snapdrive snap wizard connect and supply the test-hourly_20130203230600 and it works well, but in this case I am connecting to the lun in a snaphost of the parent&amp;nbsp; lun and it creates lun_test_0, whereas I want to connect to the lun_test in a flexcloned vol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Ashwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:10:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5888#M2508</guid>
      <dc:creator>ASHWINPAWARTESL</dc:creator>
      <dc:date>2025-06-05T06:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol.</title>
      <link>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5892#M2509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashwin,&lt;/P&gt;&lt;P&gt;Could you please email your config file to sivar at netapp.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to see how you are issuing the command "snapdrive storage connect -lun fas01:/vol/cl_test_iscsi_%SNAP_TIME/lun_test"&amp;nbsp; inside the config file.&lt;/P&gt;&lt;P&gt;Did you try wrapping the whole command inside double quotes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 14:58:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5892#M2509</guid>
      <dc:creator>sivar</dc:creator>
      <dc:date>2013-02-05T14:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol.</title>
      <link>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5897#M2510</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;I haven't yet put this in the config file. I am doing it from the console using standard snapdrive for unix commands.&amp;nbsp; I guess, if it works from the console, I can then use this command in the POST_CLONE section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Ashwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 15:10:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5897#M2510</guid>
      <dc:creator>ASHWINPAWARTESL</dc:creator>
      <dc:date>2013-02-05T15:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol.</title>
      <link>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5902#M2511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%SNAP_TIME is available only within snapcreator config/environment.&lt;/P&gt;&lt;P&gt;You can try setting an (UNIX/Windows) environment variable SNAP_TIME=&amp;lt;&amp;gt; and then calling it from snapdrive.&lt;/P&gt;&lt;P&gt;Are you trying that way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 15:26:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5902#M2511</guid>
      <dc:creator>sivar</dc:creator>
      <dc:date>2013-02-05T15:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol.</title>
      <link>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5910#M2512</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;I tried setting env variable but it didn't work. But, as you pointed out '%SNAP_TIME' is available only within snapcretor config environment, that gave me a direction to test it inside the config file. Thanks a lot.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;This is what I did to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Step1: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Added my remote UNIX host (192.168.1.65) where I wanted to connect the cloned LUN (For backup purpose) in the following 'section' of config file on snapcreator server.&lt;/P&gt;&lt;P&gt;SC_CLONE_TARGET=192.168.1.65:9090&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Step2:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Added post clone create command:&lt;/P&gt;&lt;P&gt;POST_CLONE_CREATE_CMD01=snapdrive storage connect -lun darfas01:/vol/cl_test_iscsi_%SNAP_TIME/lun_test&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Step3:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;On the remote host (192.168.1.65) edited agent.conf file and added "*" to allow the command to run. Otherwise it will fail with this error.&lt;/P&gt;&lt;P&gt;[192.168.1.65:9090(3.6.0.1)] ERROR: [agt-00011] Command [snapdrive storage connect -lun fas01:/vol/cl_test_iscsi_20130205163815/lun_test] is not allowed&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;command:*&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 17:04:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5910#M2512</guid>
      <dc:creator>ASHWINPAWARTESL</dc:creator>
      <dc:date>2013-02-05T17:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol.</title>
      <link>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5918#M2513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a current limitation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the %VARS must always be followed by a space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the future we are going to do something like %{VAR}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My recommendation is to do following:&lt;/P&gt;&lt;P&gt;POST_CLONE_CREATE_CMD01=snapdrive storage connect -lun %USER_DEFINED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then pass in --user_defined fas01:/vol/cl_test_iscsi_20130203230600/lun_test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this isnt quite as slick as you want but better than hard-coding in config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 13:18:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5918#M2513</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2013-02-06T13:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol.</title>
      <link>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5922#M2514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW this is addressed and fixed in SC 4.0 which releases with NetApp support in March 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The community release (which has no netapp support community only) is already available. I would encourage at minimum testing and ensuring things work to your desire.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://snapcreator.netapp.com/download" target="_blank"&gt;https://snapcreator.netapp.com/download&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 13:25:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5922#M2514</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2013-02-06T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol.</title>
      <link>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5926#M2515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Keith for this information. I appreciate it. I am excited to test 4.0 version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 22:43:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/I-am-trying-to-use-SNAP-TIME-to-automatically-mount-lun-inside-a-flexclone-vol/m-p/5926#M2515</guid>
      <dc:creator>ASHWINPAWARTESL</dc:creator>
      <dc:date>2013-02-06T22:43:17Z</dc:date>
    </item>
  </channel>
</rss>

