3.5.1 Matrix Server Administration Guide

Chapter 9: Manage Filesystem Quotas 186
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
NOTE: You do not need to install this RPM to use quotas with PSFS
filesystems. With the exception of warnquota, all of the
functionality of these commands is provided by the Quotas
window on the Management Console and by the mx quota
commands.
Be sure to invoke the Matrix Server versions of these commands instead
of the versions provided with the Linux distribution. (Either add
/opt/polyserve/bin and /opt/polyserve/sbin to the beginning of your path, or
invoke the commands by their complete pathnames.)
The commands can be used with both PSFS filesystems and the standard
Linux filesystem types. There are no changes to the syntax or operation of
the commands. See the man pages provided with your Linux
distribution’s “quota” or “quota-tools” RPM for details about using the
commands.
Back Up and Restore Quotas
The psfsdq and psfsrq commands can be used to back up and restore the
quota information stored on the PSFS filesystem. These commands
should be run in conjunction with standard filesystem backup utilities, as
those utilities do not save the quota limits set on the filesystem.
psfsdq Command
This command saves a quota summary for all users and groups having
quota information stored on the specified PSFS filesystem. The command
has this syntax:
/opt/polyserve/sbin/psfsdq [-f <path>] <filesystem>
The -f option specifies the file to which psfsdq will write its output. If the
file already exists, it will be overwritten. If -f is not specified, psfsdq
writes to stdout. filesystem is the psd or psv device used for the filesystem.
psfsrq Command
This command restores the quota data generated by the psfsdq command
to the specified PSFS filesystem. The command has this syntax:
/opt/polyserve/sbin/psfsrq [-f <path>] <filesystem>