linux-rc-file-cleanup-20011008
[openafs.git] / src / afsd / afs.conf.linux
1 #! /bin/sh
2 # Copyright 2000, International Business Machines Corporation and others.
3 # All Rights Reserved.
4
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
8
9 # Configuration information for AFS client
10
11 # AFS_CLIENT and AFS_SERVER determine if we should start the client and or
12 # the bosserver. Possible values are on and off.
13 AFS_CLIENT=on
14 AFS_SERVER=off
15
16 # AFS client configuration options:
17 XXLARGE="-stat 4000 -dcache 4000 -daemons 6 -volumes 256 -files 50000"
18 XLARGE="-stat 3600 -dcache 3600 -daemons 5 -volumes 196 -files 50000"
19 LARGE="-stat 2800 -dcache 2400 -daemons 5 -volumes 128"
20 MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70"
21 SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50"
22
23 # cachesize and according options are set by /afs/rc.d/init.d/afs
24 #   * if you set CACHESIZE to "AUTOMATIC", it will automatically be chosen
25 #     deduced by parition sizes (does not work if your cache is on / or /usr)
26 #   * if you set OPTIONS to "AUTOMATIC", the init script will choose a set
27 #     of options based on the cache size
28 # otherwise the values specified here will be used. So be careful!
29 # Note: if you leave these as-is, no changes are made.
30 CACHESIZE=
31 OPTIONS=$MEDIUM
32
33 # you should never need to change these settings
34 AFSDIR=/afs
35 CACHEDIR=/usr/vice/cache
36 CACHEINFO=/usr/vice/etc/cacheinfo
37
38 # Set to "-verbose" for a lot of debugging information from afsd. Only
39 # useful for debugging as it prints _a lot_ of information.
40 VERBOSE=
41
42 # Sample server preferences function. Set server preferences using this.
43 # afs_serverprefs() {
44 #    /usr/afsws/etc/fs setserverprefs <host> <rank>
45 #}
46
47 # Either the name of an executable script or a set of commands go here.
48 # AFS_POST_INIT=afs_serverprefs
49 AFS_POST_INIT=