Use this utility to set or get the user space quota and directory quota on NSS volumes and files.
Command |
Description |
---|---|
quota <USERQUOTAOPTIONS> |
It is used to set or get user space quota on NSS volumes and files. |
quota <DIRECTORYQUOTAOPTIONS> |
It is used to set or get directory quota on NSS volumes and files. |
Option |
Description |
---|---|
-h, --help |
Displays the help information. |
-v, --version |
Displays the program version information. |
Option |
Description |
---|---|
-U, --userquota |
To set the user quota options. |
s, --size=quota (in KB/MB/GB) |
Storage space allowed for the specified user. The default unit is MB. |
-V, --volumename=volumename |
Name of the volume for which quota has to be set. |
-u, --username |
Specify the user name. |
-g, --getquotas |
Gets the user quota. |
Option |
Description |
---|---|
-D, --directoryquota |
To set the directory quota options. |
-s, --size=quota (in Multiples of 4KB/MB/GB) |
Size of the quota. The default unit is KB. |
-d, --directoryname |
Directory name. |
-g, --getquotas |
Gets the directory quota. |
quota -U -V VOL1 -u wwrun.novell -s 30GB
This example is for user quota.
quota -D -d /media/nss/VOL/test -s 4GB
This example is for directory quota.
quota -g -V VOL1
This example is for viewing user quota.
quota -g -d /media/nss/VOL/test
This example is for viewing directory quota.