3 dafileserver - Initializes the File Server component of the dafs process
10 =include fragments/dafileserver-synopsis.pod
17 The B<dafileserver> command initializes the File Server component of the
18 C<dafs> process. In the conventional configuration, its binary file is
19 located in the F</usr/afs/bin> directory on a file server machine.
21 The B<dafileserver> command is not normally issued at the command shell
22 prompt, but rather placed into a database server machine's
23 F</usr/afs/local/BosConfig> file with the B<bos create> command. If it is
24 ever issued at the command shell prompt, the issuer must be logged onto a
25 file server machine as the local superuser C<root>.
27 =include fragments/fileserver-description.pod
31 =include fragments/fileserver-cautions.pod
35 =include fragments/fileserver-options.pod
37 =item B<-fs-state-dont-save>
39 When present, fileserver state will not be saved during shutdown. Default
42 =item B<-fs-state-dont-restore>
44 When present, fileserver state will not be restored during startup.
45 Default is to restore state on startup.
47 =item B<-fs-state-verify> (none | save | restore | both)
49 This argument controls the behavior of the state verification mechanism.
50 A value of C<none> turns off all verification. A value of C<save> only
51 performs the verification steps prior to saving state to disk. A value
52 of C<restore> only performs the verification steps after restoring state
53 from disk. A value of C<both> performs all verifications steps both
54 prior to save and following a restore.
56 The default is C<both>.
60 This option completely disables the VLRU mechanism, which means volumes will
61 never "soft detach". The use of this option is only intended for debugging use
62 or if you find a serious bug in the VLRU mechanism you wish to work around.
64 =item B<-vlruthresh <I<minutes>>
66 The number of minutes of inactivity before a volume is eligible for soft
67 detachment. Default is 120 minutes.
69 =item B<-vlruinterval <I<seconds>>
71 The number of seconds between VLRU candidate queue scan. The default is
74 =item B<-vlrumax <I<positive integer>>
76 The maximum number of volumes which can be soft detached in a single pass
77 of the scanner. Default is 8 volumes.
79 =item B<-unsafe-nosalvage>
81 This option causes the fileserver to bypass the normal safety check when
82 attaching volumes that checks the inUse field in the volume header. With
83 this option, volumes that were in use at the time of an unclean shutdown
84 will not be salvaged immediately the next time they are accessed, and thus
85 risk (possibly silent and/or irrevocable) corruption. Volumes will still
86 be salvaged when an internal inconsistency is detected or other cases
87 where a salvage would normally occur.
89 Due to the increased risk of data corruption, the use of this flag is
90 strongly discouraged. Only use it if you really know what you are doing.
96 The following B<bos create> command creates a dafs process on
97 the file server machine C<fs2.example.com> that uses the large configuration
98 size, and allows volumes to exceed their quota by 10%. Type the command on
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
107 =head1 TROUBLESHOOTING
109 =include fragments/fileserver-troubleshooting.pod
111 =head1 PRIVILEGE REQUIRED
113 =include fragments/fileserver-privilege.pod
117 =include fragments/fileserver-also.pod
122 =include fragments/fileserver-copyright.pod