Scroll to navigation

mfsmount(8) This is part of MooseFS mfsmount(8)

NAME

mfsmount - mount Moose File System

SYNOPSIS

mfsmount [HOST[:PORT]:[PATH]] [options] mountpoint

mfsmount -h|--help

mfsmount -V|--version

Since 3.0.75 (Linux only):

mount -t moosefs [options] [HOST[:PORT]:[PATH]] mountpoint

DESCRIPTION

Mount Moose File System.

General options:

display help and exit
display version information and exit

FUSE options:

enable debug mode (implies -f)
foreground operation
disable multi-threaded operation

MooseFS options:

loads file with additional mount options
mount MFSMETA companion filesystem instead of primary MooseFS
omit default mount options (-o allow_other)
prompt for password (interactive version of -o mfspassword=PASS)
connect with MooseFS master on HOST (default is mfsmaster)
connect with MooseFS master on PORT (default is 9421)
local address to use for connecting with master instead of default one
define listen ip address of local master proxy for communication with tools (default: 127.0.0.1)
mount specified MooseFS directory (default is /, i.e. whole filesystem)
authenticate to MooseFS master with PASSWORD
authenticate to MooseFS master with password stored in first line of file pointed by FILENAME
authenticate to MooseFS master using directly given MD5 (only if mfspassword option is not specified)
do not remember password in memory - more secure, but when session is lost then new session is created without password
print some MooseFS-specific debugging information
try to lock memory (all allocated memory will be mapped to physical RAM - which also means no swapping)
do not disable out of memory killer (Linux only)
if N>0 then limit glibc malloc arenas (Linux only - default: 4)
use flat trash structure in meta (option added for compatibility reasons - since version 3.0.64 trash is split into 4096 subfolders which reduces problems with big trashes)
connection with master is done in background - with this option mount can be run without network (good for being run from fstab / init scripts etc.)
sgid bit should be copied during mkdir operation (default depends on operating system)
set sugid clear mode (see SUGID CLEAR MODES; default depends on operating system)
set cache mode (see DATA CACHE MODES; default is AUTO)
(deprecated) preserve file data in cache (equivalent to '-o mfscachemode=YES')
set attributes cache timeout in seconds (default: 1.0)
set extended attributes (xattr) cache timeout in seconds (default: 30.0)
set file entry cache timeout in seconds (default: 0.0, i.e. no cache)
set directory entry cache timeout in seconds (default: 1.0)
set negative entry cache timeout in seconds (default: 0.0)
set symbolic link cache timeout in seconds (default: 300.0)
set supplementary groups cache timeout in seconds (default: 300.0)
try to change limit of simultaneously opened file descriptors on startup (default: 100000)
try to change nice level to specified value on startup (default: -19)
specify write cache size in MiB (in range: 16..2048 - default: 256)
define size of all read ahead buffers in MiB (in range: 16..2048 - default: 256)
define amount of bytes to be additionally read (in range: 128KiB..2MiB - default: 1048576)
define amount of bytes read sequentially that turns on read ahead (default: 10 * mfsreadaheadleng)
when all known chunkservers are connected to the master and the required chunk is missing then immediately finish I/O and return an error
when all known chunkservers are connected to the master and there is no free space then immediately finish I/O and return an error
specify number of retries before I/O error is returned (default: 30)
define maximum timeout in seconds before I/O error is returned (default: 0 - which means no timeout)
define minimal retry counter on which system will start log I/O messages (default: 5)
force fsync before last file close when file was opened/created at least SEC seconds earlier (default: 0.0 - always do fsync before close)
specify preferred labels for choosing chunkservers during I/O
turn off xattr support
turn off support for global posix locks (lockf + ioctl) - locks will work locally
turn off support for global BSD locks (flock) - locks will work locally

General mount options (see mount(8) manual):

Mount file-system in read-write (default) or read-only mode respectively.
Enable or disable suid/sgid attributes to work.
Enable or disable character or block special device files interpretation.
Allow or disallow execution of binaries.

SUGID CLEAR MODE

During attribute change file systems sometimes clear flags suid and/or sgid. Behavior is different on different file systems. MFS tries to mimic behavior of most popular file system on given operating systems.

MFS will not change suid and sgid bit on chown
clear suid and sgid on every chown - safest operation
standard behavior in OS X and Solaris (chown made by unprivileged user clear suid and sgid)
standard behavior in *BSD systems (like in OSX, but only when something is really changed)
standard behavior in most file systems on Linux (directories not changed, others: suid cleared always, sgid only when group exec bit is set)
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. Default option is AUTO and you shuldn't change it unless you really know what you are doing. In AUTO mode data cache is managed automatically by mfsmaster.

forces direct io (bypasses cache)
never allow files data to be kept in cache (safest but can reduce efficiency)
always allow files data to be kept in cache (dangerous)
file cache is managed by mfsmaster automatically (should be very safe and efficient)

LABEL EXPRESSIONS

LABELEXPR grammar:

-> S ; LABELEXPR | S
-> S + M | M
-> M L | L
-> a .. z | A .. Z | ( S ) | [ S ]

Subexpressions should be placed in priority order. Up to nine subexpressions (priorities) can be specified.

FSTAB

On most Unix systems mfsmount can be invoked automatically from /etc/fstab. Be aware that rw or ro option has to be specified in options. Also on many systems there should be 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 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

Report bugs to <bugs@moosefs.com>.

COPYRIGHT

Copyright (C) 2021 Jakub Kruszona-Zawadzki, Core Technology Sp. z o.o.

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 MooseFS; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA or visit http://www.gnu.org/licenses/gpl-2.0.html

SEE ALSO

mfsmaster(8), mfstools(1), mount(8)

August 2021 MooseFS 3.0.116-1