<?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: SQL query for vfiler volumes in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8876#M1852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is : Edit the export file entries ( in hosting filer and vfiler).I got dar file from the WFA community to do this.but only issue is,not showing the volume list.So I did the below changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;preferences --&amp;gt; User Input --&amp;gt; Volume Input --&amp;gt; Values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;SELECT DISTINCT(volume.name) &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;FROM &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;storage.volume, &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;storage.array,&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;storage.vfiler &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;WHERE volume.array_id = array.id &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;AND volume.vfiler_id = vfiler.id&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;AND array.id = vfiler.array_id &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;AND array.name = '${controllerName}' &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;AND vfiler.name = '${vfilerName}'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;I have attached hte screenshots below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;But not working:-(&lt;IMG src="http://community.netapp.com/legacyfs/online/21055_WFA_SQLQuery1.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Apr 2013 05:45:59 GMT</pubDate>
    <dc:creator>raovolvoadmin</dc:creator>
    <dc:date>2013-04-29T05:45:59Z</dc:date>
    <item>
      <title>SQL query for vfiler volumes</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8863#M1847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to Query the All volumes in the Vfiler(not the hosting filers volumes).I tried with below SQL query.but it's not working:-(.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me on this?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL query is : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select distinct(volume.name) AS Name,volume.size_mb&amp;nbsp; AS 'Total Size (MB)'&lt;/P&gt;&lt;P&gt;From Storage.volume,storage.vfiler&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp; volume.vfiler_id=vfiler.id AND vfiler.name='${Vfiler}'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:04:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8863#M1847</guid>
      <dc:creator>raovolvoadmin</dc:creator>
      <dc:date>2025-06-05T06:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query for vfiler volumes</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8867#M1848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I believe you are trying to create&amp;nbsp; WFA filter and use the query to obtain all the volumes contained in a given vfiler. Correct?&lt;/P&gt;&lt;P&gt;While this query is right and works fine with an SQL client, WFA infrastructure needs to validate the returned attributes against all the natural keys of the selected dictionary item.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do the following:&lt;/P&gt;&lt;P&gt;Create a filter with Dictionary Type : Volume : Storage&lt;/P&gt;&lt;P&gt;Use this query:&lt;BR /&gt;---------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;SELECT DISTINCT(volume.name) AS name,&amp;nbsp; array.ip AS 'array.ip', volume.size_mb&amp;nbsp; AS 'Total Size (MB)'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;FROM Storage.volume,storage.vfiler, storage.array&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;WHERE&amp;nbsp; volume.vfiler_id=vfiler.id &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #339966;"&gt;AND vfiler.array_id = array.id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #339966;"&gt;AND vfiler.name='${Vfiler}'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;I've also attached a filter with this query.&lt;/P&gt;&lt;P&gt;warm regards,&lt;BR /&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2013 03:30:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8867#M1848</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2013-04-28T03:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query for vfiler volumes</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8876#M1852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is : Edit the export file entries ( in hosting filer and vfiler).I got dar file from the WFA community to do this.but only issue is,not showing the volume list.So I did the below changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;preferences --&amp;gt; User Input --&amp;gt; Volume Input --&amp;gt; Values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;SELECT DISTINCT(volume.name) &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;FROM &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;storage.volume, &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;storage.array,&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;storage.vfiler &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;WHERE volume.array_id = array.id &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;AND volume.vfiler_id = vfiler.id&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;AND array.id = vfiler.array_id &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;AND array.name = '${controllerName}' &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;AND vfiler.name = '${vfilerName}'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;I have attached hte screenshots below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;But not working:-(&lt;IMG src="http://community.netapp.com/legacyfs/online/21055_WFA_SQLQuery1.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 05:45:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8876#M1852</guid>
      <dc:creator>raovolvoadmin</dc:creator>
      <dc:date>2013-04-29T05:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query for vfiler volumes</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8881#M1854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am curious if the vFiler has an volumes in the database.&amp;nbsp; The query that you are using worked during testing in the lab here.&amp;nbsp; Your first User Input query (from original post) should have also worked so that leads me to believe that there might be no volumes associated with the vFiler.&amp;nbsp; Have you confirmed that the vFiler exists in Unified Manager and has associated volumes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy Goodrum, NetApp&lt;/P&gt;&lt;P&gt;The Pirate&lt;/P&gt;&lt;P&gt;Twitter: @virtpirate&lt;/P&gt;&lt;P&gt;Blog: &lt;A href="http://www.virtpirate.com" target="_blank"&gt;www.virtpirate.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 17:51:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8881#M1854</guid>
      <dc:creator>goodrum</dc:creator>
      <dc:date>2013-04-30T17:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query for vfiler volumes</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8889#M1858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.Vfiler has volumes.I will try one more time with the Query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rao.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 03:20:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/SQL-query-for-vfiler-volumes/m-p/8889#M1858</guid>
      <dc:creator>raovolvoadmin</dc:creator>
      <dc:date>2013-05-03T03:20:00Z</dc:date>
    </item>
  </channel>
</rss>

