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 master after disconnection (default is 5)

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

*BIND_HOST*::
local address to use for connecting with master (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 0, i.e. no)

== 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)
