Skip to content

Latest commit

 

History

History
108 lines (67 loc) · 3.15 KB

sfschunkserver.8.adoc

File metadata and controls

108 lines (67 loc) · 3.15 KB

sfschunkserver(8)

NAME

sfschunkserver - start, restart or stop Sauna File System chunkserver process

SYNOPSIS

sfschunkserver [-f] [-c CFGFILE] [-u] [-d] [-t LOCKTIMEOUT] [ACTION]
sfschunkserver -s [-c CFGFILE]
sfschunkserver -v
sfschunkserver -h

DESCRIPTION

sfschunkserver is the data server of Sauna File System. Depending on parameters it can start, restart or stop SaunaFS chunkserver process. Without any options it starts SaunaFS chunkserver, killing previously run process if lock file exists.

SIGHUP (or reload ACTION) forces sfschunkserver to reload all configuration files.

Chunkserver periodically tests stored chunks (see HDD_TEST_FREQ option in sfschunkserver.cfg manual).

SaunaFS master doesn’t send metadata change logs to chunkserver and expect at least one sfsmetalogger daemon to connect.

Chunkserver scans attached disks in background.

OPTIONS

-v

print version information and exit

-h

print usage information and exit

-f

(deprecated, use start action instead) forcily run SaunaFS chunkserver process, without trying to kill previous instance (this option allows to run SaunaFS chunkserver if stale PID file exists)

-s

(deprecated, use stop action instead) stop SaunaFS chunkserver process

-c CFGFILE

specify alternative path of configuration file (default is sfschunkserver.cfg in system configuration directory)

-u

log undefined configuration values (when default is assumed)

-d

run in foreground, don’t daemonize

-t LOCKTIMEOUT

how long to wait for lockfile (default is 60 seconds)

ACTION is the one of start, stop, restart, reload, test, isalive or kill. Default action is restart.

FILES

sfschunkserver.cfg

configuration file for SaunaFS chunkserver process; refer to sfschunkserver.cfg(5) manual for defails

sfshdd.cfg

list of directories (mountpoints) used for SaunaFS storage (one per line; directory prefixed by * character causes given directory to be freed by replicating all data already stored there to another locations)

sfschunkserver.lock

PID file of running SaunaFS chunkserver process

.sfschunkserver.lock

lock file of running SaunaFS chunkserver process (created in data directory)

data.csstats

Chunkserver charts state

REPORTING BUGS

Report bugs to the Github repository https://github.com/leil/saunafs as an issue.

Copyright 2008-2009 Gemius SA

Copyright 2013-2019 Skytechnology sp. z o.o.

Copyright 2023-2024 Leil Storage OÜ

SaunaFS 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.

SaunaFS 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 SaunaFS. If not, see http://www.gnu.org/licenses/.

SEE ALSO

sfsmaster(8), sfsmount(1), sfschunkserver.cfg(5), sfshdd.cfg(5), sfs(7)