Detailed information about the ID and Quota Specifier fields
Factors affecting the contents of the fields
The information contained in the ID and Quota Specifier fields can vary according to these factors:
- Type of user--UNIX or Windows--to which a quota applies.
- The specific command used to generate the quota report.
Contents of the ID field
In general, the ID field of the quota report displays a user name instead of a UID or SID; however, the following exceptions apply:
- For a quota with a UNIX user as the target, the ID field shows the UID instead of a name if no user name for the UID is found in the password database or if you specifically request the UID by including the -q option in the quota reports command.
- For a quota with a Windows user as the target, the ID field shows the SID instead of a name if either of the following conditions applies:
- The SID is specified as a quota target and the SID no longer corresponds to a user name.
- The filer cannot find an entry for the SID in the SID-to-name map cache and cannot connect to the domain controller to ascertain the user name for the SID when it generates the quota report.
Formats available for the fields
The information in the ID and Quota Specifier fields is available in three formats:
- A default format generated by the quota report command
- An enhanced format generated by the quota report -u command
- An enhanced format generated by the quota report -x command
Default format
The quota report command without options generates the default format for the ID and Quota Specifier fields.
The ID field
If a quota target contains only one ID, the ID field displays that ID. Otherwise, the ID field displays one of the IDs from the list.
The ID field displays information in the following formats:
- For a Windows name, the first seven characters of the user name with a preceding backslash are displayed. The domain name is omitted.
- For a SID, the last eight characters are displayed.
The Quota Specifier field
The Quota Specifier field displays an ID that matches that in the ID field. The ID is displayed the same way the quota target is specified in the /etc/quotas file.
Examples
The following table shows what is displayed in the ID and Quota Specifier fields based on the quota target in the /etc/quotas file.
Quota target in the /etc/quotas file
|
ID field of the quota report
|
Quota Specifier field of the quota report
|
CORP\john_smith
|
\john_sm
|
CORP\john_smith
|
CORP\john_smith,NT\js
|
\john_sm or \js
|
CORP\john_smith or NT\js
|
S-1-5-32-544
|
5-32-544
|
S-1-5-32-544
|
Enhanced format with quota report -u
The quota report -u command is useful if you have quota targets that are multiple IDs. It provides more information in the ID and Quota Specifier fields than the default format.
The ID field
The ID field displays all the IDs listed in the quota target of a user quota in the following format:
- On the first line, the format is the same as the default format.
- Each additional name in the quota target is displayed on a separate line in its entirety.
The Quota Specifier field
The Quota Specifier field displays the same list of IDs as specified in the quota target.
Example
The following table shows what is displayed in the ID and Quota Specifier fields based on the quota target in the /etc/quotas file. In this example, the SID maps to the user name NT\js.
Quota target in /etc/quotas
|
ID field of the quota report
|
Quota Specifier field of the quota report
|
CORP\john_smith,S-1-5-21-123456-7890-1234-1166
|
\john_sm
NT\js
|
CORP\john_smith,S-1-5-21-123456-7890-1234-1166
|
Enhanced format with quota report -q
The quota report -q command displays the quota target's UNIX UID or GID in numeric form. No lookup of the name associated with the target ID is done.
For Windows IDs, the textual form of the SID is displayed.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00472
File: quota21.htm
Last updated: 11/17/03 16:57:54