3.5.1 Matrix Server Command Reference

Chapter 1: Matrix Server Commands 43
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
For a non-partitioned psd device, the device is specified as
/dev/psd/psdXXX, where XXX is the drive number. For example,
/dev/psd/psd5.
For a psv device, the device is specified as /dev/psv/psvXXX, where XXX
is the volume number. For example, /dev/psv/psv1.
You do not need to specify the full path name. A name such as psd6p4 or
psv1 will work.
The options are:
--enable-quotas
Build the necessary 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 specified filesystem and free the associated blocks.
--set-udq <size>[T|G|M|K]
Set the default quota for users on the specified filesystem. (The default is
rounded down to the nearest filesystem block.) The optional modifiers
specify that the size is in terabytes (T), gigabytes (G), megabytes (M), or
kilobytes (K). If a modifier is not specified, the size will be calculated in
bytes.
--set-gdq <size>[T|G|M|K]
Set the default quota for groups on the specified filesystem. (The default is
rounded down to the nearest filesystem block.) The modifiers are the same
as the set-udq option.
-y
Answer “yes” to all questions.
The following example enables quotas on volume psv1 and sets the default
user and group quotas to 20 gigabytes.
/opt/polyserve/sbin/psfsquota --enable-quotas --set-udq 20G
--set-gdq 20G psv1