<?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-NcLun fails with JSON integer is too large or small for an int32 in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/441577#M6672</link>
    <description>&lt;P&gt;This works fine to the same array under an old module 9.7.0.0 but fails with this error under 9.11.1.2208 and 9.12.1.2302&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NcLun : JSON integer 5556847471 is too large or small for an Int32. Path 'statistics.latency_raw.read', line 151,&lt;BR /&gt;position 24.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Get-NcLun&lt;BR /&gt;+ ~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [Get-NcLun], ArgumentException&lt;BR /&gt;+ FullyQualifiedErrorId : JSON integer 5556847471 is too large or small for an Int32. Path 'statistics.latency_raw&lt;BR /&gt;.read', line 151, position 24.,DataONTAP.C.PowerShell.SDK.Cmdlets.Lun.GetNcLun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:53:03 GMT</pubDate>
    <dc:creator>Carey_Lee</dc:creator>
    <dc:date>2025-06-04T09:53:03Z</dc:date>
    <item>
      <title>Get-NcLun fails with JSON integer is too large or small for an int32</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/441577#M6672</link>
      <description>&lt;P&gt;This works fine to the same array under an old module 9.7.0.0 but fails with this error under 9.11.1.2208 and 9.12.1.2302&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NcLun : JSON integer 5556847471 is too large or small for an Int32. Path 'statistics.latency_raw.read', line 151,&lt;BR /&gt;position 24.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Get-NcLun&lt;BR /&gt;+ ~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [Get-NcLun], ArgumentException&lt;BR /&gt;+ FullyQualifiedErrorId : JSON integer 5556847471 is too large or small for an Int32. Path 'statistics.latency_raw&lt;BR /&gt;.read', line 151, position 24.,DataONTAP.C.PowerShell.SDK.Cmdlets.Lun.GetNcLun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:53:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/441577#M6672</guid>
      <dc:creator>Carey_Lee</dc:creator>
      <dc:date>2025-06-04T09:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcLun fails with JSON integer is too large or small for an int32</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/441656#M6673</link>
      <description>&lt;P&gt;To add a bit more this started after upgrading to 9.11.1p5 but I suspect any 9.11.X has this issue.&amp;nbsp; Called NetApp support they will not help and told me to come here which I had already done but no replies so I guess the powershell toolkit is not something they want to work.&amp;nbsp; Kind of disheartening to be honest.&amp;nbsp; I beleive but can't prove it now that I've upgraded all my arrays that this property "statistics.latency_raw.read" didn't exist in the old version.&amp;nbsp; When using powershell tollkit 9.11.x.x the property doesn't exists when you do a Get-NcLun | get-memebr which is why it works.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 01:15:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/441656#M6673</guid>
      <dc:creator>Carey_Lee</dc:creator>
      <dc:date>2023-02-15T01:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcLun fails with JSON integer is too large or small for an int32</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/442546#M6686</link>
      <description>&lt;P&gt;Same problem here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked fine in the old "DataONTAP" module (version 9.8 in my case) but it fails with "NetApp.ONTAP" version 9.12.1.2302&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:46:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/442546#M6686</guid>
      <dc:creator>RafaelVarela</dc:creator>
      <dc:date>2023-03-17T14:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcLun fails with JSON integer is too large or small for an int32</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/442552#M6687</link>
      <description>&lt;P&gt;Very disappointed in NetApp.&amp;nbsp; They haven't helped and have given me the official we don't support the toolkit and to come here for support.&amp;nbsp; I said wait a minute on GitHUB it says "Copyrighted by NetApp and all the developers that are taking credit work for NetApp so excuse me for thinking you might support your own product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get around it by using a template that only selected what I needed and not the performance numbers that are causing the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Workaround to avoid reading Statistics data which errors. Only read the below properties when reading fron Array.&lt;BR /&gt;$lun_template = Get-NcLun -template&lt;BR /&gt;$lun_template.vServer ="*"&lt;BR /&gt;$lun_template.Path ="*"&lt;BR /&gt;$lun_template.Mapped ="*"&lt;BR /&gt;$lun_template.Online ="*"&lt;BR /&gt;$lun_template.Volume ="*"&lt;/P&gt;&lt;P&gt;Try{&lt;BR /&gt;$luns = Get-NcLun -Attributes $lun_template -ErrorAction Stop&lt;BR /&gt;}Catch{&lt;BR /&gt;Write-Host "Failed Enumerating LUNs on $MyArray"&lt;BR /&gt;If ($Report) {"Failed Enumerating LUNs on $MyArray" | Out-File -FilePath $OutputFile -Append -Encoding utf8 }&lt;BR /&gt;Break&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Fri, 17 Mar 2023 17:52:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/442552#M6687</guid>
      <dc:creator>Carey_Lee</dc:creator>
      <dc:date>2023-03-17T17:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcLun fails with JSON integer is too large or small for an int32</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/442559#M6688</link>
      <description>&lt;P&gt;Yes, it helps. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 20:10:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcLun-fails-with-JSON-integer-is-too-large-or-small-for-an-int32/m-p/442559#M6688</guid>
      <dc:creator>RafaelVarela</dc:creator>
      <dc:date>2023-03-17T20:10:19Z</dc:date>
    </item>
  </channel>
</rss>

