Manages quota Limits Classes for JFS2 file systems.
To edit Quota Limits Classes:
j2edlimit [ -e ] [ -u | -g ] Filesystem
To list Quota Limits Classes:
j2edlimit -l [ -u | -g ] Filesystem
To Set an Existing Limits Class as the Default Limits Class:
j2edlimit -d LimitsClassID [ -u | -g ] Filesystem
To Assign a User or Group to a Limits Class:
j2edlimit -a LimitsClassID [ -u UserName | -g GroupName ] Filesystem
Item | Description |
---|---|
-a | Assigns the User or Group specified by the -u or -g flag to the indicated Limits Class in the file system specified on the command line. |
-d | Sets the indicated Limits Class as the default for the file system specified on the command line. By default, or with the -u flag, the default is set for User quotas. With the -g flag, the default is set for Group quotas. |
-e | Edits the Limits Classes for the file system specified on the command line (this is the default operation for the j2edlimit command). By default, or with the -u flag, the default is set for User quotas. With the -g flag, the default is set for Group quotas. |
-g | When used with the -d, -l or
optional -e flag, performs the peration
on the Group Limits Classes for the file system specified on the command
line. When used with the -a flag, assigns
the associated Group to the specified Limits Class. Note: If the
parameter contains all numbers then it will be treated as a Group
ID, and the Group ID will be assigned to the Limits Class.
|
-l | Lists the Limits Classes for the file system specified on the command line. By default, or with the -u flag, User limits classes are listed. With the -g flag, Group limits classes are listed. The format of the listing is the same as found in the temporary file when editing Limits Classes. |
-u | When used with the -d, -l or
optional -e flag, performs the operation
on the User Limits Classes for the file system specified on the command
line. When used with the -a flag, assigns
the associated User to the specified Limits Class. Note: If the parameter
contains all numbers then it will be treated as a User ID, and the
User ID will be assigned to the Limits Class.
|
Access Control: Only the root user can execute this command.
j2edlimit /home
j2edlimit -l -g /home
j2edlimit -d2 /foo
j2edlimit -a 1 -u markg /home
Item | Description |
---|---|
quota.user | Contains usage and Limits information for users. |
quota.group | Contains usage and Limits information for groups. |
/etc/filesystems | Contains file system names and locations. |