Is there *any* way (and I'm open to any suggestions) to get around the inability of 'quota resize' to handle additions/deletions from the /etc/quotas file ?
The problem I'm stuck with is trying to provide realtime addition of users (with quotas) on a 100GB filer without having to turn quotas off and on, which is currently a 26 minute process. During these 26 minues, no quotas are enforced. Acceptable once a night, but not as often as they want me to run it.
A few of ideas (in order of ascending lunacy):
- just accept the fact that NetApp doesn't consider this wish to very important and turn the quotas on/off as often as is feasible.
- set a default quota for the export, and just create a new quotas file once per night.
- preload the /etc/quotas file with entries for all possible UIDs, then just change the quota as they request it. This way the /etc/quotas will always be the same length and contain the same number of users.
- get NetApp to allow an SNMP SET request to implement this functionality
- try to figure out the format of /etc/db/quota.db and manipulate it directly.
- kidnap Dave Hitz (presuming he's still there) and have him add the feature at gunpoint.
- Quit.
TIA.