<?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: powershell toolkit 9.13 1.2306 get-NcQuota is not working correctly for all volumes in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450345#M646</link>
    <description>Hi Silvassy, Could you please share the debug logs for both ZAPI and REST using the 'Set-Natoolkitconfiguration debug' command? Providing this information will help us gain a deeper insight into the problem. -Saharsh</description>
    <pubDate>Thu, 18 Jan 2024 21:39:46 GMT</pubDate>
    <dc:creator>saharsh</dc:creator>
    <dc:date>2024-01-18T21:39:46Z</dc:date>
    <item>
      <title>powershell toolkit 9.13 1.2306 get-NcQuota is not working correctly for all volumes</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450244#M644</link>
      <description>&lt;P&gt;hello all, while trying to do some data collection I stumbled into get-NcQuota not working.&lt;/P&gt;&lt;P&gt;Researching here I found a few ways to use the old zapi style call which works fine, but for ongoing what might be the issue with the REST Api call that is breaking?&amp;nbsp; and will it be fixed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have anonymized the details, but I have many volumes where the rest type call that will ether show 0-3 replies then give&amp;nbsp; the error below.&amp;nbsp; I have a select few volumes where the output is as expected for REST (which is not good, but at least something)&lt;/P&gt;&lt;P&gt;"Get-NcQuota: The input string '-' was not in a correct format."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;details:&amp;nbsp; cli output, then powershell with REST, then powershell with zapi&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cluster CLI output&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cluster::&amp;gt; quota policy rule show -vserver cluster_pub -volume example1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Vserver: cluster_pub Policy: default Volume: example1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Soft Soft&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;User Disk Disk Files Files&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Type Target Qtree Mapping Limit Limit Limit Limit Threshold&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;----- -------- ------- ------- -------- ------- ------ ------- ---------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex1_tree1 "" - 6GB 5GB - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex1_tree2 "" - 6GB 5GB - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex1_tree3 "" - 22GB 20GB - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex1_tree4 "" - 355GB 350GB - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex1_tree5 "" - 10GB 9.90GB - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;5 entries were displayed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;cluster::&amp;gt; quota policy rule show -vserver cluster_pub -volume example2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Vserver: cluster_pub Policy: default Volume: example2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Soft Soft&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;User Disk Disk Files Files&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Type Target Qtree Mapping Limit Limit Limit Limit Threshold&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;----- -------- ------- ------- -------- ------- ------ ------- ---------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex2_tree1 "" - 56.51GB 51.38GB - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex2_tree2 "" - 100GB - - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex2_tree3 "" - 150GB - - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex2_tree4 "" - 205GB 200GB - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree ex2_tree4 "" - 30GB 25GB - - -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;5 entries were displayed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;powershell toolkit using rest&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS C:\powershell_out&amp;gt; get-ncquota -vserver 'cluster_pub' -volume example1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;QuotaType QuotaTarget Volume Qtree DiskLimit FileLimit Vserver&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--------- ----------- ------ ----- --------- --------- -------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree example1 ex1_tree1 6291456 cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree example1 ex1_tree2 6291456 cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree example1 ex1_tree3 23068672 cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree example1 ex1_tree4 372244480 cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree example1 ex1_tree5 10485760 cluster…&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS C:\powershell_out&amp;gt; get-ncquota -vserver 'cluster_pub' -volume example2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;QuotaType QuotaTarget Volume Qtree DiskLimit FileLimit Vserver&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--------- ----------- ------ ----- --------- --------- -------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree example2 ex2_tree1 59260307 cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Get-NcQuota: The input string '-' was not in a correct format.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;powershell toolkit using zapi&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS C:powershell_out&amp;gt; get-ncquota -vserver 'cluster_pub' -volume example1 -zapicall&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;QuotaType QuotaTarget Volume Qtree DiskLimit FileLimit Vserver&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--------- ----------- ------ ----- --------- --------- -------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example1/ex1_tree1 example1 6291456 - cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example1/ex1_tree2 example1 6291456 - cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example1/ex1_tree3 example1 23068672 - cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example1/ex1_tree4 example1 372244480 - cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example1/ex1_tree5 example1 10485760 - cluster…&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PS C:powershell_out&amp;gt; get-ncquota -vserver 'cluster_pub' -volume example2 -zapicall&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;QuotaType QuotaTarget Volume Qtree DiskLimit FileLimit Vserver&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--------- ----------- ------ ----- --------- --------- -------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example2/ex2_tree1 example2 59260307 - cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example2/ex2_tree2 example2 104857600 - cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example2/ex2_tree3 example2 157286400 - cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example2/ex2_tree4 example2 214958080 - cluster…&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;tree /vol/example2/ex2_tree4 example2 31457280 - cluster…&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:42:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450244#M644</guid>
      <dc:creator>silvassy</dc:creator>
      <dc:date>2025-06-04T09:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: powershell toolkit 9.13 1.2306 get-NcQuota is not working correctly for all volumes</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450247#M645</link>
      <description>&lt;P&gt;I did some testing using just RESTapi calls via swaggerUI and for the same volume that works there, but the toolkit using REST fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the path to get this corrected?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 14:39:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450247#M645</guid>
      <dc:creator>silvassy</dc:creator>
      <dc:date>2024-01-12T14:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: powershell toolkit 9.13 1.2306 get-NcQuota is not working correctly for all volumes</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450345#M646</link>
      <description>Hi Silvassy, Could you please share the debug logs for both ZAPI and REST using the 'Set-Natoolkitconfiguration debug' command? Providing this information will help us gain a deeper insight into the problem. -Saharsh</description>
      <pubDate>Thu, 18 Jan 2024 21:39:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450345#M646</guid>
      <dc:creator>saharsh</dc:creator>
      <dc:date>2024-01-18T21:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: powershell toolkit 9.13 1.2306 get-NcQuota is not working correctly for all volumes</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450372#M648</link>
      <description>&lt;P&gt;Hi silvassy, We are able to identify the issue, we will address and resolve this in the upcoming 9.15.1 PSTK release. Thanks, Saharsh&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 12:27:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450372#M648</guid>
      <dc:creator>saharsh</dc:creator>
      <dc:date>2024-01-22T12:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: powershell toolkit 9.13 1.2306 get-NcQuota is not working correctly for all volumes</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450717#M650</link>
      <description>&lt;P&gt;Is there any public bug tracker for these issues?&lt;/P&gt;&lt;P&gt;I am running into many issues with the rest based calls and it would be good to know if they are known bugs or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also it does not seem like the rest calls are&amp;nbsp; fully equivalent for everyday use yet.&amp;nbsp; and are even slower than the zapi based calls.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 20:12:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/powershell-toolkit-9-13-1-2306-get-NcQuota-is-not-working-correctly-for-all/m-p/450717#M650</guid>
      <dc:creator>silvassy</dc:creator>
      <dc:date>2024-02-09T20:12:11Z</dc:date>
    </item>
  </channel>
</rss>

