Skip to content

configure.flexfs

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
configure.flexfs> exit

Commands can also be run directly from the shell:

Terminal window
configure.flexfs list volumes --json
configure.flexfs create volume --name test --metaStoreID 1 --blockStoreID 1
VerbDescription
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
ResourceAPI NameDescription
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
FlagTypeDefaultDescriptionVisibility
--credsFilestring~/.flexfs/configure/credsCredentials file pathPublic
--jsonboolfalseOutput results as JSONPublic
--adminAddrstringAdmin server address (overrides creds file)Internal
--noAdminSSLboolfalseDisable SSL for admin server connectionsInternal
--tokenstringAccount auth token (overrides creds file)Internal

When creating or updating volumes, the following fields are available:

FlagTypeDefaultDescription
--metaStoreIDintMetadata store ID (required for create)
--blockStoreIDintBlock store ID (required for create)
--namestringVolume name (required for create)
--idstringauto-generatedVolume ID (UUID)
--blockSizestring4MiBBlock size (e.g. 4MiB, 256KiB, or raw bytes)
--compressionstringlz4Compression algorithm: lz4, snappy, zstd, or none
--encryptionboolfalseEnable end-to-end encryption
--retentionstring7dRetention duration (e.g. 7d, 168h, 30m) or seconds; -1 = forever
--maxBlocksint0Max block count, 0 = unlimited
--maxInodesint0Max inode count, 0 = unlimited
--maxProxiedint0Max proxied blocks per file, 0 = unlimited
--flagsstringComma-separated mount flags (ro, noatime, acl, xattr, …)
--notesstringFree-form notes
FlagTypeDefaultDescription
--volumeIDstringVolume ID or name (required for create)
--tokenstringauto-generatedAccess token (UUID)
--mountPathstringSubdirectory path to mount as root (e.g. /data/project)
--flagsstringComma-separated mount flags
--notesstringFree-form notes