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
--noGroupCacheboolfalseDisable extended ACL group membership caching
--nonEmptyboolfalseAllow mounting over a non-empty directory
--noSUIDboolfalseDisable SUID / SGID special permissions
--roboolfalseMount read-only (implies --noATime)
--rootSquashboolfalseMap UID 0 / GID 0 to --rootSquashUID / --rootSquashGID (implies --acl)
--rootSquashGIDuint3265534GID to map root to when --rootSquash is set
--rootSquashUIDuint3265534UID to map root to when --rootSquash is set
--umaskstring(none)Explicit umask override in octal notation (e.g. 0002)
--xAttrboolfalseEnable extended attribute support
FlagTypeDefaultDescription
--dirtyCapacityuint32auto[internal] In-memory dirty block cache capacity in blocks. Default is memCapacity/4 (minimum 8).
--diskFolderstring~/.flexfs/mount/cache/<pid>On-disk block cache folder path
--diskMaxBlockSizeuint64262144Maximum processed block size in bytes that will be cached to disk. Blocks larger than this after decompression are not cached. 0 means no limit.
--diskQuotastring(empty)Maximum disk usage for the block cache (e.g. 5%, 64M, 10G). Empty or 0 disables the disk cache.
--diskWritebackboolfalseEnable disk cache writeback mode for latency mitigation
--memCapacitystringauto[internal] In-memory block cache capacity. Accepts a percentage of system RAM (e.g. 2%), a human-readable size (e.g. 4G, 512M), or a plain number of blocks (e.g. 2000). Default is 2% of system RAM divided by block size (minimum 32 blocks).
--poolCapacityuint32auto[internal] Block buffer pool capacity in blocks. Default is prefetchActive + dirtyActive (minimum 8).
FlagTypeDefaultDescription
--asyncReadboolfalse[internal] Enable FUSE async read support
--dirtyActiveuint32auto[internal] Maximum number of dirty blocks actively syncing. Default is half of dirtyCapacity (minimum 4).
--maxBopsuint32auto[internal] Maximum number of parallel block operations. Default is dirtyActive + prefetchActive.
--noMaxPagesboolfalse[internal] Limit FUSE max_pages to 32 instead of the kernel maximum
--noPrefetchboolfalse[internal] Disable block prefetching entirely
--prefetchActiveuint32auto[internal] Maximum number of active block prefetches. Default is memCapacity/8.
FlagTypeDefaultDescription
--attrValiduint6428800[internal] Seconds to cache file/directory attributes
--attrValidNsecuint320[internal] Nanosecond offset for --attrValid
--dirPageSizeuint325000[internal] Directory stream page size
--dirTTLuint3210[internal] Seconds to cache directory stream pages
--entryValiduint641[internal] Seconds to cache directory entries
--entryValidNsecuint320[internal] Nanosecond offset for --entryValid
--longNamesboolfalse[internal] Allow names up to 1023 characters (default limit is 255)
FlagTypeDefaultDescription
--noMetaSSLboolfalse[internal] Disable TLS for metadata server connections
--noProxyboolfalse[internal] Bypass proxy servers and connect directly to object storage
--noProxyReadsboolfalse[internal] Bypass proxy servers for block reads
--noProxySSLboolfalse[internal] Disable TLS for proxy server connections
--noProxyWritesboolfalse[internal] Bypass proxy servers for block writes
--sseboolfalse[internal] Enable S3 server-side encryption (AES256)
FlagTypeDefaultDescription
--adminAddrstring(from creds)[internal] Admin server address (overrides the credentials file)
--credsFilestring~/.flexfs/mount/creds/<name>Path to the credentials file. The <name> placeholder is replaced with the volume name.
--secretstring(from creds)[internal] Volume encryption secret (overrides the credentials file)
--tokenstring(from creds)[internal] Volume auth token (overrides the credentials file)
FlagTypeDefaultDescription
--noRemountboolfalseDisable automatic remount after an update (the mount will stop instead)
--noUpdateboolfalseDisable the automatic update mechanism (implies --noRemount)
--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
--blockRTTboolfalse[internal] Log all block storage round-trip times
--foreground / -fboolfalseRun in foreground mode instead of daemonizing (implies --noRemount)
--fuseRTTboolfalse[internal] Log all FUSE round-trip times
--logFilestring~/.flexfs/mount/logs/<name>-<pid>.logLog file path in daemon mode. The <name> and <pid> placeholders are replaced at startup.
--memStatsboolfalse[internal] Log buffer pool and LRU cache statistics
--metaRTTboolfalse[internal] Log all metadata server round-trip times
--pprofboolfalse[internal] Enable the Go pprof profiler
--pprofPortint6063[internal] Pprof server port
--storeRTTboolfalse[internal] Log all store subsystem round-trip times
--verbose / -vboolfalseEnable verbose logging (implies all RTT and memStats logging)
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.