<?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: Busy Luns reporting in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19627#M961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Andy.&amp;nbsp; Sorry about that.&amp;nbsp; There is nothing wrong with the example I posted, but it highlights a strange PowerShell behavior I recently ran across.&amp;nbsp; In some cases the $currentNaController value gets wrapped by a PSVariable instance, which causes the Toolkit to throw the exception.&amp;nbsp; A workaround for the issue is in the forthcoming Toolkit 1.3 release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Jan 2011 19:33:11 GMT</pubDate>
    <dc:creator>cknight</dc:creator>
    <dc:date>2011-01-29T19:33:11Z</dc:date>
    <item>
      <title>Busy Luns reporting</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19612#M958</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 looking to generate a script that will report the snapshots that have the busy,luns dependency across our netapp filers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At present the below syntax which is being written for a filer by filer basis displays the busy luns in the dependency and snapshot name property as required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get-navol | get-nasnapshot | where-object{$_.dependency -eq"busy,luns"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would like to also report on the filer name and volume name along with the above two properties but these are not listed in the get-members of the nasnapshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help how to displays these from I guess the get-navol properties?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 17:10:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19612#M958</guid>
      <dc:creator>andymac73</dc:creator>
      <dc:date>2011-01-20T17:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Busy Luns reporting</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19617#M959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Andy.&amp;nbsp; This should get you started:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: courier new,courier; "&gt;PS C:\&amp;gt; Get-NaVol | % { $vol = $_.Name; Get-NaSnapshot $vol | Add-Member NoteProperty Volume $vol -PassThru } | Add-Member NoteProperty Controller $currentNaController.Name -PassThru | ? { $_.Dependency -LIKE "*busy*" } | ft Controller,Volume,Name,Dependency -Autosize&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: courier new,courier; "&gt;Controller Volume&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dependency&lt;BR /&gt;---------- ------&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------&lt;BR /&gt;dunn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vol1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clone_vol1clone.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; busy,vclone&lt;BR /&gt;dunn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vol2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {1670257f-602b-4cf8-ac8a-b94e21486c95} busy,LUNs,vclone&lt;BR /&gt;dunn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vol2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clone_vol2clone.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; busy,vclone&lt;BR /&gt;dunn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vol2clone {1670257f-602b-4cf8-ac8a-b94e21486c95} busy,LUNs&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 21:01:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19617#M959</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2011-01-25T21:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Busy Luns reporting</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19621#M960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial; "&gt;thanks Clinton, it looks exactly what I need.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt; unfortunately I get the below error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;Get-NaVol : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController&lt;BR /&gt;At line:1 char:10&lt;BR /&gt;+ Get-NaVol &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; | % { $vol = $_.Name; Get-NaSnapshot $vol | Add-Member NoteProperty Volume $vol -PassThru } | Add-Member NoteProperty Controller $currentNaController.Name -PassThru | ? { $_.Depende&lt;BR /&gt;ncy -eq "busy,luns" } | ft Controller,Volume,Name,Dependency -Autosize&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidArgument: (:) [Get-NaVol], ArgumentException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.PowerShell.SDK.Cmdlets.Volume.GetNaVol&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;after this even a get-navol returns the same error, I have to reconnect to the controller again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;I have a look in the variables pre and post execution and it looks no different&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 22:56:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19621#M960</guid>
      <dc:creator>andymac73</dc:creator>
      <dc:date>2011-01-28T22:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Busy Luns reporting</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19627#M961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Andy.&amp;nbsp; Sorry about that.&amp;nbsp; There is nothing wrong with the example I posted, but it highlights a strange PowerShell behavior I recently ran across.&amp;nbsp; In some cases the $currentNaController value gets wrapped by a PSVariable instance, which causes the Toolkit to throw the exception.&amp;nbsp; A workaround for the issue is in the forthcoming Toolkit 1.3 release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 19:33:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19627#M961</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2011-01-29T19:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Busy Luns reporting</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19631#M962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy, I've just posted Toolkit 1.3.&amp;nbsp; Please let me know whether it resolves your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 22:01:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19631#M962</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2011-01-31T22:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Busy Luns reporting</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19639#M963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Clinton. That indeed has fixed the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for all your efforts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 11:55:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/19639#M963</guid>
      <dc:creator>andymac73</dc:creator>
      <dc:date>2011-02-01T11:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Busy Luns reporting</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/112821#M4584</link>
      <description>&lt;P&gt;How can we add related vfiler to the busy vclone?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 07:30:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Busy-Luns-reporting/m-p/112821#M4584</guid>
      <dc:creator>anisha05</dc:creator>
      <dc:date>2015-11-23T07:30:38Z</dc:date>
    </item>
  </channel>
</rss>

