root/trunk/source/openafs-conf-update/install-tree/private/var/db/openafs/etc/config/afs.conf.sample

Revision 96, 4.2 kB (checked in by broder, 17 years ago)

Built package to install my patch to OpenAFS

Line 
1 # -*- 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 # Set to "-verbose" for a lot of debugging information from afsd.  Only useful
12 # for debugging as it prints a LOT of information.
13 VERBOSE=
14
15 # AFS client configuration options.
16 #
17 # Here is a (mostly) complete list of flags that afsd accepts and that are
18 # useful here:
19 #
20 #   -blocks     The number of blocks available in the workstation cache.
21 #   -files      The target number of files in the workstation cache (Default:
22 #               1000).
23 #   -rootvol    The name of the root volume to use.
24 #   -stat       The number of stat cache entries.
25 #   -hosts      List of servers to check for volume location info FOR THE
26 #               HOME CELL.
27 #   -memcache   Use an in-memory cache rather than disk.
28 #   -cachedir   The base directory for the workstation cache.
29 #   -mountdir   The directory on which the AFS is to be mounted.
30 #   -confdir    The configuration directory.
31 #   -nosettime  Don't keep checking the time to avoid drift (default).
32 #   -settime    Keep checking the time to avoid drift.
33 #   -verbose    Be chatty.
34 #   -debug      Print out additional debugging info.
35 #   -daemons    The number of background daemons to start (Default: 2).
36 #   -rmtsys     Also fires up an afs remote sys call (e.g. pioctl, setpag)
37 #               support daemon
38 #   -chunksize  2^n is the chunksize to be used (Default: use a kernel
39 #               module default).
40 #   -dcache     The number of data cache entries.
41 #   -prealloc   Number of preallocated "small" memory blocks
42 #   -waitclose  Make close calls always synchronous (slows them down, though)
43 #   -files_per_subdir   Number of files per cache subdir (Default: 2048).
44 #
45 # Using the memory cache is not recommended.  It's less stable than the disk
46 # cache and doesn't improve performance as much as it might sound.
47 #
48 # The default behavior is to let afsd automatically choose an apporpriate set
49 # of flags.  This should produce reasonable behavior for most working sets
50 # provided that one is using a modern AFS client (1.4.2 or later).
51 #
52 # You can override that default behavior by setting OPTIONS to a specific set
53 # of flags.
54 OPTIONS="-afsdb -stat 2000 -dcache 800 -daemons 3 -volumes 70 -dynroot -fakestat-all"
55
56 # The default value for the client sysname (as returned by fs sysname) is
57 # determined during the kernel module build and is taken from the architecture
58 # and the major Linux kernel version.  Accesses to directories named "@sys" in
59 # AFS will be internally redirected to a directory by this name by the AFS
60 # client, allowing a single path to resolve to different directories depending
61 # on the client architecture.
62 #
63 # If you would like to override the client sysname, uncomment this line and
64 # set the variable to a space-separated list of sysnames.  The AFS client will
65 # attempt to resolve @sys to each directory name in the order given.
66 AFS_SYSNAME=""
67
68 # If you want to prefer particular servers for replicated volumes, you can
69 # configure that by defining an afs_server_prefs function here and then
70 # uncommenting the setting of AFS_POST_INIT below.  For more information, see
71 # fs help setserverprefs and fs getserverprefs (for the current values).
72
73 #afs_server_prefs() {
74 #    fs setserverprefs <host> <rank>
75 #}
76
77 # If you want to always run some command after starting OpenAFS, you can put
78 # it here.  Note that you cannot run multiple commands, even combined with &&
79 # or ; or similar shell meta-characters.  If you want to run multiple
80 # commands, define a shell function instead and put the name of the shell
81 # function here.
82 AFS_POST_INIT=
83
84 # Uncomment this line if you defined an afs_server_prefs function.  (If you
85 # have other commands that you also want to run, you'll have to put them in
86 # that function, as you can only run one function.)
87 #AFS_POST_INIT=afs_server_prefs
88
89 # If you want to always run some command before shutting down OpenAFS, you can
90 # put it here.  The same caveat applies about multiple commands.
91 AFS_PRE_SHUTDOWN=
Note: See TracBrowser for help on using the browser.