3.4.0 Matrix Server Administration Guide
Chapter 8: Manage Disk Quotas 99
Copyright © 1999-2006 PolyServe, Inc. All rights reserved.
Check or uncheck “Enable quotas” as appropriate. If you are enabling
quotas, you can set the default hard and soft quotas for users on that
filesystem. To do this, click on “Limit” and then specify the appropriate
size in either kilobytes, megabytes, gigabytes, or terabytes. The default is
rounded down to the nearest filesystem block. (If you do not want a
default limit, click “Unlimited.”) The default quotas apply to all users
who do not have individual quotas.
You can also click the Advanced Options button to set the Logging &
Enforcement options, the Quota Assignment Policy, and the File
Accounting option. If the File Accounting Option has already been set on
this filesystem and you want to change the accounting method, you will
need to either disable quotas and then re-enable them with the changed
option, or recreate the filesystem. For more information about the
advanced options, see “Filesystem Options” on page 78.
Enable or Disable Quotas at the Command Prompt
Quotas can be enabled or disabled on an existing filesystem by using the
Matrix Server psfsquota, psfscheck, or mx quota utilities.
The psfsquota and psfscheck options provide the following options to
enable or disable quotas:
• --enable-quotas
Build the quota infrastructure on the specified filesystem. The
psfsquota utility then examines the existing files and stores current
allocations for each user and group owning a file on the filesystem.
• --disable-quotas
Disable quotas on the filesystem and free the associated blocks.
The following mx quota commands can be used to enable or disable
quotas on all PSFS filesystems or on specific psd or psv devices.
mx quota enable [opt-args] ALL_FILESYSTEMS | <ps device>
...
mx quota disable
[opt-args]
ALL_FILESYSTEMS | <ps device> ...
The psfsquota, psfscheck, and mx quota commands also allow you to set
the quota options on the filesystem. See the PolyServe Matrix Server
Command Reference for information about the options.