mfsmount(8)
π mfsmount(8) β like, the MooseFS mounter, bestie π
okay so this is mfsmount, part of MooseFS (the manual section 8 girlies know what's up), and she's the one who actually gets your MooseFS filesystem mounted. let's get into it π«Ά
β¨ NAME β¨
mfsmount β mount MooseFS. that's it. that's the whole job. and she ATE. π
π SYNOPSIS π
mfsmount [HOST[:PORT]:[PATH]] [options] mountpoint
mfsmount -h|--help
mfsmount -V|--version
and since version 3.0.75 (Linux only, sorry besties):
mount -t moosefs [options] [HOST[:PORT]:[PATH]] mountpoint
π¦ DESCRIPTION π¦
Mount MooseFS. periodt. no cap, that's literally the whole description. iconic behavior honestly. β¨
π OPTIONS π
General options π§
-h,--helpβ shows you the help and then dips. bye! π-Vβ tells you the version info and exits. slay.
FUSE options π₯
-d,-o debugβ turns on debug mode. heads up, this implies-f.-fβ foreground operation. she stays right there in your terminal, no running away.-sβ disables multi-threaded operation. single-threaded arc, lowkey.
MooseFS options π
-c CFGFILE,-o mfscfgfile=CFGFILEβ loads a file with extra mount options. more options? yes please.-m,--meta,-o mfsmetaβ mounts the MFSMETA companion filesystem instead of the primary MooseFS. the side quest filesystem.-nβ omits the default mount options (-o allow_other). no defaults for you.-pβ prompts you for a password. it's the interactive version of-o mfspassword=PASS.-H HOST,-o mfsmaster=HOSTβ connects to the MooseFS master on HOST (default ismfsmaster).-P PORT,-o mfsport=PORTβ connects to the MooseFS master on PORT (default is9421).-B IP,-o mfsbind=IPβ the local address to use for connecting with the master, instead of the default one.-L IP,-o mfsproxy=IPβ defines the listen ip address of the local master proxy for communicating with tools (default:127.0.0.1).-S PATH,-o mfssubfolder=PATHβ mounts the specified MooseFS directory (default is/, i.e. the whole entire filesystem, go big or go home).-o mfspassword=PASSWORDβ authenticates to the MooseFS master with PASSWORD.-o mfspassfile=FILENAMEβ authenticates to the MooseFS master with the password stored in the first line of the file pointed to by FILENAME.-o mfsmd5pass=MD5β authenticates to the MooseFS master using the directly given MD5 (only ifmfspasswordoption is not specified β she's backup).-o mfsdonotrememberpasswordβ does not remember the password in memory. more secure, but when the session is lost then a new session is created without a password. the tradeoff is real π-o mfsdebugβ prints some MooseFS-specific debugging information.-o mfsmemlockβ tries to lock memory (all allocated memory will be mapped to physical RAM β which also means no swapping). she's committed, she's staying in RAM fr fr.-o allowoomkillerβ does not disable the out of memory killer (Linux only).-o mfslimitarenas=Nβ ifN>0then limit glibc malloc arenas (Linux only β default:4).-o mfsflattrashβ uses flat trash structure in meta. this option was added for compatibility reasons β since version 3.0.64 trash is split into 4096 subfolders which reduces problems with big trashes.-o mfsdelayedinitβ the connection with the master is done in background. with this option the mount can be run without network (good for being run fromfstab/ init scripts etc.).-o mfsmkdircopysgid=Nβ sgid bit should be copied during mkdir operation (default depends on operating system).-o mfssugidclearmode=SMODEβ sets the sugid clear mode (see SUGID CLEAR MODES below; default depends on operating system).-o mfscachemode=CMODEβ sets the cache mode (see DATA CACHE MODES below; default isAUTO).-o mfscachefilesβ (deprecated!!) preserve file data in cache (equivalent to-o mfscachemode=YES). she's old, be nice to her.-o mfsreaddirplusminto=SECβ sets the minimal entry/attributes cache timeout for readdirplus in seconds (default:0.0001).-o mfsattrcacheto=SECβ sets the attributes cache timeout in seconds (default:1.0).-o mfsxattrcacheto=SECβ sets the extended attributes (xattr) cache timeout in seconds (default:30.0).-o mfsentrycacheto=SECβ sets the file entry cache timeout in seconds (default:0.0, i.e. no cache).-o mfsdirentrycacheto=SECβ sets the directory entry cache timeout in seconds (default:1.0).-o mfsnegentrycacheto=SECβ sets the negative entry cache timeout in seconds (default:0.0).-o mfssymlinkcacheto=SECβ sets the symbolic link cache timeout in seconds (default:300.0).-o mfsgroupscacheto=SECβ sets the supplementary groups cache timeout in seconds (default:300.0). setting this value to0disables supplementary groups support. bold move.-o mfsrlimitnofile=Nβ tries to change the limit of simultaneously opened file descriptors on startup (default:100000).-o mfsnice=LEVELβ tries to change the nice level to the specified value on startup (default:-19). she's very nice.-o mfswritecachesize=Nβ specifies write cache size in MiB (in range:16..2048β default:256).-o mfsreadaheadsize=Nβ defines the size of all read ahead buffers in MiB (in range:16..2048β default:256).-o mfsreadaheadleng=Nβ defines the amount of bytes to be additionally read (in range:128KiB..2MiBβ default:1048576).-o mfsreadaheadtrigger=Nβ defines the amount of bytes read sequentially that turns on read ahead (default:10 * mfsreadaheadleng).-o mfserroronlostchunkβ when all known chunkservers are connected to the master and the required chunk is missing, then immediately finish I/O and return an error. no waiting around π-o mfserroronnospaceβ when all known chunkservers are connected to the master and there is no free space, then immediately finish I/O and return an error.-o mfsioretries=Nβ specifies the number of retries before an I/O error is returned (default:30).-o mfstimeout=Nβ defines the maximum timeout in seconds before an I/O error is returned (default:0β which means no timeout).-o mfslogretry=Nβ defines the minimal retry counter on which the system will start logging I/O messages (default:5).-o mfsfsyncmintime=SECβ forces fsync before the last file close when the file was opened/created at least SEC seconds earlier (default:0.0β always do fsync before close).-o mfspreflabels=LABELEXPRβ specifies preferred labels for choosing chunkservers during I/O.-o mfsnoxattrsβ turns off xattr support.-o mfsnoposixlocksβ turns off support for global posix locks (lockf + ioctl) β locks will work locally.-o mfsnobsdlocksβ turns off support for global BSD locks (flock) β locks will work locally.
Mount options ποΈ
general mount options (see the mount(8) manual, bestie):
-o rw|-o roβ Mount file-system in read-write (default) or read-only mode respectively.-o suid|-o nosuidβ Enable or disable suid/sgid attributes to work.-o dev|-o nodevβ Enable or disable character or block special device files interpretation.-o exec|-o noexecβ Allow or disallow execution of binaries.
πΈ FILES πΈ
mfsmount.cfgβ configuration file for the MooseFS mount daemon; refer to themfsmount.cfg(5)manual for details. she has her own manual, respect her.
π NOTES π
Sugid clear mode π
okay so during attribute change, file systems sometimes clear the flags suid and/or sgid. the behavior is different on different file systems. MFS tries to mimic the behavior of the most popular file system on the given operating system. she's a people pleaser, she adapts.
NEVERβ MFS will not change the suid and sgid bit on chown.ALWAYSβ clear suid and sgid on every chown β safest operation.OSXβ standard behavior in OS X and Solaris (chown made by an unprivileged user clears suid and sgid).BSDβ standard behavior in *BSD systems (like in OSX, but only when something is really changed).EXTβ standard behavior in most file systems on Linux (directories not changed, others: suid cleared always, sgid only when the group exec bit is set).XFSβ standard behavior in XFS on Linux (like EXT but directories are changed by unprivileged users).
Data cache modes π₯
there are four cache modes: DIRECT, NO, YES and AUTO. the default option is AUTO and you shuldn't change it unless you really know what you are doing (that typo is canon, bestie, i don't make the rules). in AUTO mode the data cache is managed automatically by mfsmaster.
DIRECTβ forces direct io (bypasses cache). she goes straight through, no detours.NO,NONEorNEVERβ never allow file data to be kept in cache (safest but can reduce efficiency).YESorALWAYSβ always allow file data to be kept in cache (dangerous π).AUTOβ file cache is managed bymfsmasterautomatically (should be very safe and efficient).
Label expressions π¦
the LABELEXPR grammar, verbatim, because she's precise:
LABELEXPR -> S ; LABELEXPR | S
S -> S + M | M
M -> M L | L
L -> a .. z | A .. Z | ( S ) | [ S ]
subexpressions should be placed in priority order. up to nine subexpressions (priorities) can be specified. nine is the limit, girlies.
Fstab π
on most Unix systems mfsmount can be invoked automatically from /etc/fstab. be aware that the rw or ro option has to be specified in options. also, on many systems there should be an option which informs the system that this mountpoint should be mounted after starting networking services (options such as _netdev or late).
Linux:
mfsmount mountpoint fuse options 0 0
BSD:
mfsmount_magic mountpoint moosefs options,mountprog=/usr/local/bin/mfsmount 0 0
since version 3.0.75 an alternative form can be used:
Linux:
HOST[:PORT]:[PATH] mountpoint moosefs options 0 0
BSD:
HOST[:PORT]:[PATH] mountpoint moosefs options,mountprog=/usr/local/bin/mfsmount 0 0
π REPORTING BUGS π
found a bug? report it to <bugs@moosefs.com>. be nice, they're doing their best π«Ά
β COPYRIGHT β
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 π
mfsmaster(8), mfstools(1), mfsmount.cfg(5), mount(8) β go read those too, the lore is deep, iykyk π
and that's the whole page, bestie!! this is MooseFS 4.59.2-1, dated May 2026, and honestly? she's iconic. now go mount something πβ¨π¦
π¦ where this page comes from
- arch rolling: moosefs 4.59.2-2 Β· GPL-2.0-only
- nixos 26.05: moosefs 4.59.2
- nixpkgs unstable: moosefs 4.59.2
- ubuntu stonking: moosefs-client 4.59.2-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms