xref: /titanic_41/usr/src/man/man1m/cachefsd.1m (revision bce835f2166e1510cc776830775859ba3e49c1ce)
te
Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
CACHEFSD 1M "Oct 2, 2000"
NAME
cachefsd - CacheFS daemon
SYNOPSIS

/usr/lib/fs/cachefs/cachefsd
DESCRIPTION

The cachefsd server implements features of the cache filesystem (CacheFS). It is invoked at boot time and run if the / (root) and /usr filesystems are being cached. If /usr is being cached, cachefsd is invoked by inetd(1M) from inetd.conf(4). At run time, cachefsd is invoked by the inetd mechanism in response to an RPC request from a user command such as mount_cachefs(1M).

The cachefsd server supports the "disconnected mode" of CacheFS. In this mode, a user can continue to read and, depending on the option selected, write to files in a cached filesystem when the NFS server for the cached files is not available.

The cachefsd daemon performs the following functions in support of the CacheFS:

Implements the connection policy. The daemon determines whether the NFS server backing the cache is connected or disconnected from the cache, or is in transition from the connected or disconnected states.

Implements "log rolling," wherein the daemon monitors a disconnected NFS server for reconnection. After such a server returns to a connected state, cachefsd rolls any local changes to cached files (kept in a log) back to the server.

Manages "packing," wherein cachefsd makes a best effort to ensure that files in a user-specified list are available in the cache in disconnected mode.

Supports user interfaces by supplying statistics, reporting conflicts between the cache and the back filesystem, and supporting a list of files for packing.

The running of cachefsd is required for the disconnected mode of CacheFS.

OPTIONS

The following options are supported: -r

Used for invoking cachefsd for the / filesystem.

SEE ALSO

cachefspack(1M), cfsadmin(1M), mount_cachefs(1M), inetd.conf(4), attributes(5)