Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / dafileserver.pod.in
CommitLineData
805e021f
CE
1=head1 NAME
2
3dafileserver - Initializes the File Server component of the dafs process
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10=include fragments/dafileserver-synopsis.pod
11
12=for html
13</div>
14
15=head1 DESCRIPTION
16
17The B<dafileserver> command initializes the File Server component of the
18C<dafs> process. In the conventional configuration, its binary file is
19located in the F</usr/afs/bin> directory on a file server machine.
20
21The B<dafileserver> command is not normally issued at the command shell
22prompt, but rather placed into a database server machine's
23F</usr/afs/local/BosConfig> file with the B<bos create> command. If it is
24ever issued at the command shell prompt, the issuer must be logged onto a
25file server machine as the local superuser C<root>.
26
27=include fragments/fileserver-description.pod
28
29=head1 CAUTIONS
30
31=include fragments/fileserver-cautions.pod
32
33=head1 OPTIONS
34
35=include fragments/fileserver-options.pod
36
37=item B<-fs-state-dont-save>
38
39When present, fileserver state will not be saved during shutdown. Default
40is to save state.
41
42=item B<-fs-state-dont-restore>
43
44When present, fileserver state will not be restored during startup.
45Default is to restore state on startup.
46
47=item B<-fs-state-verify> (none | save | restore | both)
48
49This argument controls the behavior of the state verification mechanism.
50A value of C<none> turns off all verification. A value of C<save> only
51performs the verification steps prior to saving state to disk. A value
52of C<restore> only performs the verification steps after restoring state
53from disk. A value of C<both> performs all verifications steps both
54prior to save and following a restore.
55
56The default is C<both>.
57
58=item B<-vlrudisable>
59
60This option completely disables the VLRU mechanism, which means volumes will
61never "soft detach". The use of this option is only intended for debugging use
62or if you find a serious bug in the VLRU mechanism you wish to work around.
63
64=item B<-vlruthresh <I<minutes>>
65
66The number of minutes of inactivity before a volume is eligible for soft
67detachment. Default is 120 minutes.
68
69=item B<-vlruinterval <I<seconds>>
70
71The number of seconds between VLRU candidate queue scan. The default is
72120 seconds.
73
74=item B<-vlrumax <I<positive integer>>
75
76The maximum number of volumes which can be soft detached in a single pass
77of the scanner. Default is 8 volumes.
78
79=item B<-unsafe-nosalvage>
80
81This option causes the fileserver to bypass the normal safety check when
82attaching volumes that checks the inUse field in the volume header. With
83this option, volumes that were in use at the time of an unclean shutdown
84will not be salvaged immediately the next time they are accessed, and thus
85risk (possibly silent and/or irrevocable) corruption. Volumes will still
86be salvaged when an internal inconsistency is detected or other cases
87where a salvage would normally occur.
88
89Due to the increased risk of data corruption, the use of this flag is
90strongly discouraged. Only use it if you really know what you are doing.
91
92=back
93
94=head1 EXAMPLES
95
96The following B<bos create> command creates a dafs process on
97the file server machine C<fs2.example.com> that uses the large configuration
98size, and allows volumes to exceed their quota by 10%. Type the command on
99a single line:
100
101 % bos create -server fs2.example.com -instance dafs -type dafs \
102 -cmd "/usr/afs/bin/dafileserver -pctspare 10 -L" \
103 /usr/afs/bin/davolserver \
104 /usr/afs/bin/salvageserver \
105 /usr/afs/bin/dasalvager
106
107=head1 TROUBLESHOOTING
108
109=include fragments/fileserver-troubleshooting.pod
110
111=head1 PRIVILEGE REQUIRED
112
113=include fragments/fileserver-privilege.pod
114
115=head1 SEE ALSO
116
117=include fragments/fileserver-also.pod
118L<fileserver(8)>,
119
120=head1 COPYRIGHT
121
122=include fragments/fileserver-copyright.pod