<?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: Create a Volume if it does not exist? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-a-Volume-if-it-does-not-exist/m-p/74918#M15583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yep, that's exactly how to do it.&amp;nbsp; Congrats on figuring it out yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if you have more questions like how to implement decision logic for whether to grow a volume or create a new one (once you know what the logic is), finding the next volume or qtree name in a series, or whatever.&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>Fri, 29 Jun 2012 18:35:58 GMT</pubDate>
    <dc:creator>bdave</dc:creator>
    <dc:date>2012-06-29T18:35:58Z</dc:date>
    <item>
      <title>Create a Volume if it does not exist?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-a-Volume-if-it-does-not-exist/m-p/74907#M15579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, bit of a strange question....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in the process of creating a workflow (for Oracle data stores) and as part of the design they want all the binary qtrees on the same volume... There are a few checks/rules around this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If the first binary qtree does not exist then by definition the volume does not exist, so create the volume and create the first qtree. &lt;/LI&gt;&lt;LI&gt;If a binary qtree exists (I can search on naming rules) then identify which volume it is in, check if vol has enough space and add second qtree.&lt;/LI&gt;&lt;LI&gt;If not enough space on volume, either grow volume, or create a new vol (I need to figure out what is the deciding factor around this).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, the issue I have is that in the workflow I have a command to create the volume&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/16171_WFA_Test.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;and the find chart associated with it has the check to see if the volume exists (I created my own fiter and finder for this and it works fine)&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/16173_WFA_Test2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if it finds the volume, it then returns, however the command fails as it still expects the information to create the volume.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way of doing this? I find the volume by checking for specific text in the qtree name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:23:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-a-Volume-if-it-does-not-exist/m-p/74907#M15579</guid>
      <dc:creator>pitrakou</dc:creator>
      <dc:date>2025-06-05T06:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Volume if it does not exist?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-a-Volume-if-it-does-not-exist/m-p/74912#M15581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scratch that, I managed to answer my own question &lt;SPAN __jive_emoticon_name="blush" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/blush.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially I replaced the normal (true) for enabling the command with a find chart:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/16174_WFA_Test3.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;And that find chart returns either true or false depending on what it finds...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/16175_WFA_Test4.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 12:51:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-a-Volume-if-it-does-not-exist/m-p/74912#M15581</guid>
      <dc:creator>pitrakou</dc:creator>
      <dc:date>2012-06-29T12:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Volume if it does not exist?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-a-Volume-if-it-does-not-exist/m-p/74918#M15583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yep, that's exactly how to do it.&amp;nbsp; Congrats on figuring it out yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if you have more questions like how to implement decision logic for whether to grow a volume or create a new one (once you know what the logic is), finding the next volume or qtree name in a series, or whatever.&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>Fri, 29 Jun 2012 18:35:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-a-Volume-if-it-does-not-exist/m-p/74918#M15583</guid>
      <dc:creator>bdave</dc:creator>
      <dc:date>2012-06-29T18:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Volume if it does not exist?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-a-Volume-if-it-does-not-exist/m-p/74922#M15585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dave, will do. That's exactly what I will be looking at next, however I still need my customer to tell me exactly what they need. I hate spending hours on this to be told, now that's not what we need, do it this way rather... &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" height="1" src="https://community.netapp.com/5.0.1/images/emoticons/confused.gif" width="1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 10:31:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-a-Volume-if-it-does-not-exist/m-p/74922#M15585</guid>
      <dc:creator>pitrakou</dc:creator>
      <dc:date>2012-07-02T10:31:43Z</dc:date>
    </item>
  </channel>
</rss>

