mount_cachefs.1m (2010 09)

m
mount_cachefs(1M) mount_cachefs(1M)
NAME
mount_cachefs: mount, umount - mount and unmount CacheFS file systems
SYNOPSIS
/sbin/fs/cachefs/mount
[-F cachefs
][-rqOV]
-o backfstype=file_system_type
[specific_options ] resource mount_point
/sbin/fs/cachefs/umount
mount_point
DESCRIPTION
The
mount utility attaches a named resource to the file system hierarchy at the pathname location
mount_point , which must already exist. If mount_point has any contents prior to the
mount operation,
the contents remain hidden until the resource is once again unmounted. 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 options that are CacheFS-specific for controlling the caching process.
CacheFS can be used only with NFSv2 or NFSv3. It cannot be used with NFSv4. If NFSv4 is enabled by
default CacheFS mount fails, unless the user specifies that vers is 2 or 3. See mount_nfs (1M) for the
description of vers .
The
umount utility unmounts mounted file systems.
Only a superuser can mount and unmount file systems.
See mount_nfs (1M) for the description of resource .
Options (mount)
See mount(1M) for the description of the
-rFV options.
-o specific_options
Set file system specific options according to a comma-separated list with no intervening spaces.
Notice that the backfstype argument must be specified.
acdirmax=n Specifies that cached attributes are held for no more than n seconds after direc-
tory update. After n seconds, all directory information is purged from the cache.
The default value is 30 seconds.
acdirmin=n Specifies that cached attributes are held for at least n seconds after directory
update. After n seconds, CacheFS checks to see if the directory modification
time on the back file system has changed. If it has, all information about the
directory is purged from the cache and new data is retrieved from the back file
system. The default value is 30 seconds.
acregmax=n Specifies that cached attributes are held for no more than n seconds after file
modification. After n seconds, all file information is purged from the cache. The
default value is 30 seconds.
acregmin=n Specifies that cached attributes are held for at least n seconds after file
modification. After n seconds, CacheFS checks to see if the file modification time
on the back file system has changed. If it has, all information about the file is
purged from the cache and new data is retrieved from the back file system. The
default value is 30 seconds.
actimeo=n Sets acregmin, acregmax, acdirmin, and acdirmax to n.
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.
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.
demandconst Verifies cache consistency only when explicitly requested, rather than periodic
checking that is done by default. A consistency check is requested by using the
-s option of the cfsadmin command. This option is useful for back file
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)