2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
cacheinfo - Defines configuration parameters for the Cache Manager
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-14 01:30:20 +00:00
|
|
|
The F<cacheinfo> file defines configuration parameters for the Cache
|
|
|
|
Manager, which reads the file as it initializes.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
The file contains a single line of ASCII text and must reside in the
|
2005-12-14 01:30:20 +00:00
|
|
|
F</usr/vice/etc> directory. Use a text editor to create it during initial
|
|
|
|
configuration of the client machine; the required format is as follows:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-14 01:30:20 +00:00
|
|
|
<mount>:<cache>:<size>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
where
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-14 01:30:20 +00:00
|
|
|
=item <mount>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Names the local disk directory at which the Cache Manager mounts the AFS
|
2005-12-14 01:30:20 +00:00
|
|
|
namespace. It must exist before the B<afsd> program runs. The conventional
|
|
|
|
value is F</afs>. Using any other value prevents traversal of pathnames
|
|
|
|
that begin with F</afs> (such as pathnames to files in foreign cells that
|
|
|
|
do use the conventional name). The B<-mountdir> argument to the B<afsd>
|
|
|
|
command overrides this value.
|
|
|
|
|
|
|
|
=item <cache>
|
|
|
|
|
|
|
|
Names the local disk directory to use as a cache. It must exist before the
|
|
|
|
B<afsd> program runs. The standard value is F</usr/vice/cache>, but it is
|
|
|
|
acceptable to substitute a directory on a partition with more available
|
|
|
|
space. Although the Cache Manager ignores this field when configuring a
|
|
|
|
memory cache, a value must always appear in it. The B<-cachedir> argument
|
|
|
|
to the B<afsd> command overrides this value.
|
|
|
|
|
|
|
|
=item <size>
|
|
|
|
|
|
|
|
Specifies the cache size as a number of 1-kilobyte blocks. Larger caches
|
|
|
|
generally yield better performance, but a disk cache must not exceed 90%
|
|
|
|
of the space available on the cache partition (85% for AIX systems), and a
|
|
|
|
memory cache must use no more than 25% of available machine memory.
|
|
|
|
|
|
|
|
The B<-blocks> argument to the afsd command overrides this value. To reset
|
|
|
|
cache size without rebooting on a machine that uses disk caching, use the
|
|
|
|
B<fs setcachesize> command. To display the current size of a disk or
|
|
|
|
memory cache between reboots, use the B<fs getcacheparms> command.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2005-12-14 01:30:20 +00:00
|
|
|
The following example cacheinfo file mounts the AFS namespace at F</afs>,
|
|
|
|
establishes a disk cache in the F</usr/vice/cache> directory, and defines
|
|
|
|
cache size as 50,000 1-kilobyte blocks.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
/afs:/usr/vice/cache:50000
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-14 01:30:20 +00:00
|
|
|
L<afsd(8)>,
|
2006-02-27 20:46:25 +00:00
|
|
|
L<fs_getcacheparms(1)>,
|
|
|
|
L<fs_setcachesize(1)>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|