logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mfsmaster - start, restart or stop MooseFS master process

Description

mfsmaster is the master program of MooseFS.

Files

mfsmaster.cfg
              configuration file for MooseFS master process; refer to mfsmaster.cfg(5) manual for details

       mfsexports.cfg
              MooseFS access control file; refer to mfsexports.cfg(5) manual for details

       mfstopology.cfg
              Network topology definitions; refer to mfstopology.cfg(5) manual for details

       .mfsmaster.lock
              lock file of running MooseFS master process (created in data directory)

       metadata.mfs, metadata.mfs.back
              MooseFS filesystem metadata image (created in data directory)

       changelog.*.mfs
              MooseFS filesystem metadata change logs (created in data directory; merged into metadata.mfs  once
              per hour)

       data.stats
              MooseFS master charts state (created in data directory)

Name

       mfsmaster - start, restart or stop MooseFS master process

Options

-v     print version information and exit

       -h     print usage information and exit

       -cCFGFILE
              specify  alternative  path of configuration file (default is mfsmaster.cfg in system configuration
              directory)

       -f     run in foreground, don't daemonize

       -d     run with dangerous options (names: DANGEROUS_*)

       -u     log undefined configuration values (when default is assumed)

       -n     do not attempt to increase limit of core dump size

       -i     ignore some metadata structure errors

       -a     automatically restore metadata from change logs

       -e     (pro only) start without metadata (used to start additional masters)

       -x     produce more verbose output

       -xx    even more verbose output

       -tLOCKTIMEOUT
              how long to wait for lockfile (in seconds; default is 1800 seconds)

       ACTION tells master to perform one of the following actions:

              start    Start master process if the process is  not  already  running,  otherwise  display  error
                       message.

              stop     Stop master process if the process is running, otherwise display error message.

              restart  (default action) If the master process is running, restart it, if it's not running, start
                       it.

              reload   Send a signal to master process to reload config files.

              info     Send a singal to master process to dump debug information file in working directory.

              test     Displays  "mfsmaster  pid: PID" if the master is running (and return 0) or  "mfsmaster is
                       not running" otherwise (and return 1).

              kill     Send termination signal to master process.

              restore  Restore current metadata file using backup metadata and changlog files (if possible, i.e.
                       if correct files exist), write it to working directory and exit.

Reporting Bugs

       Report bugs to <bugs@moosefs.com>.

See Also

mfschunkserver(8), mfsmount(8), mfsmaster.cfg(5), mfsexports.cfg(5), mfstopology.cfg(5)

MooseFS 4.57.5-1                                  February 2025                                     mfsmaster(8)

Synopsis

mfsmaster [-cCFGFILE] [-f] [-d] [-u] [-n] [-i] [-a] [-e] [-x[x]] [-tLOCKTIMEOUT] [ACTION]

       mfsmaster-vmfsmaster-h

See Also