2 # Copyright 2000, International Business Machines Corporation and others.
5 # This software has been released under the terms of the IBM Public
6 # License. For details, see the LICENSE file in the top-level source
7 # directory or online at http://www.openafs.org/dl/license10.html
9 ############################################################################
10 # On most linuces copy this file to
12 # so afs.rc can use it as config file.
13 ############################################################################
15 # Configuration information for AFS client
17 # AFS_CLIENT and AFS_SERVER determine if we should start the client and or
18 # the bosserver. Possible values are on and off.
22 # ENABLE_AFSDB and ENABLE_DYNROOT determine whether AFSDB support and
23 # Dynroot support (dynamically generated /afs), respectively, should be
24 # enabled in the AFS client.
28 # AFS client configuration options:
29 # ---------------------------------------------------------------------------
30 # possible AFS client afsd configuration options (from 1.3.74) are
31 # -blocks The number of blocks available in the workstation cache.
32 # -files The target number of files in the workstation cache (Default:
34 # -rootvol The name of the root volume to use.
35 # -stat The number of stat cache entries.
36 # -hosts List of servers to check for volume location info FOR THE
38 # -memcache Use an in-memory cache rather than disk.
39 # -cachedir The base directory for the workstation cache.
40 # -mountdir The directory on which the AFS is to be mounted.
41 # -confdir The configuration directory .
42 # -nosettime Don't keep checking the time to avoid drift.
44 # -debug Print out additional debugging info.
45 # -kerndev [OBSOLETE] The kernel device for AFS.
46 # -dontfork [OBSOLETE] Don't fork off as a new process.
47 # -daemons The number of background daemons to start (Default: 2).
48 # -rmtsys Also fires up an afs remote sys call (e.g. pioctl, setpag)
50 # -chunksize [n] 2^n is the chunksize to be used. 0 is default.
51 # -dcache The number of data cache entries.
52 # -biods Number of bkg I/O daemons (AIX3.1 only)
53 # -prealloc Number of preallocated "small" memory blocks
54 # -pininodes Number of inodes which can be spared from inode[] for
55 # pointing at Vfiles. If this is set too high, you may have
56 # system problems, which can only be ameliorated by changing
57 # NINODE (or equivalent) and rebuilding the kernel.
58 # This option is now disabled.
59 # -logfile Place where to put the logfile (default in <cache>/etc/AFSLog.
60 # -waitclose make close calls always synchronous (slows em down, tho)
61 # -files_per_subdir [n] number of files per cache subdir. (def=2048)
62 # -shutdown Shutdown afs daemons
63 # ---------------------------------------------------------------------------
64 XXLARGE="-fakestat -stat 4000 -dcache 4000 -daemons 6 -volumes 256"
65 XLARGE="-fakestat -stat 3600 -dcache 3600 -daemons 5 -volumes 196"
66 LARGE="-fakestat -stat 2800 -dcache 2400 -daemons 5 -volumes 128"
67 MEDIUM="-fakestat -stat 2000 -dcache 800 -daemons 3 -volumes 70"
68 SMALL="-fakestat -stat 300 -dcache 100 -daemons 2 -volumes 50"
70 # cachesize and according options are set by /afs/rc.d/init.d/afs
71 # * if you set CACHESIZE to "AUTOMATIC", it will automatically be chosen
72 # deduced by parition sizes (does not work if your cache is on / or /usr)
73 # * if you set OPTIONS to "AUTOMATIC", the init script will choose a set
74 # of options based on the cache size
75 # otherwise the values specified here will be used. So be careful!
76 # Note: if you leave these as-is, no changes are made.
82 # force startup script to wait for salvage to finish before proceeding
86 # you should never need to change these settings
88 CACHEDIR=/usr/vice/cache
89 CACHEINFO=/usr/vice/etc/cacheinfo
91 # Set to "-verbose" for a lot of debugging information from afsd. Only
92 # useful for debugging as it prints _a lot_ of information.
95 # Sample server preferences function. Set server preferences using this.
97 # /usr/afsws/etc/fs setserverprefs <host> <rank>
100 # Either the name of an executable script or a set of commands go here.
101 # AFS_POST_INIT=afs_serverprefs