|
发表于 2005-10-12 12:30:14
|
显示全部楼层
Post by zaiwen
I am setting up quota. Basically it works fine, but I have some scenarios which i am not sure.
1. When we talk about group quota, it refers to user's primary group or public group? I guess both: as long as this user is a member of this group, the group quota should apply to this user. But how about a user belongs to many groups and all the groups has its own quota setting. In this sense, maybe the group quota refers to primary group? I am confused.....
2. Setup quota only for group (edquota -g), but "repquota -u" of one user in this group will still show nothing. However, I noticed this user actually has quota limit from the group quota. When I try to exceed the limit for this user, it gives warning message. So I guess it is the design to SHOW group quota only for the group, not for its member. Am I right?
3. Setup quota for both users (edquota -e) and its group (edquota -g), but with different quota size. Repquota shows diffrent for users and groups. OK. Turn quotaon for both users and groups. Then which quota limit will go first? users or groups? I have not had chance to test the last scenario. Any clue?
Thanks a lot!!!!!!
1. group quota applies to user's gid.
2.
3. (I am not sure what is edquota -e means) Im not sure but I think whichever one comes first applies... |
|