HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
m
mount_cachefs(1M) mount_cachefs(1M)
NAME
mount_cachefs: mount - mount CacheFS file systems
SYNOPSIS
mount -F cachefs [ generic_options ]
-o backfstype= file_system_type
[ other_cacheFS_options ] special_mount_point
DESCRIPTION
The CacheFS-specific version of the
mount command mounts a cached file system; if necessary, it NFS-
mounts its back file system. It also provides a number of CacheFS-specific options for controlling the cach-
ing process.
Options
To mount a CacheFS file system, use the generic
mount command with the -F option followed by the
argument
cachefs. The following generic mount
options are available:
-e Verbose mode. Write a message to the standard output indicating which file system is
being mounted.
-r Mount the file system read-only.
The following arguments to the -o option are specifically for CacheFS mounts. Use commas to separate
multiple options. Notice that the backfstype argument must be specified.
backfstype= file_system_type
The file system type of the back file system (for example, nfs).
backpath=path
Specifies where the back file system is already mounted. If this argument is not supplied,
CacheFS determines a mount point for the back file system. The back file system must be
read-only.
cachedir=directory
The name of the cache directory.
cacheid=ID ID is a string specifying a particular instance of a cache. If you do not specify a cache ID,
CacheFS will construct one.
rpages If specified when mounting a CacheFS file system, a binary will be read and populated in
the cache the first time it is loaded. Subsequent access to the binary will be satisfied from
the cache.
write-around | non-shared
Write modes for CacheFS. The write-around mode (the default) handles writes the
same as NFS does; that is, writes are made to the back file system, and the affected file is
purged from the cache. You can use the non-shared mode when you are sure that no
one else will be writing to the cached file system. In this mode, all writes are made to both
the front and the back file system, and the file remains in the cache.
noconst Disables cache consistency checking. By default, periodic consistency checking is enabled.
Specify noconst only when you know that the back file system will not be modified. Try-
ing to perform cache consistency check using cfsadmin -s will result in error.
demandconst and noconst are mutually exclusive.
demandconst
Verifies cache consistency only when explicitly requested, rather than the periodic checking
that is done by default. A consistency check is requested by using the -s option of the
cfsadmin(1M) command. This option is useful for back file systems that change infre-
quently, for example, /usr/bin. demandconst and noconst are mutually exclusive.
local-access
Causes the front file system to interpret the mode bits used for access checking instead or
having the back file system verify access permissions. Do not use this argument with secure
NFS .
purge Purge any cached information for the specified file system.
rw | ro Read-write (default) or read-only.
HP-UX 11i Version 2: December 2007 Update − 1 − Hewlett-Packard Company 589