scl@sasha.acc.virginia.edu (Steve Losen) writes:
[...]
We recently created a new qtree and added this entry for it in /etc/quotas
/vol/h2/t15 tree 1000M 1000K
When I ran "quota resize h2" it complained about this new entry.
So then I tried this, figuring the default quota might be a per volume thing:
That's correct.
/vol/h2/* tree 99M 99K
But the quota command didn't accept it, saying "/vol/h2/*: no such file or directory".
So I guess this feature isn't there yet. If I'm just not doing it right, could someone tell me how?
You need an entry like:
* tree@/vol/h2 99M 99K
(and then do "quota off h2" & "quota on h2" to make it effective).
I had to work this out myself (with a little help from Eirik Fuller) when we went to 5.3.x a few months ago. It's a pity it isn't better documented, because the facilities do in fact fit together very nicely now, and one hardly ever needs to do a "quota off" & "quota on" any longer. [Remember that a default quota, like any other, can be made infinite by using "-" for the amount.]
Chris Thompson University of Cambridge Computing Service, Email: cet1@ucs.cam.ac.uk New Museums Site, Cambridge CB2 3QG, Phone: +44 1223 334715 United Kingdom.