anybody have any experience with the new quota mechanism?
~~~~~~~~~~~ from 6.1 doc: jsmith,corp\jsmith,engineering"john smith", S-1-5-32-544 user@/vol/rls 500M 10K
The user, represented by four IDs, can use 500 MB of disk space and 10,240 files in the /vol/rls volume. ~~~~~~~~~~~~
comments appreciated.
anybody have any experience with the new quota mechanism?
from 6.1 doc: jsmith,corp\jsmith,engineering\"john smith", S-1-5-32-544 user@/vol/rls 500M 10K The user, represented by four IDs, can use 500 MB of disk space and 10,240 files in the /vol/rls volume.
comments appreciated.
I'm not totally sure how they implemented this, but I played with it briefly and it works as advertised at least with unix uids. I don't have a PDC so I can't test Windows users.
A quota spec like this
user1,user2,user3 user@/vol/volname 500MB 10K
has the effect of pointing user1, user2, and user3 to the same record where ONTAP keeps track of disk usage. If any of these three users consumes any disk, the single record for all of them is updated. ONTAP does not track the three users individually. If you run
quota report filename
where filename is owned by any of the three users, you always get the aggregate quota and the aggregate total usage.
So this is kind of interesting. Suppose you have a list of users whose total disk usage you want to limit, but you don't care how much any individual uses. You can now use an entry such as the one above.
Also, to avoid long lines in the quotas file you can format it like this:
user1, user2, user3 user@/vol/volname 500MB 10K
I don't know if there is a limit on how many users you can list like this. Theoretically, the list could be unlimited if ONTAP simply maps a user to a quota record. An arbitrary number of users can map to the same quota record. But if you need a reverse mapping of quota record to list of users, then there might be a limit in there somewhere. Perhaps someone from netapp will clue us in.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
There is no fixed limit.
You can display all the users associated with the quota record using the -u or -x options of quota report.
Joan Alter
At 01:29 PM 10/22/01 , you wrote:
anybody have any experience with the new quota mechanism?
from 6.1 doc: jsmith,corp\jsmith,engineering\"john smith", S-1-5-32-544 user@/vol/rls 500M 10K The user, represented by four IDs, can use 500 MB of disk space and 10,240 files in the /vol/rls volume.
comments appreciated.
I'm not totally sure how they implemented this, but I played with it briefly and it works as advertised at least with unix uids. I don't have a PDC so I can't test Windows users.
A quota spec like this
user1,user2,user3 user@/vol/volname 500MB 10K
has the effect of pointing user1, user2, and user3 to the same record where ONTAP keeps track of disk usage. If any of these three users consumes any disk, the single record for all of them is updated. ONTAP does not track the three users individually. If you run
quota report filename
where filename is owned by any of the three users, you always get the aggregate quota and the aggregate total usage.
So this is kind of interesting. Suppose you have a list of users whose total disk usage you want to limit, but you don't care how much any individual uses. You can now use an entry such as the one above.
Also, to avoid long lines in the quotas file you can format it like this:
user1, user2, user3 user@/vol/volname 500MB 10K
I don't know if there is a limit on how many users you can list like this. Theoretically, the list could be unlimited if ONTAP simply maps a user to a quota record. An arbitrary number of users can map to the same quota record. But if you need a reverse mapping of quota record to list of users, then there might be a limit in there somewhere. Perhaps someone from netapp will clue us in.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support