<?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: Automatically resizing a large amount of flex vols after manual deletion of data in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Automatically-resizing-a-large-amount-of-flex-vols-after-manual-deletion-of-data/m-p/454555#M43871</link>
    <description>&lt;P&gt;I assume , the operations is to &lt;STRONG&gt;reduce&lt;/STRONG&gt; the volume size to 97% of its used size and the reason is some of the old data is clean up.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Now none of the below volumes options will reduce the volume size automatically.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;space-nearly-full-threshold-percent&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;space-full-threshold-percent&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;autosize-grow-threshold-percent&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;autosize-shrink-threshold-percent&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;All the below option in the volume must be be used to&amp;nbsp;automatically grow and shrink according to how much space volume currently require&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;autosize-mode &lt;STRONG&gt;grow_shrink&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Automatic shrinking prevents a volume from being larger than needed, freeing space in the aggregate for use by other volumes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;BR /&gt;The following command enables automatic size changes for a volume called "volume_resize" The volume is configured to begin shrinking when it is 70% full and grow when the volume is 80% full and the volume can grow upto 300TB of size.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TestCluster::*&amp;gt; volume modify -vserver vsdemo&amp;nbsp;-volume volume_resize&amp;nbsp;&lt;FONT face="inherit"&gt;-autosize-mode grow_shrink -autosize-grow-threshold-percent 80% -autosize-shrink-threshold-percent 70%&amp;nbsp; -max-autosize 300t&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;Volume modify successful on volume VMBootDataStore of Vserver vsdemo.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TestCluster::*&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; :&lt;BR /&gt;* Maximum size of the volume supported have changed over different ONTAP Releases&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* Autoshrink can only be used in combination with autogrow to meet changing space demands and is not available alone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* Thin Volumes will also help in use of physical storage as we use.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 18 Aug 2024 09:33:16 GMT</pubDate>
    <dc:creator>jaikumar</dc:creator>
    <dc:date>2024-08-18T09:33:16Z</dc:date>
    <item>
      <title>Automatically resizing a large amount of flex vols after manual deletion of data</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Automatically-resizing-a-large-amount-of-flex-vols-after-manual-deletion-of-data/m-p/454064#M43790</link>
      <description>&lt;P&gt;Hello, I have to resize about 400 flexvols, having partially deleted old data.&lt;/P&gt;&lt;P&gt;My target is to resize exactly to 97% of used space.&lt;/P&gt;&lt;P&gt;Having done the job before on few volumes I used to resize it manually.&lt;/P&gt;&lt;P&gt;Now I'm trying to autoresize volumes using volume options&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; space-nearly-full-threshold-percent&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; space-full-threshold-percent&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; autosize-grow-threshold-percent&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; autosize-shrink-threshold-percent&lt;/P&gt;&lt;P&gt;but I can't get the volume autosized.&lt;/P&gt;&lt;P&gt;Maybe I specified wrong values for the above options, can you help me on how to set them to achieve the 97% of used space?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Fabrizio&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 09:15:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Automatically-resizing-a-large-amount-of-flex-vols-after-manual-deletion-of-data/m-p/454064#M43790</guid>
      <dc:creator>FabrizioS</dc:creator>
      <dc:date>2024-07-22T09:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically resizing a large amount of flex vols after manual deletion of data</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Automatically-resizing-a-large-amount-of-flex-vols-after-manual-deletion-of-data/m-p/454555#M43871</link>
      <description>&lt;P&gt;I assume , the operations is to &lt;STRONG&gt;reduce&lt;/STRONG&gt; the volume size to 97% of its used size and the reason is some of the old data is clean up.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Now none of the below volumes options will reduce the volume size automatically.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;space-nearly-full-threshold-percent&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;space-full-threshold-percent&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;autosize-grow-threshold-percent&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;autosize-shrink-threshold-percent&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;All the below option in the volume must be be used to&amp;nbsp;automatically grow and shrink according to how much space volume currently require&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;autosize-mode &lt;STRONG&gt;grow_shrink&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Automatic shrinking prevents a volume from being larger than needed, freeing space in the aggregate for use by other volumes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;BR /&gt;The following command enables automatic size changes for a volume called "volume_resize" The volume is configured to begin shrinking when it is 70% full and grow when the volume is 80% full and the volume can grow upto 300TB of size.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TestCluster::*&amp;gt; volume modify -vserver vsdemo&amp;nbsp;-volume volume_resize&amp;nbsp;&lt;FONT face="inherit"&gt;-autosize-mode grow_shrink -autosize-grow-threshold-percent 80% -autosize-shrink-threshold-percent 70%&amp;nbsp; -max-autosize 300t&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;Volume modify successful on volume VMBootDataStore of Vserver vsdemo.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TestCluster::*&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; :&lt;BR /&gt;* Maximum size of the volume supported have changed over different ONTAP Releases&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* Autoshrink can only be used in combination with autogrow to meet changing space demands and is not available alone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* Thin Volumes will also help in use of physical storage as we use.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 18 Aug 2024 09:33:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Automatically-resizing-a-large-amount-of-flex-vols-after-manual-deletion-of-data/m-p/454555#M43871</guid>
      <dc:creator>jaikumar</dc:creator>
      <dc:date>2024-08-18T09:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically resizing a large amount of flex vols after manual deletion of data</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Automatically-resizing-a-large-amount-of-flex-vols-after-manual-deletion-of-data/m-p/454562#M43873</link>
      <description>&lt;P&gt;Thank you Jakumar.&lt;/P&gt;&lt;P&gt;Mine is NetApp Release 9.5: Thu Dec 13 20:41:33 UTC 2018.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a specialization of your example, to reach the threshold of 97% free I can try to set growth &amp;gt;97% and shrink &amp;gt;96% (bigger than the actual used space).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried a lot of combinations with a real volume but nothing appens, see below for details.&lt;/P&gt;&lt;P&gt;I also tried to resize to 2TB reaching 50% of used space and set shrink threshold to 51, 50 and 49 %...&lt;/P&gt;&lt;P&gt;There is nothing to do when you modify the parameters, such "wait for X minutes", or the shrink is triggered in real time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set those values in my real volume volimagesaoup20 that is 96% full to&amp;nbsp;gain the 1% of wasted space.&lt;/P&gt;&lt;P&gt;These are the final settings (note that I tried a lot af combinations of thresholds for shrink, growth, nearly-full):&lt;/P&gt;&lt;P&gt;nas-avno-3::&amp;gt; volume show -volume volimagesaoup20 -fields size , -fields ...&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class="lia-indent-padding-left-30px"&gt;1.04TB size&lt;BR /&gt;37.51GB available&lt;BR /&gt;1TB used&lt;BR /&gt;96% percent-used&lt;BR /&gt;97% space-nearly-full-threshold-percent&lt;BR /&gt;98% space-full-threshold-percent&lt;BR /&gt;98% autosize-grow-threshold-percent&lt;BR /&gt;97% autosize-shrink-threshold-percent&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Aug 2024 09:31:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Automatically-resizing-a-large-amount-of-flex-vols-after-manual-deletion-of-data/m-p/454562#M43873</guid>
      <dc:creator>FabrizioS</dc:creator>
      <dc:date>2024-08-19T09:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically resizing a large amount of flex vols after manual deletion of data</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Automatically-resizing-a-large-amount-of-flex-vols-after-manual-deletion-of-data/m-p/454834#M43911</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I achivied the goal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an example, based on resizing the volume&amp;nbsp;volimagesaoup23 with size 3.13TB and percent-used 98%&lt;/P&gt;&lt;P&gt;This is the command I run (specifying also a bigger size and a low minimum size to be sure the real size will fall in between)&lt;/P&gt;&lt;P&gt;volume modify -vserver avno-cifs-3 -autosize-mode grow_shrink -autosize-grow-threshold-percent 98 -autosize-shrink-threshold-percent 97 -min-autosize 10GB -size 3.5TB -volume volimagesaoup23&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and those are the resulting autosized values:&lt;/P&gt;&lt;P&gt;volume&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; size&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; percent-used&lt;BR /&gt;volimagesaoup23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.15TB&amp;nbsp; &amp;nbsp; &amp;nbsp; 97%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 07:15:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Automatically-resizing-a-large-amount-of-flex-vols-after-manual-deletion-of-data/m-p/454834#M43911</guid>
      <dc:creator>FabrizioS</dc:creator>
      <dc:date>2024-09-03T07:15:22Z</dc:date>
    </item>
  </channel>
</rss>

