GlusterFS(8)

๐Ÿ“ฆ
version 11.2 ยท 2 versions
  • 11.2 ยท debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 6.0 ยท centos-stream 9
, in debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– GlusterFS โ€” clustered file system ๐Ÿ’–

okay bestie, sit DOWN, because we're talking about glusterfs from the GlusterFS(8) manual โ€” she's a whole icon and I'm obsessed ๐Ÿ’…


โœจ SYNOPSIS โœจ

glusterfs [options] [mountpoint]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

GlusterFS is a clustered file system, and no cap, she scales to several peta-bytes. Likeโ€ฆ peta. Bytes. She takes your various storage bricks over Infiniband RDMA or TCP/IP, interconnects them, and turns them into one big parallel network file system. main character energy fr fr ๐Ÿ‘‘

The storage bricks themselves? Literally anything, bestie โ€” any commodity hardware works, like an x86-64 server with SATA-II RAID and an Infiniband HBA. Budget queen behavior ๐Ÿ’–

GlusterFS is a fully POSIX compliant file system. On the client side she depends on the FUSE package, and on the server side she works seamlessly across different operating systems. Right now she's supported on GNU/Linux and Solaris. Periodt.


๐Ÿ’… OPTIONS ๐Ÿ’…

๐ŸŒธ Basic options ๐ŸŒธ

  • -f, --volfile=VOLUME-FILE โ€” the file you want to use as VOLUME-FILE. that's the one, bestie.
  • -l, --log-file=LOGFILE โ€” the file to use for logging. the default is <INSTALL-DIR>/var/log/glusterfs/<MOUNT-POINT>.log ๐Ÿ“
  • -L, --log-level=LOGLEVEL โ€” how loud do we wanna be? valid options are TRACE, DEBUG, INFO, WARNING, ERROR and CRITICAL (the default is INFO).
  • -s, --volfile-server=SERVER โ€” the server to get the volume from. heads up: this option overrides the --volfile option, so she wins the argument, always ๐Ÿ’€
  • --volfile-max-fetch-attempts=MAX-ATTEMPTS โ€” max number of connect attempts to the server. this one should be provided together with the --volfile-server option (the default is 1).

๐ŸŽ€ Advanced options ๐ŸŽ€

  • --acl โ€” mount the filesystem with POSIX ACL support.
  • --localtime-logging โ€” enable localtime log timestamps โฐ
  • --debug โ€” run in debug mode. this one sets --no-daemon, sets --log-level to DEBUG, and sets --log-file to console. a whole glow-up bundle ๐Ÿ’–
  • --enable-ino32=BOOL โ€” use 32-bit inodes when mounting, as a workaround for applications that don't support 64-bit inodes.
  • --fopen-keep-cache[=BOOL] โ€” do not purge the cache on file open (default: false).
  • --mac-compat=BOOL โ€” provides stubs for the attributes needed for seamless operation on Macs (the default is off). bestie said cross-platform ๐ŸŽ
  • -N, --no-daemon โ€” run in the foreground. she stays right here with you ๐Ÿซถ
  • -p, --pid-file=PIDFILE โ€” the file to use as the PID file.
  • --read-only โ€” mount the file system in 'read-only' mode. look, don't touch ๐Ÿ”ฅ
  • --selinux โ€” enable SELinux label (extended attributes) support on inodes.
  • -S, --socket-file=SOCKFILE โ€” the file to use as the unix socket.
  • --volfile-id=KEY โ€” the key of the volume file to be fetched from the server.
  • --volfile-server-port=PORT โ€” port number of the volfile server.
  • --volfile-server-transport=TRANSPORT โ€” transport type to get the volume file from the server (the default is tcp).
  • --volume-name=VOLUME-NAME โ€” volume name to be used for MOUNT-POINT (the default is the top most volume in VOLUME-FILE).
  • --worm โ€” mount the filesystem in 'worm' mode ๐Ÿ›
  • --xlator-option=VOLUME-NAME.OPTION=VALUE โ€” add or override a translator option for a volume with the value you specify.
  • --subdir-mount=SUBDIR-MOUNT-PATH โ€” mount a subdirectory instead of the '/' of the volume. not the whole thing, just a lil slice ๐Ÿฐ

๐Ÿงš Fuse options ๐Ÿงš

  • --attr-times-granularity=NANOSECONDS โ€” declare the supported granularity of file attribute times. the default is 0, which the kernel handles as unspecified; valid real values are between 1 and 1000000000.
  • --attribute-timeout=SECONDS โ€” set the attribute timeout to SECONDS for inodes in the fuse kernel module (the default is 1).
  • --background-qlen=N โ€” set the fuse module's background queue length to N (the default is 64).
  • --congestion-threshold=N โ€” set the fuse module's congestion threshold to N (the default is 48).
  • --direct-io-mode=BOOL|auto โ€” specify the fuse direct I/O strategy (the default is auto).
  • --dump-fuse=PATH โ€” dump fuse traffic to PATH.
  • --entry-timeout=SECONDS โ€” set the entry timeout to SECONDS in the fuse kernel module (the default is 1).
  • --gid-timeout=SECONDS โ€” set the auxiliary group list timeout to SECONDS for the fuse translator (the default is 0).
  • --kernel-writeback-cache=BOOL โ€” enable the fuse in-kernel writeback cache.
  • --negative-timeout=SECONDS โ€” set the negative timeout to SECONDS in the fuse kernel module (the default is 0).
  • --auto-invalidation=BOOL โ€” controls whether fuse-kernel can auto-invalidate attribute, dentry and page-cache. โš ๏ธ only disable this if the same files/directories are not accessed across two different mounts concurrently [default: on].
  • --volfile-check โ€” enable strict volume file checking. she's checking everything, twice ๐Ÿ”

๐ŸŒˆ Miscellaneous Options ๐ŸŒˆ

  • -?, --help โ€” display this help.
  • --usage โ€” display a short usage message.
  • -V, --version โ€” print the program version.

๐Ÿ“ FILES ๐Ÿ“

/var/lib/glusterd/vols/*/*.vol

โญ EXAMPLES โญ

okay so, mount a volume named foo on server bar with log level DEBUG on mount point /mnt/foo โ€” watch:

# glusterfs --log-level=DEBUG --volfile-id=foo --volfile-server=bar /mnt/foo

slay โœจ


๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

fusermount(1), mount.glusterfs(8), gluster(8)

iykyk, go read those next ๐Ÿ’œ


Copyright(c) 2006-2011 Red Hat, Inc. <http://www.redhat.com>


and that's the whole vibe, bestie ๐Ÿฆ‹ this was the GlusterFS(8) page from Gluster Inc., dated 07 March 2011, filed under Clustered File System. go mount something iconic ๐Ÿ’–โœจ๐Ÿ’…
๐Ÿ“ฆ where this page comes from