<?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: Get-NaQtree shows wrong OwningVfiler in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaQtree-shows-wrong-OwningVfiler/m-p/101780#M4185</link>
    <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you connecting to the controller and vfiler before listing the qtrees? Note from the cmdlet help for get-naqtree&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Controller &amp;lt;NaController&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The Data ONTAP controller object, embodied by an NaController object.&amp;nbsp; This parameter is returned by the Connec&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t-NaController cmdlet.&amp;nbsp; If not specified, the value in the global variable CurrentNaController is used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you connect to the controller and vfiler using the "connect-nacontroller" cmdlet the vfiler context is set then the "get-naqtree" cmdlet will only list qtrees assigned to that vfiler. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Import-Module DataONTAP&lt;BR /&gt;$controllername = "testns01"&lt;BR /&gt;$vfilerName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "testnv01"&lt;BR /&gt;$username&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "root"&lt;BR /&gt;$password&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Read-Host "Please enter the password for user ""$username""" -AsSecureString&lt;BR /&gt;$credentials&amp;nbsp;&amp;nbsp;&amp;nbsp; = New-Object System.Management.Automation.PSCredential -ArgumentList $username, $password&lt;BR /&gt;Connect-NaController -Name $controllername -Vfiler $vfilerName -HTTPS -Credential $credentials&lt;BR /&gt;Get-NaQtree&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you connect to the controller (without specifying the vfiler) then it will list all qtrees...however i see your point about the "OwningVfiler" property as it is "vFiler0" for all qtrees.&lt;/P&gt;&lt;P&gt;A workaround would be to use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoke-NaSsh -Command "qtree status -v"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as this will report the "owning vfiler" field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/matt&lt;/P&gt;</description>
    <pubDate>Sun, 15 Mar 2015 23:46:39 GMT</pubDate>
    <dc:creator>mbeattie</dc:creator>
    <dc:date>2015-03-15T23:46:39Z</dc:date>
    <item>
      <title>Get-NaQtree shows wrong OwningVfiler</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaQtree-shows-wrong-OwningVfiler/m-p/101777#M4184</link>
      <description>&lt;P&gt;Not sure if anyone else has seen this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using "qtree status -v" CLI on a 7-mode system I see correct information of which vFiler a specific qtree is belonging to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using "Get-NaQtree" from the ONTAP PS Toolkit, it does not correctly reflect this, shows "vfiler0" as OwningVfiler for all my qtrees.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried with ONTAP PS Toolkit 3.2.0 and 3.2.1 with DOT 8.1.4P8 7-mode and DOT 8.2.3P1 7-mode. Get-NcQtree (cDOT) is showing the vserver properly, but Get-NaQtree does not show correct vFiler!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone confirm this is a bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:52:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaQtree-shows-wrong-OwningVfiler/m-p/101777#M4184</guid>
      <dc:creator>mark_schuren</dc:creator>
      <dc:date>2025-06-05T04:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NaQtree shows wrong OwningVfiler</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaQtree-shows-wrong-OwningVfiler/m-p/101780#M4185</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you connecting to the controller and vfiler before listing the qtrees? Note from the cmdlet help for get-naqtree&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Controller &amp;lt;NaController&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The Data ONTAP controller object, embodied by an NaController object.&amp;nbsp; This parameter is returned by the Connec&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t-NaController cmdlet.&amp;nbsp; If not specified, the value in the global variable CurrentNaController is used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you connect to the controller and vfiler using the "connect-nacontroller" cmdlet the vfiler context is set then the "get-naqtree" cmdlet will only list qtrees assigned to that vfiler. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Import-Module DataONTAP&lt;BR /&gt;$controllername = "testns01"&lt;BR /&gt;$vfilerName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "testnv01"&lt;BR /&gt;$username&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "root"&lt;BR /&gt;$password&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Read-Host "Please enter the password for user ""$username""" -AsSecureString&lt;BR /&gt;$credentials&amp;nbsp;&amp;nbsp;&amp;nbsp; = New-Object System.Management.Automation.PSCredential -ArgumentList $username, $password&lt;BR /&gt;Connect-NaController -Name $controllername -Vfiler $vfilerName -HTTPS -Credential $credentials&lt;BR /&gt;Get-NaQtree&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you connect to the controller (without specifying the vfiler) then it will list all qtrees...however i see your point about the "OwningVfiler" property as it is "vFiler0" for all qtrees.&lt;/P&gt;&lt;P&gt;A workaround would be to use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoke-NaSsh -Command "qtree status -v"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as this will report the "owning vfiler" field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/matt&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2015 23:46:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaQtree-shows-wrong-OwningVfiler/m-p/101780#M4185</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2015-03-15T23:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NaQtree shows wrong OwningVfiler</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaQtree-shows-wrong-OwningVfiler/m-p/101788#M4187</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the reply. Looks like I expected a little too much from it - thought it would give me the same thing like the CLI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I connect to the physical box and wanted to have the OwningvFiler field correctly populated. Of course I could go and iterate through all vfilers (if existing), or parse the CLI output myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I also notice that the culprit is obviously not the cmdlet, but Ontapi itself. When I try an "qtree list" API call (e.g. through ZEDI), the filer returns the same "incorrect" (at least unexpected) field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:39:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaQtree-shows-wrong-OwningVfiler/m-p/101788#M4187</guid>
      <dc:creator>mark_schuren</dc:creator>
      <dc:date>2015-03-16T08:39:12Z</dc:date>
    </item>
  </channel>
</rss>

