Update CellServDB to 20150119 snapshot
[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 ############################################################################
10 # On most linuces copy this file to
11 #        /etc/sysconfig/afs
12 # so afs.rc can use it as config file.
13 ############################################################################
14
15 # Configuration information for AFS client
16
17 # AFS_CLIENT and AFS_SERVER determine if we should start the client and or
18 # the bosserver. Possible values are on and off.
19 AFS_CLIENT=on
20 AFS_SERVER=off
21
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.
25 ENABLE_AFSDB=on
26 ENABLE_DYNROOT=on
27
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:
33 #                  1000).
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
37 #                  HOME CELL.
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.
43 #      -verbose     Be chatty.
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)
49 #                 support daemon
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 #      -rxmaxmtu  Max mtu. Useful when using VPN when packets might fragment.
63 #                 a value of 1244 should work.
64 #      -shutdown  Shutdown afs daemons
65 # ---------------------------------------------------------------------------
66 XXLARGE="-fakestat -stat 4000 -dcache 4000 -daemons 6 -volumes 256"
67 XLARGE="-fakestat -stat 3600 -dcache 3600 -daemons 5 -volumes 196"
68 LARGE="-fakestat -stat 2800 -dcache 2400 -daemons 5 -volumes 128"
69 MEDIUM="-fakestat -stat 2000 -dcache 800 -daemons 3 -volumes 70"
70 SMALL="-fakestat -stat 300 -dcache 100 -daemons 2 -volumes 50"
71
72 # cachesize and according options are set by /afs/rc.d/init.d/afs
73 #   * if you set CACHESIZE to "AUTOMATIC", it will automatically be chosen
74 #     deduced by parition sizes (does not work if your cache is on / or /usr)
75 #   * if you set OPTIONS to "AUTOMATIC", the init script will choose a set
76 #     of options based on the cache size
77 # otherwise the values specified here will be used. So be careful!
78 # Note: if you leave these as-is, no changes are made.
79 CACHESIZE=AUTOMATIC
80 #CACHESIZE=50000
81 OPTIONS=AUTOMATIC
82 #OPTIONS=$SMALL
83
84 # force startup script to wait for salvage to finish before proceeding
85 # with machine boot
86 WAIT_FOR_SALVAGE=no
87
88 # you should never need to change these settings
89 AFSDIR=/afs
90 CACHEDIR=/usr/vice/cache
91 CACHEINFO=/usr/vice/etc/cacheinfo
92
93 # Set to "-verbose" for a lot of debugging information from afsd. Only
94 # useful for debugging as it prints _a lot_ of information.
95 VERBOSE=
96
97 # Sample server preferences function. Set server preferences using this.
98 # afs_serverprefs() {
99 #    /usr/afsws/etc/fs setserverprefs <host> <rank>
100 #}
101
102 # Either the name of an executable script or a set of commands go here.
103 # AFS_POST_INIT=afs_serverprefs
104 AFS_POST_INIT=