<?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: scripted quota management in Ontap 9 in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/scripted-quota-management-in-Ontap-9/m-p/127993#M27729</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luke -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can&amp;nbsp;scipt the creation of quota policies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a unix environ you could use the Software Dev Kit:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mysupport.netapp.com/NOW/cgi-bin/software/?product=NetApp+Manageability+SDK&amp;amp;platform=All+Platforms" target="_blank"&gt;http://mysupport.netapp.com/NOW/cgi-bin/software/?product=NetApp+Manageability+SDK&amp;amp;platform=All+Platforms&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a windows environ see the Powershell Toolkit:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mysupport.netapp.com/tools/info/ECMLP2310788I.html?productID=61926" target="_blank"&gt;http://mysupport.netapp.com/tools/info/ECMLP2310788I.html?productID=61926&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See also the Developer Network forum here on communities:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.netapp.com/t5/Developer-Network/ct-p/developer-network" target="_blank"&gt;http://community.netapp.com/t5/Developer-Network/ct-p/developer-network&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this response has been helpful to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At your service,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eugene E. Kashpureff, Sr.&lt;BR /&gt;Independent NetApp Consultant &lt;A href="http://www.linkedin.com/in/eugenekashpureff" target="_blank"&gt;http://www.linkedin.com/in/eugenekashpureff&lt;/A&gt;&lt;BR /&gt;Senior NetApp Instructor, FastLane US &lt;A href="http://www.fastlaneus.com/" target="_blank"&gt;http://www.fastlaneus.com/&lt;/A&gt;&lt;BR /&gt;(P.S. I appreciate 'kudos' on any helpful posts.)&lt;/P&gt;</description>
    <pubDate>Sat, 11 Feb 2017 19:42:37 GMT</pubDate>
    <dc:creator>ekashpureff</dc:creator>
    <dc:date>2017-02-11T19:42:37Z</dc:date>
    <item>
      <title>scripted quota management in Ontap 9</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/scripted-quota-management-in-Ontap-9/m-p/127980#M27722</link>
      <description>&lt;P&gt;I am migrating from an older NetApp running 7-mode to Ontap 9 in cluster mode. Currently I am using etc/quotas file in the root volume of the NetApp for end user quotas like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1061 user@/vol/vol_castor 10000000K -&lt;BR /&gt;1062 user@/vol/vol_castor 100000K -&lt;BR /&gt;1064 user@/vol/vol_castor 100000K -&lt;BR /&gt;1065 user@/vol/vol_castor 1000000K -&lt;BR /&gt;1066 user@/vol/vol_castor 1000000K -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have about 5000 entries in it. The user quotas are in a database and I have a script write out a new quotas file periodicly. I see that I can manage quotas on the GUI but is there any other way to do this in a scriptable or automated way in Clustered Ontap?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to use the 7-mode migration tool to migrate my data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:27:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/scripted-quota-management-in-Ontap-9/m-p/127980#M27722</guid>
      <dc:creator>LukeMiller</dc:creator>
      <dc:date>2025-06-04T15:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: scripted quota management in Ontap 9</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/scripted-quota-management-in-Ontap-9/m-p/127993#M27729</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luke -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can&amp;nbsp;scipt the creation of quota policies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a unix environ you could use the Software Dev Kit:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mysupport.netapp.com/NOW/cgi-bin/software/?product=NetApp+Manageability+SDK&amp;amp;platform=All+Platforms" target="_blank"&gt;http://mysupport.netapp.com/NOW/cgi-bin/software/?product=NetApp+Manageability+SDK&amp;amp;platform=All+Platforms&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a windows environ see the Powershell Toolkit:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mysupport.netapp.com/tools/info/ECMLP2310788I.html?productID=61926" target="_blank"&gt;http://mysupport.netapp.com/tools/info/ECMLP2310788I.html?productID=61926&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See also the Developer Network forum here on communities:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.netapp.com/t5/Developer-Network/ct-p/developer-network" target="_blank"&gt;http://community.netapp.com/t5/Developer-Network/ct-p/developer-network&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this response has been helpful to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At your service,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eugene E. Kashpureff, Sr.&lt;BR /&gt;Independent NetApp Consultant &lt;A href="http://www.linkedin.com/in/eugenekashpureff" target="_blank"&gt;http://www.linkedin.com/in/eugenekashpureff&lt;/A&gt;&lt;BR /&gt;Senior NetApp Instructor, FastLane US &lt;A href="http://www.fastlaneus.com/" target="_blank"&gt;http://www.fastlaneus.com/&lt;/A&gt;&lt;BR /&gt;(P.S. I appreciate 'kudos' on any helpful posts.)&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 19:42:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/scripted-quota-management-in-Ontap-9/m-p/127993#M27729</guid>
      <dc:creator>ekashpureff</dc:creator>
      <dc:date>2017-02-11T19:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: scripted quota management in Ontap 9</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/scripted-quota-management-in-Ontap-9/m-p/128020#M27734</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m adding a copy-paste of best practice i was working on for users quotas in my organization. .&lt;/P&gt;&lt;P&gt;it's not 1:1 answer to your question. but i'm adding it here for you to consider it as alternative of creating all these policies and mainting them. .&lt;/P&gt;&lt;P&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;Main objectives:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;offload the support for space increase to the HelpDesk&lt;/LI&gt;&lt;LI&gt;Not make frequent changes on the storage system settings (also required change control) and not to require auditing on DR&lt;/LI&gt;&lt;LI&gt;Utilize built-in functionality, Make a scalable solution that will not limit our growth,&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Relevant components:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;NetApp Home Directory share functionality:&lt;BR /&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/6797i33E39FA081A20262/image-size/original?v=1.0&amp;amp;px=-1" alt="homedir.png" title="homedir.png" border="0" /&gt;&lt;/LI&gt;&lt;LI&gt;NetApp Per-Volume + Per-User (file owner) quota:&lt;BR /&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/6798iEB6F47E669B3E341/image-size/original?v=1.0&amp;amp;px=-1" alt="user.png" title="user.png" border="0" /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Implementation:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Set separate volumes for each limitation “group” (Using volumes will allow more easy move to different AGGR tires based on type of use).&lt;/LI&gt;&lt;LI&gt;Set different user quota to each “group” and assign to each volumes.&lt;/LI&gt;&lt;LI&gt;Set the homedir share functionality to search all the volumes for user home dirs.&lt;/LI&gt;&lt;LI&gt;Create folder for users on the volume with the right policy. Pointing to the share \\svm\username $ will find the user folder on the first volumes it’s exists in the list.&lt;/LI&gt;&lt;LI&gt;When another policy need to be assigned for a user. Simply move the user home folder (move. Not copy – to preserve ownership and permissions) to a volume with the correct policy. The share will follow based on the home dir share functionality&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gidi&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 11:54:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/scripted-quota-management-in-Ontap-9/m-p/128020#M27734</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2017-02-13T11:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: scripted quota management in Ontap 9</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/scripted-quota-management-in-Ontap-9/m-p/128031#M27740</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more thing i was thinking on at lunch &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this specific purpose. i would avoid scripting it. as this is a very structured format. i would have just play with excel a bit to replace the current config file to the new command line syntax to set it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have:&lt;/P&gt;&lt;P&gt;1061 user@/vol/vol_castor 10000000K -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And you need:&lt;/P&gt;&lt;P&gt;quota policy rule create -vserver MYSVM -policy-name default -volume vol_castor -qtree "" -type user -disk-limit 10000000K -target "domain\user"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if you split in excel&amp;nbsp; (Data&amp;gt;Text to columns) all the " ","@","/" once you have them in separate columns. you can copy-paste around and put it between the new command line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/6799iD9A748945E42226C/image-size/original?v=1.0&amp;amp;px=-1" alt="excel.png" title="excel.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It’s very low tech. but sometimes the simplest solution is the best one (in Script you will ned to handle errors, comments, etc etc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gidi&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 15:00:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/scripted-quota-management-in-Ontap-9/m-p/128031#M27740</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2017-02-13T15:00:23Z</dc:date>
    </item>
  </channel>
</rss>

