3.7.0 HP StorageWorks HP Scalable NAS File Serving Software administration guide - HP Scalable NAS 3.7 for Linux (AG513-96002, October 2009)

For the HP Scalable NAS software-only product, these commands are provided in a
separate RPM as described in the HP Scalable NAS File Serving Software installation
guide. The commands are installed by default on HP Scalable NAS 4440 and HP
X5500 Storage Gateway for Linux/HP Clustered Gateway systems. The administrator
commands are located in the /opt/hpcfs/sbin directory and the quota command
is located in the /opt/hpcfs/bin directory.
NOTE:
You do not need these commands 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 HP Scalable NAS versions of these commands instead of the
versions provided with the Linux distribution. (Either add /opt/hpcfs/bin and /
opt/hpcfs/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 distributions 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/hpcfs/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.
HP Scalable NAS File Serving Software administration guide 211