- what this "tree type" command can do, but the other "user type" command cannot do? - what is "tree_4118314302"? is this an unix user id? - it is using tree type, but with -qtree "", does that mean this quota is not using qtree?
- what this "tree type" command can do, but the other "user type" command cannot do? In user quota type, the user is target is the user but in qtree quota type; the target is a qtree specified by the path name to the qtree.
-what is "tree_4118314302"? is this an UNIX user id? This parameter specifies the target to which the quota policy rule applies,For explicit tree quotas rules, this parameter should indicate the qtree name. tree_4118314302 is the qtree name in the example.
-it is using tree type, but with -qtree "", does that mean this quota is not using qtree? This parameter specifies the name of the qtree to which the quota rule applies. This parameter is not applicable for tree type rules. For user or group type rules at the volume level, this parameter should contain ""
It should not had have the -qtree "" as it is applicable when using tree quota type. i tested in a lab and when i am going through the command in my ssh session, the "quota policy rule create -vserver <> -volume <> -type tree -target <qtree name> -disk-limit <> " without the need of the -qtree parameter.
- Can I then say that the quota with tree type is not for the case if I wanted to put a disk limit on users, and tree type is for the case if I waned to put a limit for an application?
- Can I use tree type to limit space for users?
- In following example, target is empty, which means essentially not limiting any users, just a quota and not being applied to any users, or is it a default quota for all other user not being fall into any other quota policy?
The use of each type of quota is dependent on what you are trying to accomplish with the quotas.
If a qtree is used as a homedir, then you can choose user or tree quotas based on your preference.
If a qtree is used for a project where multiple users are creating files at the same time, you may want to limit capacity/file counts based on the tree itself, rather than per-user, as you don't want to hinder the work the users are doing.
If you simply want to limit file counts in a single folder (for instance, you want to prevent exceeding maxdirsize) then you can limit file counts.
You could even combine using both - tree quotas to limit capacity + user quotas to simply track who is using what capacity.