fs

Langue: en

Version: OpenAFS (mandriva - 01/05/08)

Autres sections - même nom

Section: 1 (Commandes utilisateur)

NAME

fs - Introduction to the fs command suite

DESCRIPTION

The commands in the fs command suite constitute the main administrative interface to the Cache Manager on an AFS client machine, which is responsible for fetching AFS data from file server machines on behalf of applications running on the client machine.

There are several categories of commands in the fs command suite:

Commands to set and report how the Cache Manager interacts with server machines: fs checkservers, fs getcellstatus, fs getcrypt, fs getserverprefs, fs listcells, fs newcell, fs setcell, fs setcrypt, fs setserverprefs, fs sysname, and fs wscell.
Commands to administer access control lists (ACLs): fs cleanacl, fs copyacl, fs getcalleraccess, fs listacl, and fs setacl.
Commands to administer server machines, volumes or partitions that house a given file or directory: fs diskfree, fs examine, fs listquota, fs quota, fs setquota, fs setvol, fs whereis, and fs whichcell.
Commands to administer the local client cache and related information: fs checkvolumes, fs flush, fs flushall, fs flushvolume, fs getcacheparms, fs listaliases, fs newalias, and fs setcachesize.
Commands to administer volume mount points: fs lsmount, fs mkmount, and fs rmmount.
Commands to control monitoring and tracing: fs debug, and fs messages.
A command to administer the Cache Manager's interaction with other file systems: fs exportafs.
Commands to obtain help: fs apropos and fs help.

The Cache Manager and the fs commands use and maintain the following configuration files:

/etc/openafs/CellServDB
Lists the database server machines in the local cell and any foreign cell to which the administrator wishes to enable AFS access for users working on the machine. The database server machines run the Authentication, Backup, Protection and Volume Location (VL) Server processes, which maintain databases of administrative information. For users to access a cell, its root.cell volume must also be mounted in the local cell's AFS file tree.
/etc/openafs/ThisCell
Defines the machine's cell membership with respect to the AFS command suites and Cache Manager access to AFS data.
/etc/openafs/cacheinfo
Defines configuration parameters for the cache, including its size and whether it is in memory or on disk.

In addition, the Cache Manager automatically creates files on the cache partition (by default, /usr/vice/cache for caching and tracking files fetched from file server machines.

For more details, see the reference page for each file.

OPTIONS

The following flag is available on every command in the fs suite. The reference page for each command also lists it, but it is described here in greater detail.
-help
Prints a command's online help message on the standard output stream. Do not combine this flag with any of the command's other options; when it is provided, the command interpreter ignores all other options, and only prints the help message.

PRIVILEGE REQUIRED

The privileges required for fs commands vary more than for other command suites. Pay special attention to the PRIVILEGE REQUIRED section of each command description.

The various types of necessary privilege include:

Having permissions on a directory's ACL. For example, creating and removing mount points requires a (administer), i (insert), and d (delete) permissions on the ACL of the directory in which the mount point resides.
Being logged onto the machine as the local superuser root. This is necessary when issuing commands that affect Cache Manager configuration.
Belonging to the system:administrators group in the Protection Database.
No privilege. Many fs commands simply list information.

SEE ALSO

the afs_cache(5) manpage, the CellServDB(5) manpage, the ThisCell(5) manpage the cacheinfo(5) manpage, the fs_apropos(1) manpage, the fs_checkservers(1) manpage, the fs_checkvolumes(1) manpage, the fs_cleanacl(1) manpage, the fs_copyacl(1) manpage, the fs_diskfree(1) manpage, the fs_examine(1) manpage, the fs_exportafs(1) manpage, the fs_flush(1) manpage, the fs_flushall(1) manpage, the fs_flushmount(1) manpage, the fs_flushvolume(1) manpage, the fs_getcacheparms(1) manpage, the fs_getcalleraccess(1) manpage, the fs_getcellstatus(1) manpage, the fs_getclientaddrs(1) manpage, the fs_getcrypt(1) manpage, the fs_getserverprefs(1) manpage, the fs_help(1) manpage, the fs_listacl(1) manpage, the fs_listaliases(1) manpage, the fs_listcells(1) manpage, the fs_listquota(1) manpage, the fs_lsmount(1) manpage, the fs_messages(1) manpage, the fs_mkmount(1) manpage, the fs_newalias(1) manpage, the fs_newcell(1) manpage, the fs_quota(1) manpage, the fs_rmmount(1) manpage, the fs_setacl(1) manpage, the fs_setcachesize(1) manpage, the fs_setcell(1) manpage, the fs_setclientaddrs(1) manpage, the fs_setcrypt(1) manpage, the fs_setquota(1) manpage, the fs_setserverprefs(1) manpage, the fs_setvol(1) manpage, the fs_storebehind(1) manpage, the fs_sysname(1) manpage, the fs_whereis(1) manpage, the fs_whichcell(1) manpage, the fs_wscell(1) manpage IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.