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?
I am not able to use the 7-mode migration tool to migrate my data.
I’m adding a copy-paste of best practice i was working on for users quotas in my organization. .
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. .
offload the support for space increase to the HelpDesk
Not make frequent changes on the storage system settings (also required change control) and not to require auditing on DR
Utilize built-in functionality, Make a scalable solution that will not limit our growth,
NetApp Home Directory share functionality:
NetApp Per-Volume + Per-User (file owner) quota:
Set separate volumes for each limitation “group” (Using volumes will allow more easy move to different AGGR tires based on type of use).
Set different user quota to each “group” and assign to each volumes.
Set the homedir share functionality to search all the volumes for user home dirs.
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.
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
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.