mfsmaster(8)

πŸ’– mfsmaster(8) πŸ’–

okay bestie, pull up a chair, because we're talking about mfsmaster β€” that's the MooseFS master program, the literal main character of your whole filesystem, and yes she comes with her very own manual page (this one, mfsmaster(8), girlboss edition). πŸŽ€


✨ NAME ✨

mfsmaster β€” start, restart or stop MooseFS master process

no cap, that's the whole job description and she ate πŸ’…


🌸 SYNOPSIS 🌸

mfsmaster [-c CFGFILE] [-f] [-d] [-u] [-n] [-i] [-a] [-e] [-x[x]] [-t
LOCKTIMEOUT] [ACTION]

mfsmaster -v

mfsmaster -h

πŸ¦‹ DESCRIPTION πŸ¦‹

mfsmaster is the master program of MooseFS. that's it, that's the description the original gave us, and honestly she's iconic for saying so little πŸ‘‘


πŸ’œ OPTIONS πŸ’œ

  • -v β€” print version information and exit. short queen energy, in and out, no notes ✨
  • -h β€” print usage information and exit. when you're lost, she'll hold your hand 🫢
  • -c CFGFILE β€” specify an alternative path for the configuration file (the default is mfsmaster.cfg in the system configuration directory). custom config era πŸ’…
  • -f β€” run in foreground, don't daemonize. she stays in the room with you, watching, respectfully πŸ‘€
  • -d β€” run with dangerous options (names: DANGEROUS_*). as the name fr fr says: dangerous. proceed with the awareness of someone who read the label 🌈
  • -u β€” log undefined configuration values (when the default is assumed). she's telling on your config file, kindly πŸ’–
  • -n β€” do not attempt to increase the limit of core dump size. minding her own business about your core dumps πŸŽ€
  • -i β€” ignore some metadata structure errors. bold. risky. lowkey a choice, but she said trust me ✨
  • -a β€” automatically restore metadata from change logs. healing arc πŸ¦‹
  • -e β€” (pro only) start without metadata (used to start additional masters). pro girlies only πŸ’…
  • -x β€” produce more verbose output. she starts talking more πŸ—£οΈ
  • -xx β€” even more verbose output. and then she starts talking even more 😭
  • -t LOCKTIMEOUT β€” how long to wait for the lockfile, in seconds (the default is 1800 seconds). that's a whole 30 minutes of patiently waiting for that lock, bestie ⏳

πŸŽ€ ACTION πŸŽ€

ACTION tells the master to perform one of the following actions. pick your fighter:

  • start β€” start the master process if the process is not already running, otherwise display an error message. she's not doing double shifts πŸ’…
  • stop β€” stop the master process if the process is running, otherwise display an error message. rest era, she earned it 😴
  • restart β€” (this is the default action) if the master process is running, restart it; if it's not running, start it. glow-up either way ✨
  • reload β€” send a signal to the master process to reload config files. fresh config, same queen πŸ¦‹
  • info β€” send a signal to the master process to dump a debug information file in the working directory. receipts, kept πŸ“„
  • test β€” displays "mfsmaster pid: PID" if the master is running (and returns 0), or "mfsmaster is not running" otherwise (and returns 1). vibe check with an actual exit status πŸ”₯
  • kill β€” send a termination signal to the master process. dramatic exit, we don't blame her πŸ’€
  • restore β€” restore the current metadata file using the backup metadata and changelog files (if possible, i.e. if the correct files exist), write it to the working directory and exit. resurrection arc, and it only works if the files are actually there πŸ™ˆ

🌈 FILES 🌈

everything below lives in her world. the data-directory girlies are flagged, iykyk πŸ’–

  • mfsmaster.cfg β€” configuration file for the MooseFS master process; refer to the mfsmaster.cfg(5) manual for details
  • mfsexports.cfg β€” MooseFS access control file; refer to the mfsexports.cfg(5) manual for details
  • mfstopology.cfg β€” network topology definitions; refer to the mfstopology.cfg(5) manual for details
  • mfsipmap.cfg β€” chunkservers IP mapping definitions; refer to the mfsipmap.cfg(5) manual for details
  • .mfsmaster.lock β€” lock file of the running MooseFS master process (created in the data directory)
  • .bgwriter.lock β€” lock file of the running MooseFS master subprocess for storing metadata (created in the data directory)
  • metadata.mfs, metadata.mfs.back β€” MooseFS filesystem metadata image (created in the data directory)
  • metadata.crc β€” CRC of the metadata.mfs file (created in the data directory)
  • metadata.mfs.empty β€” an empty metadata file, to be used when starting up a fresh MooseFS instance (created in the data directory)
  • changelog.*.mfs β€” MooseFS filesystem metadata change logs (created in the data directory)
  • stats.mfs β€” master charts stats (created in the data directory)
  • .mfsmaster_info.txt β€” master info file, created by sending the process INFO signal, with work parameters that can be used for debugging/support purposes (created in the data directory)

😭 REPORTING BUGS 😭

report bugs to <bugs@moosefs.com>. she wants to hear about it, fr fr, don't be shy 🫢


Copyright (C) 2026 Jakub Kruszona-Zawadzki, Saglabs SA

This file is part of MooseFS.

MooseFS 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 2 (only).

MooseFS 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 this program; if not, see <https://www.gnu.org/licenses/>.


⭐ SEE ALSO ⭐

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


and that's the whole thing, bestie πŸ’– this was MooseFS 4.59.2-1, dated May 2026, and she slayed every second of it. go forth, run your master, and remember β€” you're doing amazing, periodt βœ¨πŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from