<?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: Units for &amp;quot;snapshot show -fields size&amp;quot; in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Units-for-quot-snapshot-show-fields-size-quot/m-p/115789#M24683</link>
    <description>&lt;P&gt;Use the "set" command. &amp;nbsp;Here are the options for units:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    [-units {auto|raw|B|KB|MB|GB|TB|PB}] - Data Units
         Use this parameter to specify the default units used when reporting data sizes. Possible values are:

         o   auto - Auto-scale data size for human-readable output

         o   raw - Bytes without unit designation

         o   B - Bytes

         o   KB - Kilobytes

         o   MB - Megabytes

         o   GB - Gigabytes

         o   TB - Terabytes

         o   PB - Petabytes

         The default setting is auto.&lt;/PRE&gt;&lt;P&gt;For example, to always display in MB you would use "set -units MB" from the clustershell.&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;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2016 01:29:37 GMT</pubDate>
    <dc:creator>asulliva</dc:creator>
    <dc:date>2016-02-16T01:29:37Z</dc:date>
    <item>
      <title>Units for "snapshot show -fields size"</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Units-for-quot-snapshot-show-fields-size-quot/m-p/115786#M24680</link>
      <description>&lt;P&gt;I've got a fair number of volumes with daily and weekly snapshots (i.e., snapshots whose names start with daily.2016-02* or weekly.2016-02*), and my management is getting curious about how much space the snapshots are taking up in a given SVM. It feels like a command as simple as&amp;nbsp;&lt;STRONG&gt;snapshot show -vserver foobar -fields size -snapshot weekly.*&amp;nbsp;&lt;/STRONG&gt;will do the trick, and it mostly is? Except that snapshots less than 1GB are shown in megabytes, and I'd love it a great deal if the CLI would show me all the numbers in GB, even if it's less than 1 (i.e., 0.43GB or what have you). Is that a thing I can do? Or is there some other kind of voodoo I'd need to do with OCUM (5.2, if that's relevant)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:03:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Units-for-quot-snapshot-show-fields-size-quot/m-p/115786#M24680</guid>
      <dc:creator>SMLocke</dc:creator>
      <dc:date>2025-06-04T22:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Units for "snapshot show -fields size"</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Units-for-quot-snapshot-show-fields-size-quot/m-p/115789#M24683</link>
      <description>&lt;P&gt;Use the "set" command. &amp;nbsp;Here are the options for units:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    [-units {auto|raw|B|KB|MB|GB|TB|PB}] - Data Units
         Use this parameter to specify the default units used when reporting data sizes. Possible values are:

         o   auto - Auto-scale data size for human-readable output

         o   raw - Bytes without unit designation

         o   B - Bytes

         o   KB - Kilobytes

         o   MB - Megabytes

         o   GB - Gigabytes

         o   TB - Terabytes

         o   PB - Petabytes

         The default setting is auto.&lt;/PRE&gt;&lt;P&gt;For example, to always display in MB you would use "set -units MB" from the clustershell.&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;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 01:29:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Units-for-quot-snapshot-show-fields-size-quot/m-p/115789#M24683</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-02-16T01:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Units for "snapshot show -fields size"</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Units-for-quot-snapshot-show-fields-size-quot/m-p/115827#M24699</link>
      <description>&lt;P&gt;This did the trick!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Caveat: setting units to GB will show all values less than 1GB as 0GB, not as a decimal value between 0 and 1 GB. Therefore setting units to MB (in my use case) makes more sense.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 15:58:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Units-for-quot-snapshot-show-fields-size-quot/m-p/115827#M24699</guid>
      <dc:creator>SMLocke</dc:creator>
      <dc:date>2016-02-16T15:58:32Z</dc:date>
    </item>
  </channel>
</rss>

