Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / fragments / fileserver-cautions.pod
CommitLineData
805e021f
CE
1There are two strategies the File Server can use for attaching AFS volumes
2at startup and handling volume salvages. The traditional method assumes
3all volumes are salvaged before the File Server starts and attaches all
4volumes at start before serving files. The newer demand-attach method
5attaches volumes only on demand, salvaging them at that time as needed,
6and detaches volumes that are not in use. A demand-attach File Server can
7also save state to disk for faster restarts. The B<dafileserver> implements
8the demand-attach method, while B<fileserver> uses the traditional method.
9
10The choice of traditional or demand-attach File Server changes the
11required setup in F<BosConfig>. When changing from a traditional File
12Server to demand-attach or vice versa, you will need to stop and remove
13the C<fs> or C<dafs> node in F<BosConfig> and create a new node of the
14appropriate type. See L<bos_create(8)> for more information.
15
16Do not use the B<-w> argument, which is intended for use
17by the OpenAFS developers only. Changing it from its default
18values can result in unpredictable File Server behavior.
19
20Do not specify both the B<-spare> and B<-pctspare> arguments. Doing so
21causes the File Server to exit, leaving an error message in the
22F</usr/afs/logs/FileLog> file.
23
24Options that are available only on some system types, such as the B<-m>
25and B<-lock> options, appear in the output generated by the B<-help>
26option only on the relevant system type.
27
28Currently, the maximum size of a volume quota is 2 terabytes (2^41 bytes)
29and the maximum size of a /vicepX partition on a fileserver is 2^64
30kilobytes. The maximum partition size in releases 1.4.7 and earlier is
312 terabytes (2^31 bytes). The maximum partition size for 1.5.x
32releases 1.5.34 and earlier is 2 terabytes as well.
33
34The maximum number of directory entries is 64,000 if all of the entries
35have names that are 15 octets or less in length. A name that is 15 octets
36long requires the use of only one block in the directory. Additional
37sequential blocks are required to store entries with names that are longer
38than 15 octets. Each additional block provides an additional length of 32
39octets for the name of the entry. Note that if file names use an encoding
40like UTF-8, a single character may be encoded into multiple octets.
41
42In real world use, the maximum number of objects in an AFS directory
43is usually between 16,000 and 25,000, depending on the average name
44length.