Skip to content

Metadata Stores

A meta store is a registration record in the admin server that represents a running meta.flexfs metadata server instance. Volumes reference a meta store by ID to determine which metadata server holds their filesystem metadata (inodes, directory entries, attributes, ACLs, and extended attributes).

FieldFlagTypeRequiredDescription
idintegerautoUnique identifier (auto-assigned)
provider_code--providerCodestringcreateProvider code where the metadata server is deployed
region_code--regionCodestringcreateRegion code where the metadata server is deployed
address--addressstringcreateServer address in host:port format
token--tokenstringAuthentication token (UUID, auto-generated if omitted)
Terminal window
configure.flexfs create meta-store \
--providerCode aws \
--regionCode us-east-1 \
--address meta-host:443

If --token is omitted, the admin server generates a UUID automatically. This token is used to authenticate the metadata server’s connection to the admin server. You will need this token when initializing the meta.flexfs credentials on the metadata server host.

Terminal window
configure.flexfs create meta-store \
--providerCode aws \
--regionCode us-east-1 \
--address meta-host:443 \
--token $TOKEN

After creating a meta store, retrieve the auto-generated token with show:

Terminal window
configure.flexfs show meta-store <id>

The full detail view includes the token field, which is not shown in list output.

Update the server address or rotate the authentication token:

Terminal window
configure.flexfs update meta-store <id> --address new-meta-host:443
configure.flexfs update meta-store <id> --token $TOKEN
Terminal window
configure.flexfs list meta-stores

The list view shows id, provider_code, region_code, and address. The token field is hidden in list output for security.

Terminal window
configure.flexfs delete meta-store <id>

After creating a meta store record in the admin server, you must configure the actual meta.flexfs process to connect back to the admin server. On the metadata server host:

Terminal window
meta.flexfs init creds \
--adminAddr admin-host:443 \
--token $TOKEN

The token here is the one generated (or specified) when creating the meta store. This establishes a trusted link between the metadata server and the admin server, allowing the metadata server to receive volume assignments and report health.

See Metadata Server Setup for complete configuration instructions.

The provider_code and region_code fields on a meta store record where the metadata server is physically deployed. This information is used for:

  • Operational visibility — understanding the geographic distribution of metadata servers
  • Resource planning — matching volumes to nearby metadata servers for lower latency

When creating volumes, choose a meta store in a region close to your mount clients to minimize metadata RPC latency.