Table of ContentsView in Frames

How you use tracking quotas

Tracking quotas generate reports of disk and file usage and do not limit resource usage. When tracking quotas are used, modifying quota values is less disruptive, because you can resize quotas rather than turning them off and back on.

To create a tracking quota, you omit the Disk Limit and Files Limit parameters. This tells Data ONTAP to monitor disk and files usage for that target at that level (volume or qtree), without imposing any limits. Tracking quotas are indicated in the output of show commands and the quota report with a dash ("-") for all limits.

You can also specify a default tracking quota, which applies to all instances of the target. Default tracking quotas enable you to track usage for all instances of a quota type (for example, all qtrees or all users). In addition, they enable you use resizing rather than reinitialization when you want quota changes to take effect.

Examples of explicit tracking quotas

A user, chen, is tracked on vol1 with the following command:

volume quota policy rule create -vserver vs1 -policy-name quota_policy_vs1_1 -volume vol1 -type user -target corp\chen -qtree ""

A group, eng1, is tracked on vol1 with the following command:

volume quota policy rule create -vserver vs1 -policy-name quota_policy_vs1_1 -volume vol1 -type group -target eng1 -qtree ""

A qtree, proj1, is tracked on vol1 with the following command:

volume quota policy rule create -vserver vs1 -policy-name quota_policy_vs1_1 -volume vol1 -type tree -target proj1 -qtree ""

The volume quota policy rule show command displays the following output:

Vserver: vs1               Policy: quota_policy_vs1_1  Volume:
                                                               vol1
  
                                                 Soft             Soft
                           User         Disk     Disk   Files    Files
  Type   Target    Qtree   Mapping     Limit    Limit   Limit    Limit  Threshold
  -----  --------  ------- -------  --------  -------  ------  -------  ---------
  user  corp\chen      ""     off          -        -       -        -          -
  group      eng1      ""     off          -        -       -        -          -
  tree      proj1      ""     off          -        -       -        -          -

Examples of default tracking quotas

All users are tracked on vol1 with the following command:

volume quota policy rule create -vserver vs1 -policy-name quota_policy_vs1_1 -volume vol1 -type user -target "" -qtree ""

All groups are tracked on vol1 with the following command:

volume quota policy rule create -vserver vs1 -policy-name quota_policy_vs1_1 -volume vol1 -type group -target "" -qtree ""

All qtrees on vol1 are tracked with the following command:

volume quota policy rule create -vserver vs1 -policy-name quota_policy_vs1_1 -volume vol1 -type tree -target "" -qtree ""

The volume quota policy rule show command displays the following output:

Vserver: vs1               Policy: quota_policy_vs1_1  Volume:
                                                               vol1
  
                                                 Soft             Soft
                           User         Disk     Disk   Files    Files
  Type   Target    Qtree   Mapping     Limit    Limit   Limit    Limit  Threshold
  -----  --------  ------- -------  --------  -------  ------  -------  ---------
  user         ""      ""     off          -        -       -        -          -
  group        ""      ""     off          -        -       -        -          -
  tree         ""      ""     off          -        -       -        -          -