HP Clustered Gateway Device Management Software manual Psfsrq restore quota data

Models: Clustered Gateway Device Management Software

1 95
Download 95 pages 29.82 Kb
Page 48
Image 48

Chapter 1: Matrix Server Commands

43

NOTE: If an attempt to mount the copied filesystem fails with an “FSID conflict” error, run the following command as user root. In the command, <device> is the partition, such as /dev/psd/psd1p7, that contains the copied filesystem, and <label> is the name that should be used to identify the filesystem.

/opt/polyserve/tools/psfslabel <device> “<label>”

psfsrq – restore quota data

Synopsis

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

Description

The psfsrq command restores the quota data generated by the psfsdq command to the specified PSFS filesystem.

The -foption specifies the file that psfsrq should read to obtain the quota data. If this option is not specified, psfsdq reads from stdin. filesystem is the psd or psv device used for 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.

psfssema – manage matrix-wide file locks

Synopsis

/opt/polyserve/bin/psfssema -i <filename> /opt/polyserve/bin/psfssema -g <filename> /opt/polyserve/bin/psfssema -r <filename> /opt/polyserve/bin/psfssema -d <filename>

Description

The psfssema semaphore utility provides a simple synchronization mechanism for managing matrix-wide file locks. This utility can be used in shell scripts on different nodes of a matrix and takes advantage of the PSFS filesystem and its internode communication abilities. For example, you might want to use matrix-wide file locking in a Start or Stop script for a service or device monitor.

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

Page 48
Image 48
HP Clustered Gateway Device Management Software manual Psfsrq restore quota data, Psfssema manage matrix-wide file locks