<?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: Question: Spare disks in Filer in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57293#M11888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Disk information in WFA cache is available only from 2.0.1 release and so I hope you are using the 2.0.1 release which is the latest.&lt;/P&gt;&lt;P&gt;Once the cache acquisition is done from your OnCommand data source, you can use queries to know spare disk information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Array user input:&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; array.ip AS 'Array Primary Address',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; array.name AS 'Array Name',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(disk.name) AS 'Spare Disk Count',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(disk.size_mb) AS 'Total Spare Disk Size (MB)'&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.array,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.disk&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.array_id = array.id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND disk.role = 'spare'&lt;/P&gt;&lt;P&gt;GROUP BY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.array_id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Spare Disk list:&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.name AS DiskName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.type AS Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.size_mb AS 'Size (MB)'&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.disk,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.array&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; role = 'spare'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND array.id = disk.array_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND array.ip = '${ArrayIP}' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; These queries can be modified based on what exactly you would like to display or in filters based on your workflow design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Attachments:&lt;/P&gt;&lt;P&gt;- A sample output of the first query from some test systems.&lt;/P&gt;&lt;P&gt;- A sample output of the second query from some test systems.&lt;/P&gt;&lt;P&gt;- Definition of "storage.Disk" dictionary entry which internally becomes the cache table definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/21309_array_spare_disk_info.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/21310_disk_user_input.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/21311_disk_dictionary_entry.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 May 2013 12:40:27 GMT</pubDate>
    <dc:creator>shailaja</dc:creator>
    <dc:date>2013-05-19T12:40:27Z</dc:date>
    <item>
      <title>Question: Spare disks in Filer</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57288#M11884</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;I m working on the "aggr create" workflow.I want to display the existing available "Spare disks" with the size in the workflow using the SQL query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get the Spare disks info using the SQL query?.&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>Thu, 05 Jun 2025 06:02:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57288#M11884</guid>
      <dc:creator>raovolvoadmin</dc:creator>
      <dc:date>2025-06-05T06:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question: Spare disks in Filer</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57293#M11888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Disk information in WFA cache is available only from 2.0.1 release and so I hope you are using the 2.0.1 release which is the latest.&lt;/P&gt;&lt;P&gt;Once the cache acquisition is done from your OnCommand data source, you can use queries to know spare disk information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Array user input:&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; array.ip AS 'Array Primary Address',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; array.name AS 'Array Name',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(disk.name) AS 'Spare Disk Count',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(disk.size_mb) AS 'Total Spare Disk Size (MB)'&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.array,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.disk&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.array_id = array.id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND disk.role = 'spare'&lt;/P&gt;&lt;P&gt;GROUP BY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.array_id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Spare Disk list:&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.name AS DiskName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.type AS Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disk.size_mb AS 'Size (MB)'&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.disk,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.array&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; role = 'spare'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND array.id = disk.array_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND array.ip = '${ArrayIP}' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; These queries can be modified based on what exactly you would like to display or in filters based on your workflow design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Attachments:&lt;/P&gt;&lt;P&gt;- A sample output of the first query from some test systems.&lt;/P&gt;&lt;P&gt;- A sample output of the second query from some test systems.&lt;/P&gt;&lt;P&gt;- Definition of "storage.Disk" dictionary entry which internally becomes the cache table definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/21309_array_spare_disk_info.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/21310_disk_user_input.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/21311_disk_dictionary_entry.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 12:40:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57293#M11888</guid>
      <dc:creator>shailaja</dc:creator>
      <dc:date>2013-05-19T12:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question: Spare disks in Filer</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57300#M11890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's worked.Thanks you very much.I really appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always have trouble to create SQL queries:-(.Where do i get the help for SQL queries?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 05:24:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57300#M11890</guid>
      <dc:creator>raovolvoadmin</dc:creator>
      <dc:date>2013-05-21T05:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Question: Spare disks in Filer</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57305#M11891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to know it worked for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;&amp;gt;&amp;gt; I always have trouble to create SQL queries:-(.Where do i get the help for SQL queries?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;Well, two points on this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. In order to help in this area, we are providing auto-complete functionality when writing SQL queries (user input queries as well as filter queries) in the upcoming release of WFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Additionally, the following link can also help&lt;/P&gt;&lt;P&gt;&lt;A href="http://dev.mysql.com/doc/refman/5.1/en/select.html" target="_blank"&gt;http://dev.mysql.com/doc/refman/5.1/en/select.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;Shailaja&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 08:20:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57305#M11891</guid>
      <dc:creator>shailaja</dc:creator>
      <dc:date>2013-05-21T08:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Question: Spare disks in Filer</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57309#M11892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok.thanks for your help:-).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 17:51:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Question-Spare-disks-in-Filer/m-p/57309#M11892</guid>
      <dc:creator>raovolvoadmin</dc:creator>
      <dc:date>2013-05-21T17:51:24Z</dc:date>
    </item>
  </channel>
</rss>

