HP Clustered Gateway Device Management Software manual Psfsdq save quota data

Models: Clustered Gateway Device Management Software

1 95
Download 95 pages 29.82 Kb
Page 44
Image 44

Chapter 1: Matrix Server Commands

39

See “psfsunpack – unpack a PSFS filesystem image” on page 45 for a typical pack/unpack sequence.

psfsdq – save quota data

Synopsis

/opt/polyserve/sbin/psfsdq [-f <path>] <filesystem>

Description

The psfsdq command prints a quota summary for all users and groups having quota information stored on the specified PSFS filesystem.

The -foption specifies the file to which psfsdq will write its output. If the file already exists, it will be overwritten. If the -foption is not specified, psfsdq writes to stdout. filesystem is the psd or psv device used for the filesystem.

The psfsrq command can be used to restore the quota data to the filesystem.

The psfsdq and psfsrq commands should be run in conjunction with the standard filesystem backup utilities, as those utilities do not save the quota limits set on the filesystem.

For example, the following command saves the quota information for the filesystem located on device psd1p5.

#psfsdq -f psd1p5.quotadata psd1p5

The next command restores the data to the filesystem:

#psfsrq -f psd1p5.quotadata psd1p5

psfsinfo – report filesystem information

Synopsis

/opt/polyserve/tools/psfsinfo [--feature <FEATURE>] [--version]

[--verbose]<device> ...

Description

The psfsinfo command reports information about the filesystem. With no options, the information includes the size of the filesystem, the block size, the version of the filesystem, and whether the disk quota or Full Zone Bit Map features are enabled.

Copyright © 1999-2006 PolyServe, Inc. All rights reserved.

Page 44
Image 44
HP Clustered Gateway Device Management Software manual Psfsdq save quota data, Psfsinfo report filesystem information