Skip to content

Mount Options

This page documents every flag accepted by mount.flexfs start. Flags marked [internal] are hidden from --help output and intended for advanced tuning or debugging.

FlagTypeDefaultDescription
--aclboolfalseEnable extended ACL support (implies --xAttr)
--noATimeboolfalseDo not update access times on file opens
--noExecboolfalseDisallow execution of binaries
--noSUIDboolfalseDisable SUID / SGID special permissions
--nonEmptyboolfalseAllow mounting over a non-empty directory
--roboolfalseMount read-only (implies --noATime)
--rootSquashboolfalseMap UID 0 / GID 0 to --rootSquashUID / --rootSquashGID (implies --acl)
--rootSquashUIDuint3265534UID to map root to when --rootSquash is set
--rootSquashGIDuint3265534GID to map root to when --rootSquash is set
--umaskstring(none)Explicit umask override in octal notation (e.g. 0002)
--xAttrboolfalseEnable extended attribute support
--noGroupCacheboolfalseDisable extended ACL group membership caching
FlagTypeDefaultDescription
--diskFolderstring/dev/shm/.flexfs-cache-<pid>On-disk block cache folder path
--diskQuotastring(empty)Maximum disk usage for the block cache (e.g. 5%, 64M, 10G). Empty or 0 disables the disk cache.
--diskMaxBlockSizeuint64131072Maximum processed block size in bytes that will be cached to disk. Blocks larger than this after decompression are not cached. 0 means no limit.
--diskWritebackboolfalseEnable disk cache writeback mode for latency mitigation
--memCapacityuint32auto[internal] In-memory block cache capacity in blocks. Default is calculated as 2.5% of system RAM divided by block size (minimum 16).
--dirtyCapacityuint32auto[internal] In-memory dirty block cache capacity in blocks. Default is 0.5% of RAM divided by block size, capped at cpuBops (minimum 4).
--poolCapacityuint32auto[internal] Block buffer pool capacity in blocks. Default is prefetchActive + dirtyActive (minimum 8).
FlagTypeDefaultDescription
--maxBopsuint32auto[internal] Maximum number of parallel block operations. Default is calculated from CPU count, architecture, and block size.
--prefetchActiveuint32auto[internal] Maximum number of active block prefetches. Default is half of maxBops, capped at memCapacity/4 (minimum 4).
--dirtyActiveuint32auto[internal] Maximum number of dirty blocks actively syncing. Default is half of dirtyCapacity (minimum 4).
--noPrefetchboolfalse[internal] Disable block prefetching entirely
--asyncReadboolfalse[internal] Enable FUSE async read support
--noMaxPagesboolfalse[internal] Limit FUSE max_pages to 32 instead of the kernel maximum
FlagTypeDefaultDescription
--attrValiduint643600[internal] Seconds to cache file/directory attributes
--attrValidNsecuint320[internal] Nanosecond offset for --attrValid
--entryValiduint641[internal] Seconds to cache directory entries
--entryValidNsecuint320[internal] Nanosecond offset for --entryValid
--dirPageSizeuint325000[internal] Directory stream page size
--dirTTLuint3210[internal] Seconds to cache directory stream pages
--longNamesboolfalse[internal] Allow names up to 1023 characters (default limit is 255)
FlagTypeDefaultDescription
--noProxyboolfalse[internal] Bypass proxy servers and connect directly to object storage
--noProxySSLboolfalse[internal] Disable TLS for proxy server connections
--noMetaSSLboolfalse[internal] Disable TLS for metadata server connections
--sseboolfalse[internal] Enable S3 server-side encryption (AES256)
FlagTypeDefaultDescription
--credsFilestring~/.flexfs/mount/creds/<name>Path to the credentials file. The <name> placeholder is replaced with the volume name.
--adminAddrstring(from creds)[internal] Admin server address (overrides the credentials file)
--tokenstring(from creds)[internal] Volume auth token (overrides the credentials file)
--secretstring(from creds)[internal] Volume encryption secret (overrides the credentials file)
FlagTypeDefaultDescription
--noUpdateboolfalseDisable the automatic update mechanism (implies --noRemount)
--noRemountboolfalseDisable automatic remount after an update (the mount will stop instead)
--stagingboolfalseCheck the staging channel for updates instead of production
--testVersionstring(none)[internal] Override build version for testing update handoff
--updateIntervaluint32360[internal] Seconds between auto-update checks
FlagTypeDefaultDescription
--verbose / -vboolfalseEnable verbose logging (implies all RTT and memStats logging)
--foreground / -fboolfalseRun in foreground mode instead of daemonizing (implies --noRemount)
--logFilestring~/.flexfs/mount/logs/<name>-<pid>.logLog file path in daemon mode. The <name> and <pid> placeholders are replaced at startup.
--blockRTTboolfalse[internal] Log all block storage round-trip times
--metaRTTboolfalse[internal] Log all metadata server round-trip times
--storeRTTboolfalse[internal] Log all store subsystem round-trip times
--fuseRTTboolfalse[internal] Log all FUSE round-trip times
--memStatsboolfalse[internal] Log buffer pool and LRU cache statistics
--pprofboolfalse[internal] Enable the Go pprof profiler
FlagTypeDefaultDescription
--atTimestring(none)Mount the filesystem at a specific point in time in RFC 3339 format (e.g. 2025-06-15T14:30:00Z). Implies --ro. See Time-Travel Mounting.

All flags can be passed as fstab mount options by removing the -- prefix. Boolean flags are set by name alone. For example:

my-volume /mnt/data flexfs _netdev,nofail,ro,acl,verbose 0 0

See fstab Integration for details.