<?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-NcDisk in Toolkit and 'disk show'  in cli showing different outputs in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcDisk-in-Toolkit-and-disk-show-in-cli-showing-different-outputs/m-p/447716#M42783</link>
    <description>&lt;P&gt;I have tried this too. For smaller disks, its alright, I can ignore the small amount of difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when you are running the same command for disks more than 3.5TB, the difference is huge.&lt;/P&gt;&lt;P&gt;I can understand there will be some space allocated to system reserved things, but 400GB difference is not what I expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I was asking if there is any command which can give me usable disk space similar to cli's "disk show"&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2023 09:14:57 GMT</pubDate>
    <dc:creator>Vadiraj12</dc:creator>
    <dc:date>2023-09-20T09:14:57Z</dc:date>
    <item>
      <title>Get-NcDisk in Toolkit and 'disk show'  in cli showing different outputs</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcDisk-in-Toolkit-and-disk-show-in-cli-showing-different-outputs/m-p/447659#M42772</link>
      <description>&lt;P&gt;Get-NcDisk in Toolkit and 'disk show' in cli showing different total capacity outputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way I can get the "disk show" same output in the powershell too?&lt;/P&gt;&lt;P&gt;Powershell, its 4TB and CLI, its 3.49TB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name Shelf Bay Position Capacity RPM FW Model Paths Aggregate&lt;BR /&gt;---- ----- --- -------- -------- --- -- ----- ----- ----&lt;BR /&gt;1.0.0 0 0 shared 4 TB NA51 X4011WBORA3T8NTF 2&lt;BR /&gt;1.0.1 0 1 shared 4 TB NA51 X4011WBORA3T8NTF 2&lt;BR /&gt;1.0.18 0 18 shared 4 TB NA53 X4011S17333T8NTE 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usable Disk Container Container&lt;BR /&gt;Disk Size Shelf Bay Type Type Name Owner&lt;BR /&gt;---------------- ---------- ----- --- ------- ----------- --------- --------&lt;/P&gt;&lt;P&gt;Info: This cluster has partitioned disks. To get a complete list of spare disk capacity use "storage aggregate show-spare-disks".&lt;BR /&gt;1.0.0 3.49TB 0 0 SSD-NVM shared &amp;lt;removed&amp;gt;*&lt;BR /&gt;1.0.1 3.49TB 0 1 SSD-NVM shared &amp;lt;removed&amp;gt;*&lt;BR /&gt;1.0.2 3.49TB 0 2 SSD-NVM shared &amp;lt;removed&amp;gt;*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*removed the aggregate details&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:45:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcDisk-in-Toolkit-and-disk-show-in-cli-showing-different-outputs/m-p/447659#M42772</guid>
      <dc:creator>Vadiraj12</dc:creator>
      <dc:date>2025-06-04T09:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcDisk in Toolkit and 'disk show'  in cli showing different outputs</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcDisk-in-Toolkit-and-disk-show-in-cli-showing-different-outputs/m-p/447683#M42773</link>
      <description>&lt;P&gt;You could build a wrapper function that called get-ncdisks, manipulates the data, and spits out the info in the way you want - I have tons of these.&lt;BR /&gt;Also, if you run get-ncdisk | select -first 1 | select * in PS, you will see all the data that is returned. The Ontap module&amp;nbsp; has a "filter" to show the data that you get when you just run get-ncdisk, basically formats it so it looks nice.&lt;BR /&gt;In the command above, for my 1.09 TB disk (this is the number from the ontap console using&amp;nbsp; disk show) I get&lt;BR /&gt;Capacity : 1218997503360&lt;BR /&gt;Now to convert that number to something nicer you have to do some math.&lt;BR /&gt;The Ontap powershell module has a function called convertto-formattednumber. If I use that I get&lt;BR /&gt;&amp;gt; convertto-formattednumber 1218997503360&lt;BR /&gt;1T&lt;/P&gt;&lt;P&gt;If I use the powershell way I get this&lt;BR /&gt;&amp;gt; 1218997503360 / 1tb&lt;BR /&gt;1.10867177078035&lt;BR /&gt;Which is a little more accurate. Then you can format the result to get to 1.10TB.&amp;nbsp; I never got to the point of getting 1.09. I assume its what ever math is getting used to display the number on the console. Or that the 1.09TB is a value coming from the drive itself.&amp;nbsp;&lt;BR /&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 12:06:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcDisk-in-Toolkit-and-disk-show-in-cli-showing-different-outputs/m-p/447683#M42773</guid>
      <dc:creator>murdock01</dc:creator>
      <dc:date>2023-09-19T12:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcDisk in Toolkit and 'disk show'  in cli showing different outputs</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcDisk-in-Toolkit-and-disk-show-in-cli-showing-different-outputs/m-p/447716#M42783</link>
      <description>&lt;P&gt;I have tried this too. For smaller disks, its alright, I can ignore the small amount of difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when you are running the same command for disks more than 3.5TB, the difference is huge.&lt;/P&gt;&lt;P&gt;I can understand there will be some space allocated to system reserved things, but 400GB difference is not what I expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I was asking if there is any command which can give me usable disk space similar to cli's "disk show"&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 09:14:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcDisk-in-Toolkit-and-disk-show-in-cli-showing-different-outputs/m-p/447716#M42783</guid>
      <dc:creator>Vadiraj12</dc:creator>
      <dc:date>2023-09-20T09:14:57Z</dc:date>
    </item>
  </channel>
</rss>

