mount.flexfs is the FUSE-based mount client that presents a flexFS volume as a local POSIX filesystem. It connects to a metadata server for inode/dentry operations and to object storage (directly or through a proxy group) for block data.
Subcommand Description startStart the mount client init credsInitialize the credentials file init fstabCreate an fstab entry and mount point deinit credsRemove the credentials file deinit fstabRemove the fstab entry versionPrint the build version licensePrint license information
mount.flexfs start [flags] <name> <mount-point>
The start subcommand connects to the admin server, retrieves volume settings, and mounts the filesystem at the specified mount point. In the default daemon mode, the process forks into the background and writes logs to a file. Use --foreground to run in the foreground.
Flag Type Default Description --aclbool falseEnable extended ACL support (implies --xAttr) --atTimestring Mount filesystem at a specific point in time (RFC3339 format, implies --ro) --noATimebool falseMount with noatime option --noExecbool falseMount with noexec option --noGroupCachebool falseDisable extended ACL group caching --noSUIDbool falseMount with nosuid option --nonEmptybool falseAllow mounting over a non-empty directory --robool falseMount read-only (implies --noATime) --rootSquashbool falseMap uid=0/gid=0 to the squash uid/gid (implies --acl) --rootSquashGIDuint32 65534GID to map root to when --rootSquash is set --rootSquashUIDuint32 65534UID to map root to when --rootSquash is set --umaskstring Explicit umask override in octal notation (e.g. 0002) --xAttrbool falseEnable extended attribute support
Flag Type Default Description --diskFolderstring /dev/shm/.flexfs-cache-<pid>On-disk block cache folder path --diskMaxBlockSizeuint64 131072Max processed block size to cache on disk (bytes, 0 = no limit) --diskQuotastring Max disk usage for cache (e.g. 5%, 64M) --diskWritebackbool falseEnable disk cache writeback mode
Flag Type Default Description --foreground, -fbool falseRun in foreground mode (implies --noRemount) --logFilestring ~/.flexfs/mount/logs/<name>-<pid>.logLog file path (daemon mode only) --verbose, -vbool falseEnable verbose logging
Flag Type Default Description --noRemountbool falseDisable remount after auto-update --noUpdatebool falseDisable auto-update mechanism (implies --noRemount) --stagingbool falseAuto-update from staged builds
Flag Type Default Description --credsFilestring ~/.flexfs/mount/creds/<name>Credentials file path
Flag Type Default Description --adminAddrstring Admin server address (overrides creds file) --asyncReadbool falseRun FUSE with async read support --attrValiduint64 3600Seconds to cache file attributes --attrValidNsecuint32 0Nanosecond offset for --attrValid --blockRTTbool falseLog block storage round-trip times --dirPageSizeuint32 5000Directory stream page size --dirTTLuint32 10Seconds to cache directory stream pages --dirtyActiveuint32 0Maximum number of active dirty block syncs --dirtyCapacityuint32 0In-memory dirty block cache capacity (blocks) --entryValiduint64 1Seconds to cache directory entries --entryValidNsecuint32 0Nanosecond offset for --entryValid --fuseRTTbool falseLog FUSE round-trip times --longNamesbool falseAllow names up to 1023 characters --maxBopsuint32 0Maximum number of parallel block operations --memCapacityuint32 0In-memory block cache capacity (blocks) --memStatsbool falseLog buffer pool and LRU cache stats --metaRTTbool falseLog metadata store round-trip times --noMaxPagesbool falseLimit FUSE max_pages to 32 --noMetaSSLbool falseDisable SSL for metadata server connections --noPrefetchbool falseDisable block prefetching --noProxybool falseDisable block proxying --noProxySSLbool falseDisable SSL for proxy server connections --poolCapacityuint32 0Block buffer pool capacity (blocks) --pprofbool falseEnable pprof profiler --prefetchActiveuint32 0Maximum number of active prefetches --secretstring Volume encryption secret (overrides creds file) --ssebool falseEnable S3 server-side encryption (AES256) --storeRTTbool falseLog store subsystem round-trip times --testVersionstring Override build version for testing auto-update handoff --tokenstring Volume auth token (overrides creds file) --updateIntervaluint32 360Auto-update check interval in seconds
mount.flexfs init creds --adminAddr <addr> [--token <uuid>]
Initializes a credentials file for a volume. If --token is omitted, the command prompts for a volume token interactively.
Flag Type Default Description --adminAddrstring Admin server address (required) --credsFilestring ~/.flexfs/mount/creds/<name>Credentials file path --forcebool falseOverwrite existing credentials file --secretstring Volume encryption secret (will prompt if omitted and needed) --tokenstring Volume auth token (will prompt if omitted) --printNamebool falsePrint the volume name to stdout after initialization
mount.flexfs init fstab <name> <mount-point> [flags]
Creates an /etc/fstab entry and the mount point directory for the volume.
Flag Type Default Description --credsFilestring ~/.flexfs/mount/creds/<name>Credentials file path --mountOptionsstring ""Additional mount options to include in the fstab entry --nowbool falseMount the volume immediately after creating the fstab entry --forcebool falseOverwrite an existing fstab entry for this volume
mount.flexfs deinit creds <name>
Removes the credentials file for a volume. If the credentials file is referenced by an fstab entry or systemd unit, the command refuses unless --force is passed, in which case it removes the references too.
Flag Type Default Description --credsFilestring ~/.flexfs/mount/creds/<name>Credentials file path --forcebool falseRemove creds even if referenced by fstab/systemd (removes references too)
sudo mount.flexfs deinit fstab <mount-point>
Removes flexFS fstab entries for the given mount point from /etc/fstab. Requires root.
The credentials file is a TOML file stored at the path specified by --credsFile. It contains the admin server address, volume token, and optionally an encryption secret:
adminAddr = " admin.example.com:443 "