System Administration Commands cachefsd(1M)
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 /usris 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 commandsuch 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 sup-
port of the CacheFS:o Implements the connection policy. The daemon deter-
mines whether the NFS server backing the cache is connected or disconnected from the cache, or is in transition from the connected or disconnected states.o Implements "log rolling," wherein the daemon moni-
tors 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.o 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. o 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.SunOS 5.11 Last change: 2 October 2000 1
System Administration Commands cachefsd(1M)
OPTIONS The following options are supported:-r Used for invoking cachefsd for the / filesystem.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWcs ||_____________________________|_____________________________|
SEE ALSO
cachefspack(1M), cfsadmin(1M), mount_cachefs(1M),
inetd.conf(4), attributes(5)SunOS 5.11 Last change: 2 October 2000 2