pvfs2-set-mode man page

pvfs2-set-mode – set server mode

Synopsis

pvfs2-set-mode [-s server] [-m mount_point] mode

Description

The pvfs2-set-mode utility is used to change the mode of the server.

The modes are as follows:

admin

Read-only access to be used when running pvfs2-fsck(1).

normal

Normal operation.

The options are as follows:

-s

Specify the address of the server.  This option is used to change the mask only on a particular server instead of the entire cluster.

-m

Specify the file system to operate on.

Environment

PVFS2_DEBUGFILE

If set to the path of a local file, redirect debug output to it.

PVFS2_DEBUGMASK

Set the OrangeFS debug mask.  Possible masks are documented in pvfs2-set-debugmask(1).

PVFS2TAB_FILE

If set, the full pathname for an alternate pvfs2tab file

Files

/etc/pvfs2tab

Examples

Put server into admin mode.

pvfs2-set-mode -m /mnt admin

Bugs

Please submit bug reports to pvfs2-developers@beowulf-underground.org

See Also

pvfs2-set-sync(1), pvfs2tab(5)

Info

2017-07-06