<?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 Get-NcEfficiency vs Restricted volumes in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/115616#M4727</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that when I have a restricted volume the cmd&amp;nbsp;Get-NcEfficiency fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS Prompt&amp;gt; Get-NcEfficiency&lt;/P&gt;&lt;P&gt;Get-NcEfficiency : Object reference not set to an instance of an object.&lt;BR /&gt;At line:1 char:17&lt;BR /&gt;+ Get-NcEfficiency &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (liauc94:NcController) [Get-NcEfficiency], NullReferenceException&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Toolkit.Efficiency.GetNcEfficiency&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a normal behavior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2016 21:27:33 GMT</pubDate>
    <dc:creator>PHILIPALBERT</dc:creator>
    <dc:date>2016-02-10T21:27:33Z</dc:date>
    <item>
      <title>Get-NcEfficiency vs Restricted volumes</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/115616#M4727</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that when I have a restricted volume the cmd&amp;nbsp;Get-NcEfficiency fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS Prompt&amp;gt; Get-NcEfficiency&lt;/P&gt;&lt;P&gt;Get-NcEfficiency : Object reference not set to an instance of an object.&lt;BR /&gt;At line:1 char:17&lt;BR /&gt;+ Get-NcEfficiency &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (liauc94:NcController) [Get-NcEfficiency], NullReferenceException&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Toolkit.Efficiency.GetNcEfficiency&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a normal behavior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 21:27:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/115616#M4727</guid>
      <dc:creator>PHILIPALBERT</dc:creator>
      <dc:date>2016-02-10T21:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcEfficiency vs Restricted volumes</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/115618#M4728</link>
      <description>&lt;P&gt;Well, the same behavior happens to me...so I would say it is "normal". &amp;nbsp;Is it the intended or desired result, probably not&amp;nbsp;: )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll open a bug for this...thanks for pointing it out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 21:40:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/115618#M4728</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-02-10T21:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcEfficiency vs Restricted volumes</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/115641#M4729</link>
      <description>&lt;P&gt;I was just wondering if I was the only one having that issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:25:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/115641#M4729</guid>
      <dc:creator>PHILIPALBERT</dc:creator>
      <dc:date>2016-02-11T13:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcEfficiency vs Restricted volumes</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/129742#M5339</link>
      <description>&lt;P&gt;Was there ever a bug filed for this?&amp;nbsp; I there an existing work around in place?&amp;nbsp; When&amp;nbsp; i try to run Get-NCEffiicnecy i get the same results, unsure if its a bug within the toolkit or something within my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_controllers&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;=&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt; (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Lucida Console" size="1"&gt;Get-Content&lt;/FONT&gt; &lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$controllers&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;) &lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;|&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Lucida Console" size="1"&gt;Out-string&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;|&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Lucida Console" size="1"&gt;ConvertFrom-Json&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#00008b" face="Lucida Console" size="1"&gt;foreach&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt; (&lt;/FONT&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_controller&lt;/FONT&gt; &lt;FONT color="#00008b" face="Lucida Console" size="1"&gt;in&lt;/FONT&gt; &lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_controllers&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;|&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Lucida Console" size="1"&gt;where&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt; {&lt;/FONT&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$_&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;.&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;Vendor &lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;-eq&lt;/FONT&gt; &lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;"NetApp"&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;-and&lt;/FONT&gt; &lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$_&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;.&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;Location &lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;-eq&lt;/FONT&gt; &lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;"Data Center"&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;-and&lt;/FONT&gt; &lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$_&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;.&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;OS &lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;-eq&lt;/FONT&gt; &lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;"CDOT"&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;}){&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_connect&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;=&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Lucida Console" size="1"&gt;Connect-NcController&lt;/FONT&gt; &lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_controller&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;.&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;ClusterServer &lt;/FONT&gt;&lt;FONT color="#000080" face="Lucida Console" size="1"&gt;-Credential&lt;/FONT&gt; &lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cred&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_aggregates&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;=&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Lucida Console" size="1"&gt;Get-NcAggr&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;|&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Lucida Console" size="1"&gt;?&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;{ &lt;/FONT&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$_&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;.&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;Name &lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;-notlike&lt;/FONT&gt; &lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;"*root"&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt; }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_efficiency&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;=&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Lucida Console" size="1"&gt;Get-NcEfficiency&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#00008b" face="Lucida Console" size="1"&gt;foreach&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt; (&lt;/FONT&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_aggregate&lt;/FONT&gt; &lt;FONT color="#00008b" face="Lucida Console" size="1"&gt;in&lt;/FONT&gt; &lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_aggregates&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;) {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_total_tb&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;+=&lt;/FONT&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_aggregate&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;.&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;TotalSize&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_available_tb&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;+=&lt;/FONT&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_aggregate&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;.&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;Available&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color="#00008b" face="Lucida Console" size="1"&gt;foreach&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt; (&lt;/FONT&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_vol&lt;/FONT&gt; &lt;FONT color="#00008b" face="Lucida Console" size="1"&gt;in&lt;/FONT&gt; &lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_efficiency&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;) {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_dedupe_tb&lt;/FONT&gt; &lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;+=&lt;/FONT&gt;&lt;FONT color="#ff4500" face="Lucida Console" size="1"&gt;$cdot_vol&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;.&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;Returns&lt;/FONT&gt;&lt;FONT color="#a9a9a9" face="Lucida Console" size="1"&gt;.&lt;/FONT&gt;&lt;FONT face="Lucida Console" size="1"&gt;Dedupe&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Lucida Console" size="1"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000" face="Lucida Console" size="1"&gt;Get-NcEfficiency : Object reference not set to an instance of an object.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;At E:\Michael\Netapp Heatmap Aggr Capacity.ps1:72 char:24&lt;/P&gt;&lt;P&gt;+ $cdot_efficiency = Get-NcEfficiency&lt;/P&gt;&lt;P&gt;+ ~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;+ CategoryInfo : InvalidOperation: (wdlnapc01.internal.cigna.com:NcController) [Get-NcEfficiency], NullReferenceException&lt;/P&gt;&lt;P&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Toolkit.Efficiency.GetNcEfficiency&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 19:32:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/129742#M5339</guid>
      <dc:creator>Alcazar</dc:creator>
      <dc:date>2017-04-03T19:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcEfficiency vs Restricted volumes</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/129755#M5340</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/33048"&gt;@Alcazar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was created as bug id&amp;nbsp;986240.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could exclude the root aggregates and get only online aggregates using this query...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Get-NcAggr -Query @{ AggrRaidAttributes = @{ IsRootAggregate = $false; State = "online" } }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Likewise, the same works for volumes to return only non-system volumes...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Get-NcVol -Query @{ VolumeStateAttributes = @{ IsVserverRoot = $false; IsNodeRoot = $false; State = "online" } }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which should eliminate the issue of returning aggregates which the &lt;FONT face="courier new,courier"&gt;Get-NcEfficiency&lt;/FONT&gt; cmdlet can't operate against.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 23:34:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcEfficiency-vs-Restricted-volumes/m-p/129755#M5340</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-04-03T23:34:40Z</dc:date>
    </item>
  </channel>
</rss>

