The quota target specifies the user, group, or qtree to which you apply the quota. If the quota is a user or group quota, the same quota target can be in multiple /etc/quotas entries. If the quota is a tree quota, the quota target can be specified only once.
Data ONTAP applies a user quota to the user whose ID is specified in any format described in How Data ONTAP identifies users for quotas.
Data ONTAP applies a group quota to a GID, which you specify in the Quota Target field in any of these formats:
Note
Specifying a file or directory name only enables Data ONTAP to obtain the GID. Data ONTAP does not apply quotas to that file or directory, or to the volume in which the file or directory resides.
The quota target is the complete path name to an existing qtree (for example, /vol/vol0/home).
Use an asterisk (*) in the Quota Target field to specify a default quota. The quota is applied to the following users, groups, or qtrees:
The Type field specifies the quota type, which can be
The following table lists the possible values you can specify in the Type field, depending on the volume or the qtree to which the user or group quota is applied.
user@/vol/volume |
user@/vol/vol1 | |
user@/vol/volume/qtree |
user@/vol/vol0/home | |
group@/vol/volume |
group@/vol/vol1 | |
group@/vol/volume/qtree |
group@/vol/vol0/home |
The following table lists the values you can specify in the Type field, depending on whether the entry is an explicit tree quota or a default tree quota.
tree | |
tree@/vol/volume Exampletree@/vol/vol0 |
The Disk field specifies the maximum amount of disk space that the quota target can use. The value in this field represents a hard limit that cannot be exceeded. The following list describes the rules for specifying a value in this field:
Note
The Disk field is not case-sensitive. Therefore, you can use K, k, M, m, G, or g.
Note
If you omit the K, M, or G, Data ONTAP assumes a default value of K.
#Quota Target type disk files
/export tree 75K
/export tree 75K
Note
If you do not specify disk space limits as a multiple of 4 KB, disk space fields can appear incorrect in quota reports. This happens because disk space fields are always rounded up to the nearest multiple of 4 KB to match disk space limits, which are translated into 4-KB disk blocks.
The Files field specifies the maximum number of files that the quota target can use. The value in this field represents a hard limit that cannot be exceeded. The following list describes the rules for specifying a value in this field:
Note
The Files field is not case-sensitive. Therefore, you can use K, k, M, m, G, or g.
The Threshold field specifies the disk space threshold. If a write causes the quota target to exceed the threshold, the write still succeeds, but a warning message is logged to the storage system console and an SNMP trap is generated. Use the Threshold field to specify disk space threshold limits for CIFS.
The following list describes the rules for specifying a value in this field:
Note
If you omit the K, M, or G, Data ONTAP assumes the default value of K.
Note
Threshold fields can appear incorrect in quota reports if you do not specify threshold limits as multiples of 4 KB. This happens because threshold fields are always rounded up to the nearest multiple of 4 KB to match disk space limits, which are translated into 4-KB disk blocks.
The Soft Disk field specifies the amount of disk space that the quota target can use before a warning is issued. If the quota target exceeds the soft limit, a warning message is logged to the storage system console and an SNMP trap is generated. When the soft disk limit is no longer being exceeded, another syslog message and SNMP trap are generated.
The following list describes the rules for specifying a value in this field:
Note
Disk space fields can appear incorrect in quota reports if you do not specify disk space limits as multiples of 4 KB. This happens because disk space fields are always rounded up to the nearest multiple of 4 KB to match disk space limits, which are translated into 4-KB disk blocks.
The Soft Files field specifies the number of files that the quota target can use before a warning is issued. If the quota target exceeds the soft limit, a warning message is logged to the storage system console and an SNMP trap is generated. When the soft files limit is no longer being exceeded, another syslog message and SNMP trap are generated.
The following list describes the rules for specifying a value in this field.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01085_B0
File: 8quot10.htm
Last updated: 01-Dec-2005 16:51:45