File: mfschunkserver.cfg.5.txt

package info (click to toggle)
lizardfs 3.12.0+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 8,064 kB
  • sloc: cpp: 91,899; sh: 9,341; python: 3,878; ansic: 3,109; pascal: 128; makefile: 57
file content (154 lines) | stat: -rw-r--r-- 5,515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
mfschunkserver.cfg(5)
=====================

== NAME

mfschunkserver.cfg - main configuration file for *mfschunkserver*

== DESCRIPTION

The file *mfschunkserver.cfg* contains configuration of LizardFS chunkserver process.

== SYNTAX

Syntax is:

'OPTION' *=* 'VALUE'::
Lines starting with *#* character are ignored.

== OPTIONS

Configuration options:

*DATA_PATH*::
where to store files with usage statistics and daemon lock file

*LABEL*::
the label of this chunkserver (for tiering)

*WORKING_USER*::
user to run daemon as

*WORKING_GROUP*::
group to run daemon as (optional - if empty then default user group will be used)

*SYSLOG_IDENT*::
name of process to place in syslog messages (default is mfschunkserver)

*LOCK_MEMORY*::
whether to perform mlockall() to avoid swapping out mfschunkserver process (default is 0, i.e. no)

*NICE_LEVEL*::
nice level to run daemon with (default is -19 if possible; note: process must be started as root to
increase priority)

*MASTER_HOST*::
address of LizardFS master host to connect with (default is mfsmaster)

*MASTER_PORT*::
number of LizardFS master port to connect with (default is 9420)

*MASTER_RECONNECTION_DELAY*::
delay in seconds before trying to reconnect to the master server after disconnection (default is 5)

*MASTER_TIMEOUT*::
timeout (in seconds) for the master server connection (default is 60, minimum is 0.01)

*BIND_HOST*::
local address to use for connecting with the master server (default is ***,
i.e. default local address)

*CSSERV_LISTEN_HOST*::
IP address to listen on for client (mount) connections (*** means any)

*CSSERV_LISTEN_PORT*::
port to listen on for client (mount) connections (default is 9422)

*CSSERV_TIMEOUT*::
timeout (in seconds) for client (mount) connections (default is 5)

*HDD_CONF_FILENAME*::
alternative name of *mfshdd.cfg* file

*HDD_LEAVE_SPACE_DEFAULT*::
free space threshold to set volume as 100% utilized when there is less than given amount of free
space left (default is "4GiB"). This number is always added to the used disk space reported by
chunkserver.

*HDD_TEST_FREQ*::
chunk test period in seconds (default is 10)

*HDD_ADVISE_NO_CACHE*::
whether to remove each chunk from page when closing it to reduce cache pressure
generated by chunkserver (default is 1, i.e. yes)

*HDD_PUNCH_HOLES*::
if enabled then chunkserver detects zero values in chunk data and frees
corresponding file blocks (decreasing file system usage). This option works only on Linux
with file systems supporting punching holes (XFS, ext4, Btrfs, tmpfs)
(default is 1, i.e. yes)

*ENABLE_LOAD_FACTOR*::
if enabled, chunkserver will send periodical reports of its I/O load to master,
which will be taken into consideration when picking chunkservers for I/O operations.

*REPLICATION_BANDWIDTH_LIMIT_KBPS*::
limit how many kilobytes can be replicated from other chunkservers to this chunkserver in every
second (by default undefined, i.e. no limits)

*NR_OF_NETWORK_WORKERS*::
number of threads which handle (in a round-robin manner) connections with clients (default is 1);
these threads are responsible for reading from sockets and coping data from internal buffers to
sockets

*NR_OF_HDD_WORKERS_PER_NETWORK_WORKER*::
number of threads that each network worker may use to do disk operations like opening chunks,
reading or writing them (default is 2)

*READ_AHEAD_KB*::
additional number of kilobytes which should be passed to posix_fadvise(POSIX_FADV_WILLNEED)
before reading data from a chunk (default is 0, i.e. use posix_fadvise only with the amount
of data that is really needed; the value is aligned down to 64 KiB)

*MAX_READ_BEHIND_KB*::
try to fix out-of-order read requests; the value tells how much of skipped data to read if an
offset of some read operation is greater than the offset where the previos operation finished
(default is 0, i.e. don't read any skipped data; the value is aligned down to 64 KiB)

*CREATE_NEW_CHUNKS_IN_MOOSEFS_FORMAT*::
whether to create new chunks in the MooseFS format (signature + <checksum>* + <data block>*) or in
the newer interleaved format ([<checksum> <data block>]*). (Default is 1, i.e. new chunks are created
in MooseFS format)

*PERFORM_FSYNC*::
call fsync() after a chunk is modified (default is 1, i.e. enabled)

*REPLICATION_TOTAL_TIMEOUT_MS*::
total timeout for single replication operation. Replications that take longer than that
are considered failed and are immediately aborted (default: 60000)

*REPLICATION_CONNECTION_TIMEOUT_MS*::
connection for single replication operation. If connecting to another chunkserver takes longer
than this timeout, the operation is considered failed and is immediately aborted (default: 1000)

*REPLICATION_WAVE_TIMEOUT_MS*::
*ADVANCED*:: timeout for single wave in replication. After this timeout, next wave
of read requests is sent to other chunkservers (default: 500)

== COPYRIGHT

Copyright 2008-2009 Gemius SA, 2013-2015 Skytechnology sp. z o.o.

LizardFS is free software: you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation, version 3.

LizardFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.

You should have received a copy of the GNU General Public License along with LizardFS. If not, see
<http://www.gnu.org/licenses/>.

== SEE ALSO

mfschunkserver(8), mfshdd.cfg(5)