To the best of my knowledge no. Since the quota file is used at boot time (specificly when quotas are enabled) to set the limits, that's where you need to do the work.
I do have a question about changing quotas all that often, if the quotas are properly set, users should not be bumping into them all that offten, nad if they do bump onto them, perhaps thay need to clean up a bit? With 5000 odd users (and some of them are very odd) we find that we need to change quotas perhaps once or twice a month if that often.
<scw>
On Thu, Jun 01, 2006 at 11:27:36AM +0100, Ronan Mullally wrote:
I've got a requirement to manage filer quotas from a home grown admin application. The basic functionality would be:
read user quota for user X
read group quota for group Y
set user quota for user X
set group quota for group Y
and 2) can be accomplished fairly easily via SNMP, however 3)
and 4) do not appear to be as straightforward.
Having read the quotas chapter in the storage admin guide it appears the only way to control quotas is via the /etc/quotas file. This means that whenever a quota changes (which I'd expect to occur several times a day) I need to re-write /etc/quotas and do a quota re-size or re-build.
Is there no more elegant way of doing this - via SNMP perhaps?
-Ronan