It sounds like you want to do something like this in /etc/quotas:
/vol/volname/qtree tree 50G - * user@/vol/volname - - domain\user user@/vol/volname/qtree 1G -
This puts a 50G quota on the entire qtree and limits domain\user to 1G in the qtree. The * entry is there so that the volume wide user quota does not interfere with the qtree user quota.
A file inside a qtree is governed by up to 5 (yes 5) quotas and NONE of them can be exceeded.
1) user quota inside qtree user@/vol/volname/qtree 2) group quota inside qtree group@/vol/volname/qtree 3) user quota inside whole volume user@/vol/volname 4) group quota inside whole volume group@/vol/volname 5) tree quota for qtree tree
Disk space used inside a qtree also counts as disk space used in the entire volume.
Don't worry about group quotas. If you don't specify any "group@" lines in /etc/quotas, you don't have any group quotas. Group quotas only make sense in a Unix context, since Windows does not assign a group to a file. Windows uses ACLs instead.
from my 6.01 doc:
About quota targets A quota target can be A user A group A qtree When applying user and group quotas, Data ONTAP identifies users and groups by UNIX user names (or UIDs) and group names (or GIDs). It does not apply quotas based on Windows SIDs. <<<<<<<<<<<<<<<<<<
from the 6.1 doc: A quota target can be A user, as represented by a UNIX ID or a Windows ID.
we want quotas based on windows id at the qtree level. am i misunderstanding the doc?
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support