Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Fields of the /etc/quotas file

Quota Target field  Top

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.

For a user quota

Data ONTAP applies a user quota to the user whose ID is specified in any format described in How Data ONTAP identifies users.

For a group quota

Data ONTAP applies a group quota to a GID, which you specify in the Quota Target field in any of these formats:

For a tree quota

The quota target is the complete path name to an existing qtree (for example, /vol/vol1/home).

For default quotas

Use an asterisk (*) in the Quota Target field to specify a default quota. The quota is applied to the following users, groups, or qtrees:

Type field  Top

The Type field specifies the quota type, which can be

For a user or group quota

The following table describes 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.

Quota type

Value in the Type field

Sample entry in the Type field

User quota in a volume

user@/vol/volume
user@/vol/vol1

User quota in a qtree

user@/vol/volume/qtree
user@/vol/vol0/home

Group quota in a volume

group@/vol/volume
group@/vol/vol1

Group quota in a qtree

group@/vol/volume/qtree
group@/vol/vol0/home

For a tree quota

The following table describes the values you can specify in the Type field, depending on whether the entry is an explicit tree quota or a default tree quota.

Entry

Value in the Type field

Explicit tree quota

tree

Default tree quota

tree@/vol/volume

Example

tree@/vol/vol0

Disk field  Top

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:

 

#Quota Target

type

disk

files

 

/export

tree

 

75K

 

/export

tree

75K

 

Files field  Top

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:

Threshold field  Top

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 filer 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:

Soft Disk field  Top

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 filer console and an SNMP trap is generated. When the soft disk limit returns to normal, another syslog message and an SNMP trap are generated.

The following list describes the rules for specifying a value in this field:

Soft Files field  Top

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 filer console and an SNMP trap is generated. When the soft files limit returns to normal, another syslog message and an SNMP trap are generated.

The following list describes the rules for specifying a value in this field.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments