<?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-NcVolSize command not reporting volsize correctly when &amp;gt; 1024GB using  Ontap Powershell T in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153362#M34277</link>
    <description>&lt;P&gt;Hi Donny,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've updated my FAS Arrays during september as I said i my earlier post, but I observe the same issue, is there any other test I can do to debug the situation (or maybe au workaround with another cmdlet)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance,&lt;/P&gt;
&lt;P&gt;FAS2620 in 9.5P7&lt;/P&gt;
&lt;P&gt;powershell module : 9.6.0&lt;/P&gt;
&lt;P&gt;powershell server : Windows 2012R2 (6.3.9600) or Windows 2016&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2020 17:55:38 GMT</pubDate>
    <dc:creator>lafoucrier</dc:creator>
    <dc:date>2020-01-06T17:55:38Z</dc:date>
    <item>
      <title>Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell Toolkit</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/149957#M33366</link>
      <description>&lt;P&gt;Hello Powershell Coders,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My config :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Powershelltoolkit&amp;nbsp;: 9.6.0 ou 4.5.0&lt;/P&gt;
&lt;P&gt;Dataontap&amp;nbsp;: 9.4P2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm facing a strange problem with command&amp;nbsp;&amp;nbsp; Get-NcVolSize :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- volsize&amp;nbsp; &amp;lt; to 1024 GB or a strict multiple of 1024GB&amp;nbsp; (ex : 2048GB) is reported correctly,&lt;/P&gt;
&lt;P&gt;- volsize&amp;nbsp; &amp;gt; to 1024 GB or not strict multiple of 1024GB&amp;nbsp; (ex : 1025GB) is reported incorrectly (equal to 0 systematically).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This behaviour have a side effect on "Set-NcVolSize" command, for volume &amp;gt; to 1024GB&amp;nbsp;or not strict multiple of 1024, and make the resize command fail!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone experiencing the same issue/ has a workaround for this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yannick&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 16:07:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/149957#M33366</guid>
      <dc:creator>lafoucrier</dc:creator>
      <dc:date>2019-07-31T16:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/149958#M33367</link>
      <description>&lt;P&gt;Can you show us the command you're running and the output where the volume size is reported incorrectly (sanitizing volume/vserver names as necessary)?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Donny&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 18:19:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/149958#M33367</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2019-07-31T18:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/149970#M33368</link>
      <description>&lt;P&gt;here is the command i use (very simple) :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get-NcVolSize&amp;nbsp; &amp;lt;volume name&amp;gt; -VserverContext &amp;lt;vservername&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when the volume is under or equal to 1024 (return in json format) :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"VolumeSize": &lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;548682072064&lt;/STRONG&gt;&lt;/FONT&gt;,&lt;BR /&gt;"IsReadOnlyFlexVol": false,&lt;BR /&gt;"IsReplicaFlexVol": false,&lt;BR /&gt;"IsFixedSizeFlexVol": false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when the volume is above 1024 (here set to 1025) (return in json format) :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"VolumeSize": &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/FONT&gt;,&lt;BR /&gt;"IsReadOnlyFlexVol": false,&lt;BR /&gt;"IsReplicaFlexVol": false,&lt;BR /&gt;"IsFixedSizeFlexVol": false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 09:10:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/149970#M33368</guid>
      <dc:creator>lafoucrier</dc:creator>
      <dc:date>2019-08-01T09:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/150621#M33519</link>
      <description>&lt;P&gt;Hello Donny,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the last informations I give sufficient?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you have reproduce my issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance,&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 12:55:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/150621#M33519</guid>
      <dc:creator>lafoucrier</dc:creator>
      <dc:date>2019-08-30T12:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/150623#M33520</link>
      <description>&lt;P&gt;I am not able to replicate this issue, unfortunately. However, I do not have a system running 9.4 available to determine if it is something specific with that version - I have 9.3 in production and 9.6 in the lab; neither of them exhibit the same issue with version 9.6 of the PS Toolkit.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 13:15:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/150623#M33520</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2019-08-30T13:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/150624#M33521</link>
      <description>&lt;P&gt;thank you for the tests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;During september I will update my FAS in 9.5 or 9.6, I'll retry test after that and update the thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 13:33:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/150624#M33521</guid>
      <dc:creator>lafoucrier</dc:creator>
      <dc:date>2019-08-30T13:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/151394#M33711</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've updated my FAS Arrays during september as I said i my earlier post, but I observe the same issue....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FAS2620 in 9.5P7&lt;/P&gt;
&lt;P&gt;powershell module : 9.6.0&lt;/P&gt;
&lt;P&gt;powershell server : Windows 2012R2 (6.3.9600)&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 11:39:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/151394#M33711</guid>
      <dc:creator>lafoucrier</dc:creator>
      <dc:date>2019-10-02T11:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/151827#M33798</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/77625"&gt;@donny_lang&lt;/a&gt;&amp;nbsp; Can you please help&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/4061"&gt;@lafoucrier&lt;/a&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;Thanks&lt;/P&gt;
&lt;P&gt;Rajesh&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 08:46:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/151827#M33798</guid>
      <dc:creator>RajeshPanda</dc:creator>
      <dc:date>2019-10-18T08:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153362#M34277</link>
      <description>&lt;P&gt;Hi Donny,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've updated my FAS Arrays during september as I said i my earlier post, but I observe the same issue, is there any other test I can do to debug the situation (or maybe au workaround with another cmdlet)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance,&lt;/P&gt;
&lt;P&gt;FAS2620 in 9.5P7&lt;/P&gt;
&lt;P&gt;powershell module : 9.6.0&lt;/P&gt;
&lt;P&gt;powershell server : Windows 2012R2 (6.3.9600) or Windows 2016&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 17:55:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153362#M34277</guid>
      <dc:creator>lafoucrier</dc:creator>
      <dc:date>2020-01-06T17:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153375#M34278</link>
      <description>&lt;P&gt;Sorry for the delay. On the larger than 1024GB volume, can you try to collect the volume size from Get-NcVol instead to see if that works:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Get-NcVol -Vserver &amp;lt;vserver&amp;gt; -Volume &amp;lt;volume&amp;gt; | fl TotalSize&lt;/PRE&gt;
&lt;P&gt;It'll (theoretically) report the volume size in bytes, which should be a non-zero number. If that doesn't work, we can try to query it via the ZAPI call directly with Invoke-NcSystemApi and see if that yields any different output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 19:36:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153375#M34278</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2020-01-06T19:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153393#M34283</link>
      <description>&lt;P&gt;Hi Donny,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you, this command works well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What i'm trying to do initialy was a&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set-NcVolSize -NewSize &amp;lt;newSize&amp;gt; -Name &amp;lt;volname&amp;gt; -VserverContext &amp;lt;vservename&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but this command fail with the same behaviour as Get-NcVolSize&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you also have a command to bypass this one?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yann&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 09:10:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153393#M34283</guid>
      <dc:creator>lafoucrier</dc:creator>
      <dc:date>2020-01-07T09:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153400#M34290</link>
      <description>&lt;P&gt;Try with Invoke-NcSystemApi like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$Volume = "&amp;lt;your volume&amp;gt;"
$NewSize = "&amp;lt;desired size&amp;gt;"
$Vserver = "&amp;lt;your SVM&amp;gt;"

$Request = @"

  &amp;lt;volume-size&amp;gt;
    &amp;lt;new-size&amp;gt;$NewSize&amp;lt;/new-size&amp;gt;
    &amp;lt;volume&amp;gt;$Volume&amp;lt;/volume&amp;gt;
  &amp;lt;/volume-size&amp;gt;

"@

Invoke-NcSystemApi -Request $Request -VserverContext $Vserver&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jan 2020 14:18:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153400#M34290</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2020-01-07T14:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153406#M34295</link>
      <description>&lt;P&gt;Thank You Donny, your workaround is working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any idea why both commandlet Get-NcVolSize an Set-NcVolSize will fail in my context?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yann&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 16:04:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153406#M34295</guid>
      <dc:creator>lafoucrier</dc:creator>
      <dc:date>2020-01-07T16:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVolSize command not reporting volsize correctly when &gt; 1024GB using  Ontap Powershell T</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153407#M34296</link>
      <description>&lt;P&gt;Glad it's working!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I had to guess, I'd say it is a strange bug in the module for those two cmdlets.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 16:22:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcVolSize-command-not-reporting-volsize-correctly-when-gt-1024GB-using-Ontap/m-p/153407#M34296</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2020-01-07T16:22:50Z</dc:date>
    </item>
  </channel>
</rss>

