FWIW...
We use Data Fabric Manager to set our user quotas. DFM does not do tree
quotas. I still have to edit the quota file and restart or resize
(restart if it's a net new tree quota (OnTap 7.01)).
I find that DFM is real handy for user quotas in our environment. We
have several qtrees each with a default user quota.
Only need to use DFM if I need to override the default quota for a user.
By doing it this way I only need to manage the 200 users that need over
rides. The rest get the default settings. DFM removes the need to do a
Restart/Resize when adjusting user quotas.
Currently not using group quotas (Quotaing only used for Windows users).
Have no idea if DFM handles these or not. DFM is not the ultimate
solution but it's price was right ($0.00).
NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.
-----Original Message-----
From: owner-toasters(a)mathworks.com [mailto:owner-toasters@mathworks.com]
On Behalf Of Stephen C. Losen
Sent: Thursday, June 01, 2006 6:09 AM
To: Ronan Mullally
Cc: toasters(a)mathworks.com
Subject: Re: Managing Quotas from home-grown app
>
> I've got a requirement to manage filer quotas from a home grown admin
> application. The basic functionality would be:
>
> 1) read user quota for user X
> 2) read group quota for group Y
> 3) set user quota for user X
> 4) set group quota for group Y
>
> 1) 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?
>
You are stuck with editing the quotas file. You probably found out
from the manual that netapp quotas are very complex, so that is why
quotas are specified in a file.
There is no way to set a single quota for a user or group on a netapp
(unless you have a single volume with no qtrees in it). Each volume
and qtree has its own user and group quotas, so one user can potentially
have hundreds of different quotas. Fortunately the quotas file allows
you to set default quotas, so you do not explicitly specify all of these
quotas in practice.
Steve Losen scl(a)virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support