configure.flexfs is the management CLI for flexFS Enterprise. It provides both an interactive REPL and single-command mode for CRUD operations on all admin server resource types. It communicates with the admin server over its REST API.
When run without arguments from a terminal, configure.flexfs starts an interactive shell with tab completion and command history:
configure.flexfs> list volumes
configure.flexfs> show volume my-vol
configure.flexfs> create volume --name test --metaStoreID 1 --blockStoreID 1
Commands can also be run directly from the shell:
configure.flexfs list volumes --json
configure.flexfs create volume --name test --metaStoreID 1 --blockStoreID 1
Verb Description list <resource>List all instances of a resource show <resource> <id>Show details for a single resource create <resource> --field=value ...Create a new resource update <resource> <id> --field=value ...Update an existing resource delete <resource> <id>Delete a resource
Resource API Name Description accountaccountsUser account block-apiblock-apisBlock store API type block-storeblock-storesBlock store (bucket configuration) meta-storemeta-storesMetadata store providerprovidersCloud provider proxy-groupproxy-groupsProxy group regionregionsProvider region volumevolumesVolume volume-proxy-groupvolume-proxy-groupsVolume-to-proxy-group association volume-tokenvolume-tokensVolume access token
Flag Type Default Description Visibility --credsFilestring ~/.flexfs/configure/credsCredentials file path Public --jsonbool falseOutput results as JSON Public --adminAddrstring Admin server address (overrides creds file) Internal --noAdminSSLbool falseDisable SSL for admin server connections Internal --tokenstring Account auth token (overrides creds file) Internal
When creating or updating volumes, the following fields are available:
Flag Type Default Description --metaStoreIDint Metadata store ID (required for create) --blockStoreIDint Block store ID (required for create) --namestring Volume name (required for create) --idstring auto-generated Volume ID (UUID) --blockSizestring 4MiBBlock size (e.g. 4MiB, 256KiB, or raw bytes) --compressionstring lz4Compression algorithm: lz4, snappy, zstd, or none --encryptionbool falseEnable end-to-end encryption --retentionstring 7dRetention duration (e.g. 7d, 168h, 30m) or seconds; -1 = forever --maxBlocksint 0Max block count, 0 = unlimited --maxInodesint 0Max inode count, 0 = unlimited --maxProxiedint 0Max proxied blocks per file, 0 = unlimited --flagsstring Comma-separated mount flags (ro, noatime, acl, xattr, …) --notesstring Free-form notes
Flag Type Default Description --volumeIDstring Volume ID or name (required for create) --tokenstring auto-generated Access token (UUID) --mountPathstring Subdirectory path to mount as root (e.g. /data/project) --flagsstring Comma-separated mount flags --notesstring Free-form notes