
Chapter 1: HP Clustered File System Commands 37
Copyright © 1999-2005 PolyServe, Inc. All rights reserved.
When you have completed your work with the suspended filesystem, use
the psfsresume utility to resume the filesystem. Issue the psfsresume
command from the server where you executed psfssuspend. You must be
user root.
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/hpcfs/tools/psfslabel <device> “<label>”
psfssema – manage cluster-wide file locks
Synopsis
/opt/hpcfs/bin/psfssema -i <filename>
/opt/hpcfs/bin/psfssema -g <filename>
/opt/hpcfs/bin/psfssema -r <filename>
/opt/hpcfs/bin/psfssema -d <filename>
Description
The psfssema semaphore utility provides a simple synchronization
mechanism for managing cluster-wide file locks. This utility can be used
in shell scripts on different nodes of a cluster and takes advantage of the
PSFS filesystem and its internode communication abilities. For example,
you might want to use cluster-wide file locking in a Start or Stop script for
a service or device monitor.
The options are:
-i <filename>
Create the PSFS command-line semaphore file <filename> and the
supplemental file <filename.pid> if either file does not already exist. It
then initializes the files to create the PSFS command-line semaphore.
<filename> must be a path on a PSFS filesystem.
-g <filename>
Lock the PSFS command-line semaphore associated with <filename>,
which is the name of a semaphore file created by psfssema -i.
Komentarze do niniejszej Instrukcji