
Chapter 1: HP Clustered File System Commands 38
Copyright © 1999-2005 PolyServe, Inc. All rights reserved.
If the semaphore is already locked by another node in the cluster, the
calling process blocks until the semaphore becomes available.
An error is returned if <filename> does not exist or has not been
initialized by psfssema -i, or if <filename.pid> does not exist.
-r <filename>
Unlock the PSFS command-line semaphore associated with <filename>,
which is the name of a semaphore file created by psfssema -i. If other
nodes are blocked on the semaphore when psfssema-r is called, one of
the blocked psfssema -g processes will return successfully.
-d <filename>
Delete the PSFS command-line semaphore associated with <filename>,
which is the name of a semaphore file created by psfssema -i. It also
deletes <filename> and <filename.pid>.
psfssuspend – suspend a PSFS filesystem
Synopsis
/opt/hpcfs/tools/psfssuspend <directory_mountpoint>
Description
The psfssuspend utility suspends a PSFS filesystem in a stable, coherent,
and unchanging state. While the filesystem is in this state, you can copy it
for backup and/or archival purposes. When copying directly from a
suspended device, be sure to use the raw device (/dev/rpsd/...) to ensure
that all blocks copied are up-to-date.
The filesystem is essentially unusable while it is suspended; however,
applications that can tolerate extended waits for I/O do not need to be
terminated.
The psfsresume utility restores a suspended filesystem. The psfssuspend
and psfsresume utilities affect the specified filesystem on all servers
where it is mounted; however, the utilities should be executed on only
one server in the cluster.
To suspend a filesystem, issue the following command on one server that
has mounted the filesystem. You must be user root.
/opt/hpcfs/tools/psfssuspend directory_mountpoint
Comentários a estes Manuais