admin.flexfs is the central management server for flexFS Enterprise. It stores accounts, volumes, block stores, metadata stores, proxy groups, and volume tokens. Mount clients connect to it for volume settings and binary updates, and configure.flexfs uses its REST API to manage resources.
Subcommand Description startStart the admin server init credsInitialize the credentials file init systemdCreate and enable a systemd service unit deinit credsRemove the credentials file deinit systemdRemove the systemd service unit versionPrint the build version licensePrint license information
admin.flexfs start [flags]
Flag Type Default Description --credsFilestring ~/.flexfs/admin/credsCredentials file path
Flag Type Default Description Visibility --bindAddrstring 0.0.0.0:443Address and port to bind Public --dbFolderstring ~/.flexfs/adminDatabase folder path Public --deployFolderstring ~/.flexfs/admin/deployFolder for mount client deploy binaries Public --noSSLbool falseDisable SSL for the REST API Public --sslCertstring ~/.flexfs/ssl/certSSL certificate file path Public --sslKeystring ~/.flexfs/ssl/keySSL private key file path Public --verbose, -vbool falseEnable verbose logging Public --noStatSSLbool falseDisable SSL for stat server connections Internal --pprofbool falseEnable pprof profiler Internal --sqliteOptsstring (default tuning) Database connection tuning options Internal --statAddrstring Stat server address (overrides creds file) Internal --tokenstring Admin server auth token (overrides creds file) Internal
admin.flexfs init creds [flags]
Initializes a credentials file for the admin server. If --token is omitted, the command prompts for an admin server token interactively.
Flag Type Default Description --statAddrstring stat.flexfs.ioStat server address --tokenstring ""Admin server auth token (will prompt if omitted) --forcebool falseOverwrite existing creds file
sudo admin.flexfs init systemd [flags]
Creates and enables a systemd service unit (flexfs-admin.service) for the admin server. Requires root.
Flag Type Default Description --nowbool falseStart the service immediately after enabling --startFlagsstring ""Additional flags to pass to the start command --forcebool falseOverwrite existing systemd unit file
admin.flexfs deinit creds [flags]
Removes the credentials file for the admin server. If the credentials file is referenced by a systemd unit, the command refuses unless --force is passed, in which case it removes the references too.
Flag Type Default Description --forcebool falseRemove creds even if referenced by systemd (removes references too)
sudo admin.flexfs deinit systemd
Removes the systemd service unit (flexfs-admin.service) for the admin server. Requires root.
The admin server serves mount client binaries and an installer script for auto-update and client deployment:
Endpoint Description /deploy/install-mount.shShell script that downloads and configures the mount client /deploy/production/Production channel mount client binaries /deploy/staging/Staging channel mount client binaries