<?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: Cloning secondary volumes in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Cloning-secondary-volumes/m-p/105382#M456</link>
    <description>&lt;P&gt;#######&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have several volumes in a Profile/Config that I want to&amp;nbsp;mount clone volumes from an&amp;nbsp;existing&amp;nbsp;snapshot.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The documentation on the parameters/GUI for &amp;nbsp;NTAP_CLONE_SECONDARY_VOLUMES is confusing since its an Optional parameter but it doesn't work unless values are supplied.&amp;nbsp; I don't really understand the need for having to specify every controller pairing and volume - SnapCreator already knows what they are.&amp;nbsp; I could only see, in the case of there being multiple Snapmirror relationships, a need to just specify which target controller.&amp;nbsp; If every volume has to be specified with its primary and secondary controller pairing, it makes for a very long parameter list subject to many errors (typos).&amp;nbsp; Am I missing something ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;#######&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am sorry for the confusion there.&lt;/P&gt;&lt;P&gt;Unfortunately, SnapCreator does not remember the volumes and their snapmirror relationships. It fetches the details every time by referring the config file and talking to the controller.&lt;/P&gt;&lt;P&gt;(By leveraging NTAP_CLONE_SECONDARY_VOLUMES syntax below)&lt;/P&gt;&lt;PRE&gt;NTAP_CLONE_SECONDARY_VOLUMES=controller1:controller1-sec/vol1;controller1:controller1-sec/vol2&lt;/PRE&gt;&lt;P&gt;SnapCreator by default clones the primary volumes.&lt;/P&gt;&lt;P&gt;if you want to specifically instruct snapcreator, then you rely on two variables&lt;/P&gt;&lt;P&gt;NTAP_CLONE_SECONDARY and NTAP_CLONE_SECONDARY_VOLUMES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are correct, that the above very long parameter list is subject to many errors (typos).&lt;/P&gt;&lt;P&gt;I shall request our TME and PM to track this for future enhancements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also a word of caustion is that SnapCreator code is not optimized for multiple snpamirror relationships as your assumption above (like filer1:vol1 mirroring to filer2:vol1 and filer3:vol1) SnapCreator can only work with the first displayed relationship of a snapmirror status output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#######&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Also the description of NTAP_CLONE_FOR_BACKUP - is confusing.&amp;nbsp;&amp;nbsp;Does it even apply to the "mount" action ?&amp;nbsp; It is described as:&amp;nbsp;"Setting which determines when the clone is deleted. "Y" will delete clone after it is created, "N" will delete&amp;nbsp;clone before Snapshot copy occurs so during the next run of Snap Creator for the given policy and config". &amp;nbsp; Why would anyone want to delete a clone after its created ?&amp;nbsp; Does "N" mean it deletes at the start of next the Backup and/or Clone and/or Mount action ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;######&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To begin with "mount" in snapcreator refers to cloning of a pre-existing backup.&lt;/P&gt;&lt;P&gt;"clone" in snapcreator refers to take an on-demand backup and and cloning it.&lt;/P&gt;&lt;P&gt;You are correct. mount action does not really care about the NTAP_CLONE_FOR_BACKUP variable.&lt;/P&gt;&lt;P&gt;All mount does is, if you give a set of volumes and a specific snapshot, it will spin a clone based on the pre-existing snapshot, and map the luns to a pre-existing igroup and run mount commands specified on the client host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the contrary, a "clone" action takes a snpshot, and always, spins up a clone immediately based on the snapshot it took.&lt;/P&gt;&lt;P&gt;A clone is typically spin on the production host.&lt;/P&gt;&lt;P&gt;If you want to spin it on the snapmirror destination, then NTAP_CLONE_SECONDARY is used.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;By default the entry point of a clone workflow is to clean up the previously taken clones as per the customer specification. (via &lt;FONT color="black"&gt;NTAP_NUM_VOL_CLONES. Please note SnapCreator does not support multiple lun clones and lun clones are supported only on the primary storage and not on the secondary).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="black"&gt;Imagine that the customer uses volume clone feature...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If the customer chose to keep only one clone, the "clone" workflow will first get rid of the previous clone, and then proceeds with taking a snapshot, and spinning a new clone etc process.&lt;/P&gt;&lt;P&gt;If the customer chose to keep 3 clones, the "clone" workflow will delete clones older than the last 3, and then proceeds with taking a snapshot, and spinning a new clone etc process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the contrary there are situations where the customer really does not need the clones other than specific reasons.&lt;/P&gt;&lt;P&gt;Basically, the customer would spin a clone do some task and delete the clone right after the task is completed.&lt;/P&gt;&lt;P&gt;SnapCreator offers an ability to achieve the same via NTAP_CLONE_FOR_BACKUP parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imagine these two scenarios below (mount refers to mounting the LUNs from the UNIX/Windows, not the snapcreator "mount" action)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="black"&gt;snapshot-&amp;gt;lun clone-&amp;gt;mount-&amp;gt;backup to tape-&amp;gt;clone delete&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="black"&gt;snapshot-&amp;gt;vol clone-&amp;gt;mount-&amp;gt;perform DR test-&amp;gt;clone delete&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The NTAP_CLONE_FOR_BACKUP variable can be used in these scenarios to tell SnapCreator to delete the clones after the post clone workflow is completed.&lt;/P&gt;&lt;P&gt;This way you don't have the clones hanging around until the next clone job kicks in. (which infact has the pruning action of older clones)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Please feel free to let us know if you have further questions.&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2015 15:25:45 GMT</pubDate>
    <dc:creator>sivar</dc:creator>
    <dc:date>2015-05-22T15:25:45Z</dc:date>
    <item>
      <title>Cloning secondary volumes</title>
      <link>https://community.netapp.com/t5/Data-Protection/Cloning-secondary-volumes/m-p/105352#M455</link>
      <description>&lt;P&gt;I have several volumes in a Profile/Config that I want to&amp;nbsp;mount clone volumes from an&amp;nbsp;existing&amp;nbsp;snapshot.&lt;/P&gt;&lt;P&gt;The documentation on the parameters/GUI for &amp;nbsp;NTAP_CLONE_SECONDARY_VOLUMES is confusing since its an Optional parameter but it doesn't work unless values are supplied.&amp;nbsp; I don't really understand the need for having to specify every controller pairing and volume - SnapCreator already knows what they are.&amp;nbsp; I could only see, in the case of there being multiple Snapmirror relationships, a need to just specify which target controller.&amp;nbsp; If every volume has to be specified with its primary and secondary controller pairing, it makes for a very long parameter list subject to many errors (typos).&amp;nbsp; Am I missing something ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also the description of NTAP_CLONE_FOR_BACKUP - is confusing.&amp;nbsp;&amp;nbsp;Does it even apply to the "mount" action ?&amp;nbsp; It is described as:&amp;nbsp;"Setting which determines when the clone is deleted. "Y" will delete clone after it is created, "N" will delete&amp;nbsp;clone before Snapshot copy occurs so during the next run of Snap Creator for the given policy and config". &amp;nbsp; Why would anyone want to delete a clone after its created ?&amp;nbsp; Does "N" mean it deletes at the start of next the Backup and/or Clone and/or Mount action ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:15:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Cloning-secondary-volumes/m-p/105352#M455</guid>
      <dc:creator>bholzmarsh</dc:creator>
      <dc:date>2025-06-05T04:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning secondary volumes</title>
      <link>https://community.netapp.com/t5/Data-Protection/Cloning-secondary-volumes/m-p/105382#M456</link>
      <description>&lt;P&gt;#######&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have several volumes in a Profile/Config that I want to&amp;nbsp;mount clone volumes from an&amp;nbsp;existing&amp;nbsp;snapshot.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The documentation on the parameters/GUI for &amp;nbsp;NTAP_CLONE_SECONDARY_VOLUMES is confusing since its an Optional parameter but it doesn't work unless values are supplied.&amp;nbsp; I don't really understand the need for having to specify every controller pairing and volume - SnapCreator already knows what they are.&amp;nbsp; I could only see, in the case of there being multiple Snapmirror relationships, a need to just specify which target controller.&amp;nbsp; If every volume has to be specified with its primary and secondary controller pairing, it makes for a very long parameter list subject to many errors (typos).&amp;nbsp; Am I missing something ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;#######&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am sorry for the confusion there.&lt;/P&gt;&lt;P&gt;Unfortunately, SnapCreator does not remember the volumes and their snapmirror relationships. It fetches the details every time by referring the config file and talking to the controller.&lt;/P&gt;&lt;P&gt;(By leveraging NTAP_CLONE_SECONDARY_VOLUMES syntax below)&lt;/P&gt;&lt;PRE&gt;NTAP_CLONE_SECONDARY_VOLUMES=controller1:controller1-sec/vol1;controller1:controller1-sec/vol2&lt;/PRE&gt;&lt;P&gt;SnapCreator by default clones the primary volumes.&lt;/P&gt;&lt;P&gt;if you want to specifically instruct snapcreator, then you rely on two variables&lt;/P&gt;&lt;P&gt;NTAP_CLONE_SECONDARY and NTAP_CLONE_SECONDARY_VOLUMES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are correct, that the above very long parameter list is subject to many errors (typos).&lt;/P&gt;&lt;P&gt;I shall request our TME and PM to track this for future enhancements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also a word of caustion is that SnapCreator code is not optimized for multiple snpamirror relationships as your assumption above (like filer1:vol1 mirroring to filer2:vol1 and filer3:vol1) SnapCreator can only work with the first displayed relationship of a snapmirror status output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#######&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Also the description of NTAP_CLONE_FOR_BACKUP - is confusing.&amp;nbsp;&amp;nbsp;Does it even apply to the "mount" action ?&amp;nbsp; It is described as:&amp;nbsp;"Setting which determines when the clone is deleted. "Y" will delete clone after it is created, "N" will delete&amp;nbsp;clone before Snapshot copy occurs so during the next run of Snap Creator for the given policy and config". &amp;nbsp; Why would anyone want to delete a clone after its created ?&amp;nbsp; Does "N" mean it deletes at the start of next the Backup and/or Clone and/or Mount action ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;######&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To begin with "mount" in snapcreator refers to cloning of a pre-existing backup.&lt;/P&gt;&lt;P&gt;"clone" in snapcreator refers to take an on-demand backup and and cloning it.&lt;/P&gt;&lt;P&gt;You are correct. mount action does not really care about the NTAP_CLONE_FOR_BACKUP variable.&lt;/P&gt;&lt;P&gt;All mount does is, if you give a set of volumes and a specific snapshot, it will spin a clone based on the pre-existing snapshot, and map the luns to a pre-existing igroup and run mount commands specified on the client host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the contrary, a "clone" action takes a snpshot, and always, spins up a clone immediately based on the snapshot it took.&lt;/P&gt;&lt;P&gt;A clone is typically spin on the production host.&lt;/P&gt;&lt;P&gt;If you want to spin it on the snapmirror destination, then NTAP_CLONE_SECONDARY is used.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;By default the entry point of a clone workflow is to clean up the previously taken clones as per the customer specification. (via &lt;FONT color="black"&gt;NTAP_NUM_VOL_CLONES. Please note SnapCreator does not support multiple lun clones and lun clones are supported only on the primary storage and not on the secondary).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="black"&gt;Imagine that the customer uses volume clone feature...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If the customer chose to keep only one clone, the "clone" workflow will first get rid of the previous clone, and then proceeds with taking a snapshot, and spinning a new clone etc process.&lt;/P&gt;&lt;P&gt;If the customer chose to keep 3 clones, the "clone" workflow will delete clones older than the last 3, and then proceeds with taking a snapshot, and spinning a new clone etc process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the contrary there are situations where the customer really does not need the clones other than specific reasons.&lt;/P&gt;&lt;P&gt;Basically, the customer would spin a clone do some task and delete the clone right after the task is completed.&lt;/P&gt;&lt;P&gt;SnapCreator offers an ability to achieve the same via NTAP_CLONE_FOR_BACKUP parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imagine these two scenarios below (mount refers to mounting the LUNs from the UNIX/Windows, not the snapcreator "mount" action)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="black"&gt;snapshot-&amp;gt;lun clone-&amp;gt;mount-&amp;gt;backup to tape-&amp;gt;clone delete&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="black"&gt;snapshot-&amp;gt;vol clone-&amp;gt;mount-&amp;gt;perform DR test-&amp;gt;clone delete&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The NTAP_CLONE_FOR_BACKUP variable can be used in these scenarios to tell SnapCreator to delete the clones after the post clone workflow is completed.&lt;/P&gt;&lt;P&gt;This way you don't have the clones hanging around until the next clone job kicks in. (which infact has the pruning action of older clones)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Please feel free to let us know if you have further questions.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2015 15:25:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Cloning-secondary-volumes/m-p/105382#M456</guid>
      <dc:creator>sivar</dc:creator>
      <dc:date>2015-05-22T15:25:45Z</dc:date>
    </item>
  </channel>
</rss>

