As I understand it, when multiple quotas govern the same storage, ALL quotas must be satisfied. Since your qtree is inside /vol/vol0 then it is also governed by any /vol/vol0 quotas.
I think you need to give your 4 special users a 2G quota in /vol/vol0 as well as in the qtree. Otherwise, they are still limited by their 200M quota for /vol/vol0. Unfortunately, this isn't exactly what you want, because collectively, your 4 special users could eat up 8G of the volume outside of the qtree. But this is your easiest way out. You'll have to trust the special users to behave.
We ran into this problem on one of our volumes and fixed it by putting all users inside qtrees. No user is in a volume and outside of a qtree. That way we don't have the problem of "nested" quotas. This was somewhat painful because you have to physically copy data into a new qtree. You can't "mv" it. (A great RFE would be the ability to move directories across qtrees without copying.)
Here is a possible solution for you where qt1 is a "default" qtree where you put most of your users, and qt2 is for the special users.
* user@/vol/vol0 - # no user limit on the volume /vol/vol0/qt1 tree - # unlimited tree size for qt1 /vol/vol0/qt2 tree 2G # 2G tree size for qt2 * user@/vol/vol0/qt1 200M # 200M default user limit for qt1
# The above gets you pretty close to what you want. But you may # want to ensure that only the 4 special users can get any space # in qt2.
* user@/vol/vol0/qt2 0M user1 user@/vol/vol0/qt2 2G user2 user@/vol/vol0/qt2 2G user3 user@/vol/vol0/qt2 2G user4 user@/vol/vol0/qt2 2G
# You may want to prevent the special users from getting any space # in qt1
user1 user@/vol/vol0/qt1 0M user2 user@/vol/vol0/qt1 0M user3 user@/vol/vol0/qt1 0M user4 user@/vol/vol0/qt1 0M
Something like this should do:
/etc/quotas /vol/vol0/qtree2g tree 2G #Establish a 2G limit for your special qtree
user1 user@/vol/vol0/qtree2g 2G user2 user@/vol/vol0/qtree2g 2G user3 user@/vol/vol0/qtree2g 2G user4 user@/vol/vol0/qtree2g 2G
user@/vol/vol0/qtree2g 0M
#Give your special users a 2G limit inside the special qtree #Give everyone else no limit in the special qtree
user 200M
#Give all users a 200MB limit on the rest of the volume
#And hey, just for kicks:
tree@/vol/vol0/ *
#a default tree quota for vol0. If you add more #qtrees, simply add it to this quotas file #and do a quota resize
--tmac
******All New Numbers!!!******
Timothy A. McCarthy --> System Engineer, Eastern Region Network Appliance http://www.netapp.com 240-268-2034 Office \ / Page Me at: 240-268-2001 Fax / 877-5-NETAPP
On Wed, 28 Feb 2001, Uros Lampret wrote:
Hi!
My problem is that I have set up quotas for my users on F740 running Ontap 5.3.6r2. They each have 200Mb. But four users that work on a special project have extra space of 2Gb. I've set up a qtree with limit of 2Gb. But when the four users start to write, they hit their personal limits.
Is there a work around?
Uros Lampret _____________________________
Steve Losen scl@virginia.edu phone: 804-924-0640
University of Virginia ITC Unix Support