Controls and monitors MVFS caches (dynamic view only)
ClearCase (administrative command)
NOTE: This utility is not intended for general use. It is intended primarily to help ClearCase engineering and Rational Technical Support personnel diagnose problems with the MVFS. For information on user-level cache commands, see the getcache and setcache reference pages.
mvfscache manipulates a dynamic view host's MVFS caches, which are used to optimize file system performance. The local administrator or a member of the Administrators group can enable or disable a cache. Any user can flush a cache.
DETERMINING CACHE STATUS. With no options or arguments, mvfscache displays the enabled/disabled status of all MVFS caches. If you don't use any of the options, but specify a cache name as an argument, mvfscache does not display any output; it returns an appropriate exit status:
0 | specified cache is enabled |
1 | specified cache is disabled |
CONTROLLING CACHE OPERATION. Use one of the following options to control a cache, a set of caches, or cache-related behavior.
attr | Attribute cache. Caches information on recently accessed file-system objects. |
name | Name cache. Caches name lookup translations for recently accessed files and directories. |
slink | Symbolic link text cache. Caches the contents of recently accessed symbolic links. |
rvc | VOB root version cache. Caches VOB mount point data for each dynamic view. |
cto | (cache-related behavior) Close-to-open consistency behavior. Forces a "get file info" operation to the view_server on every operating-system open operation. Disabling this behavior may boost performance if mvfsstat or mvfstime shows heavy cto activity and the user is not sharing views. However, disabling this behavior may result in consistency loss. |
mnode | Mnode freelist cache. Flushes the |
name | Name cache. |
rvc | VOB root version cache. |
lcred | Global credentials cache for cleartext lookup permissions. |
DISPLAYING NAME CACHE CONTENTS. Use -p by itself or with one or more of -n, -v, and -i. The name cache contains the name lookup translations for recently accessed files and directories. The first line of a name lookup translation has this form:
VOB-tag | view:directory-dbid | name ==> view:lookup-dbid |
mvfscache
Attr: on
Name: on
Rvc: on
Slink: on
Cto: on
mvfscache -f mnode
mvfscache -e name,attr
mvfslog, mvfsstat, mvfsstorage, mvfstime, mvfsversion
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |