nas_quotas
221
The nas Commands
CAUTION
While quotas are being turned on, off, or cleared, other operations
to a file system may be disrupted. CIFS clients are disconnected
during this execution.
-on -tree
-fs <fs_name> -path <pathname>
Turns on (enables) tree quotas so that quota tracking and hard-limit
enforcement (if enabled) can occur. When enabling tree quotas, the
directory must not exist; it is created in this tree-quota-enabling
process.
[-comment <comment>]
The -comment option associates a comment with the tree quota.
Tree quota comments support UTF-8 characters and are
delimited by single quotes. Within the comment, there cannot be
single quotes (’), double quotes (") or semicolons (;). Comments
can be 255 ASCII characters long (UTF-8 strings may be limited to
shorter lengths).
UTF-8 characters can be multi-byte characters (variable length),
while ASCII characters take only one byte (fixed length). The
limit of 255 is on the number of bytes, which fits well with ASCII
characters but not with UTF-8, i.e., UTF-8 strings with the same
number of characters may occupy different number of bytes.
-off -tree
-fs <fs_name> -path <pathname>
Turns tree quotas off. When turning tree quotas off, the tree directory
must be empty.
{-list | -clear} -tree -fs <fs_name>
The -list option displays all active quota trees and their respective
tree IDs used by -edit and -report with the specified file system.
Use the -tree -clear option to clear all the information from the
database after you disable (turn off) quotas for all trees within a file
system. Once cleared, the database information is not recoverable.
CAUTION
The -clear option deletes the usage and the limit information for
tree quotas. The limits can not be recovered.