Howdy
I have to admit to being somewhat flummoxed by quota management...
For some time I've had filers in a web hosting platform using default quotas per qtree, which is great and tremendously easy to manage (imagine: Hosting package 1 has 500MB available, so sites in that package live in one qtree. Easy.).
I have a requirement to extend that system to allow a mix of quotas per qtree, and short of exporting /etc off the root volume to an NFS client and programatically (or manually) editing it there then running an expect script to login to the filer and run "quota off; quota on" or "quota resize" I cannot see a way to achieve what I want.
Automation being the key here, ideally we'd be able to get all this stuff working without a manual poke by an admin.
Anybody got any clever ideas? Doesn't look settable via SNMP, which is a shame - all the qrV2* entries in the NetApp enterprise MIB are read-only...
Graeme
Graeme Fowler wrote:
...
I have a requirement to extend that system to allow a mix of quotas per qtree, and short of exporting /etc off the root volume to an NFS client and programatically (or manually) editing it there then running an expect script to login to the filer and run "quota off; quota on" or "quota resize" I cannot see a way to achieve what I want.
this is what we do.
the quota files are editied from the admin host, which has <ROOT>/etc mounted. then we "rsh <FILER> quota resize" so changes take effect.
if you have a default tree quota in-place, you can alter other quota entries and use "resize", rather than "on" & "off".
-skottie