<?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: LUN clone workflow, any plans? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65550#M13618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yaron,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks for the WF, it's helpful. I'm almost finished my own one, with some changes to your initial command. I'm working now on implementing this via WFA atm:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; lun /vol/vol_01/lun-01.CLONE share&amp;nbsp; all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 07:13:25 GMT</pubDate>
    <dc:creator>vladimirzhigulin</dc:creator>
    <dc:date>2012-08-14T07:13:25Z</dc:date>
    <item>
      <title>LUN clone workflow, any plans?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65514#M13612</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;Sometimes I do the following to create a LUN clone (note it works when no FlexClone is licensed):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# create a vol snapshot&lt;/P&gt;&lt;P&gt;&amp;gt; snap create vol_01 vol_01_SNAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# create a LUN clone on the volume&lt;/P&gt;&lt;P&gt;&amp;gt; lun clone create /vol/vol_01/lun-01.CLONE -o noreserve -b /vol/vol_01/lun-01 vol_01_SNAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# export /vol/vol_01/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# share the LUN clone via NFS&lt;/P&gt;&lt;P&gt;&amp;gt; lun /vol/vol_01/lun-01.CLONE share&amp;nbsp; all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then I mount the volume via NFS on a host from where I can copy the cloned LUN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm curious if it can be somehow automated with WFA? Any ideas / suggestions are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:22:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65514#M13612</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2025-06-05T06:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: LUN clone workflow, any plans?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65518#M13613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vladimir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it can be automated with WFA.&amp;nbsp; This is a pretty simple thing to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;There's already a certified command called "Create Snapshot" that will handle your first step.&lt;/LI&gt;&lt;LI&gt;The LUN Clone can be achieved by creating a new command using the PowerShell 'New-NaLunClone' cmdlet.&amp;nbsp; It would probably look something like this in your new WFA command (after all the normal setup stuff - clone another command to get started quickly):&amp;nbsp; New-NaLunClone -ClonePath $myClonePath -Unreserved -ParentSnapshot $myParentSnapshot&lt;/LI&gt;&lt;LI&gt;Use certified command "Create Export" for step 3.&lt;/LI&gt;&lt;LI&gt;Clone a simple PowerShell command as a starting point, use 'Set-NaLunShare' cmdlet to allow access to the lun similar to your last command.&amp;nbsp; Again, your WFA command would contain something like this: Set-NaLunShare -Path $myClonePath -ShareType 'all' &lt;/LI&gt;&lt;LI&gt;(OPTIONAL) I posted a "Mount an Export on a Linux Host using SSH" command out here in the WFA community as part of the Day-0 provisioning stuff.&amp;nbsp; Feel free to reuse it to have WFA automatically mount the export on your Linux host.&amp;nbsp; (If it is Linux, that is.)﻿&lt;/LI&gt;&lt;LI&gt;(OPTIONAL) In fact, I also posted a command called "0day - Copy a file from one directory to another on a Linux host" that automate the final step for you as well.&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I didn't create the workflow for you, I hope this gets you the info you need to create this workflow on your own.&amp;nbsp; Let me know if you need more help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 18:14:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65518#M13613</guid>
      <dc:creator>bdave</dc:creator>
      <dc:date>2012-08-01T18:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: LUN clone workflow, any plans?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65527#M13615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your feedback, I think this is what I need to start with. I'll try to implement it and update the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 13:39:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65527#M13615</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2012-08-02T13:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: LUN clone workflow, any plans?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65536#M13616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vladimir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know whether you have a working copy. We opened feature tracking requests towards 2.0, but should you have a working copy&lt;/P&gt;&lt;P&gt;it would surely cut our work easier &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaron Haimsohn&lt;/P&gt;&lt;P&gt;WFA Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 13:50:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65536#M13616</guid>
      <dc:creator>yaronh</dc:creator>
      <dc:date>2012-08-09T13:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: LUN clone workflow, any plans?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65541#M13617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vladimir, have a look at the attached workflow. It uses LUN clones (not FlexClones) as part of a flow that creates boot images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A little bit of background on the attached workflow:&lt;/P&gt;&lt;P&gt;1. Customer has a set of volumes containing golden images of OS. Each golden image is placed in a Qtree, resulting in a volume with multiple Qtrees, one Qtree for each version of an OS (i.e. Win2008, Win2008R2, Win2008R2SP1, etc.). Each Qtree contains exactly one LUN.&lt;/P&gt;&lt;P&gt;2. The flow will ask the user to provide the source array and volume, and show a list of all available OS images by detailing all existing Qtrees under that volume&lt;/P&gt;&lt;P&gt;3. The flow will ask the user to provide a destination array and volume, the number of clones, and names of servers these clones are for&lt;/P&gt;&lt;P&gt;4. The flow will create a QSM relationship between the source and destination and wait until the replication is completed&lt;/P&gt;&lt;P&gt;5. The flow will break the replication and remove the replication configuration from the systems (in essence, this LUN represents the first new provisioned server image)&lt;/P&gt;&lt;P&gt;6. The flow will create N-1 Qtrees under the destination volume (one for each new host, the first Qtree is the landing zone for replication and hence the remaining N-1 Qtrees)&lt;/P&gt;&lt;P&gt;7. The flow will create thin provisioned clones in each Qtree by using LUN clone of the replicated LUN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important note - you will see that one of the entries in the form is the current date/time. This is used as part of the name of the snapshot created to support the clone. We had to do it this way (vs. using a function to determine the current date/time) as it seems like WFA re-evaluated the function in each iteration instead of doing it once, resulting in the flow failing due to changes in the snapshot name resolution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 14:46:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65541#M13617</guid>
      <dc:creator>yaron</dc:creator>
      <dc:date>2012-08-10T14:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: LUN clone workflow, any plans?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65550#M13618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yaron,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks for the WF, it's helpful. I'm almost finished my own one, with some changes to your initial command. I'm working now on implementing this via WFA atm:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; lun /vol/vol_01/lun-01.CLONE share&amp;nbsp; all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 07:13:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65550#M13618</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2012-08-14T07:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: LUN clone workflow, any plans?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65555#M13619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the v0.1 of the workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current limitation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. One clone per LUN is allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is partly because a source volomue snapshot is created with "_SNAP" postfix and LUN clone is named with ".CLONE" postfix. It needs changing as I think it's not good to have something hardcoded in commands. Not sure as yet how to fix it properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. No checks done for free space in the source volume. For instance I want the WF to fail if the source volume doesn't have at least 20% free space. Any suggestions here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 11:14:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65555#M13619</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2012-08-14T11:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: LUN clone workflow, any plans?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65560#M13621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have not looked at the flow yet, but a few comments based on your questions:&lt;/P&gt;&lt;P&gt;1. The way around the hard-coded snap name is to create a snapshot with a date/time stamp in the name (unless you absolutely know the naming convention the user uses for Snapshots in their volume).&lt;/P&gt;&lt;P&gt;2. As for size, you probably should use a Finder to find the source volume with a condition for available capacity (i.e. find Volume by name and available capacity). While the workflow I provided as a sample does not do that, it will increase the size of the volume to accommodate for the space needed for the LUN clone(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 12:22:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/LUN-clone-workflow-any-plans/m-p/65560#M13621</guid>
      <dc:creator>yaron</dc:creator>
      <dc:date>2012-08-14T12:22:52Z</dc:date>
    </item>
  </channel>
</rss>

