Data and storage / User guide
File storage
Create shared file exports and manage client access policies for NFS or SMB.
On this page
Before you begin
Use the file-storage provider configured by your platform operator and a reachable private export network. Decide which client CIDRs should be allowed.
Get started
- Create a share with the required protocol, capacity, and export configuration.
- For provider-backed storage, wait until the provider reports the share available.
- Set access policies for the intended client networks.
- Use the returned mount instructions and verify permitted clients can access the share.
Operate the service
Review exports, provider status, and access rules in the share detail. Test both authorized access and revoked access when changing policies. Unmount dependent clients and review data retention before deleting a share.
Availability and limits
TrueNAS is an operator-configured backend in Preview. The operator configures the server endpoint, credentials and pool; organizations consume the resulting managed file-storage service. There is no organization-level TrueNAS Connect form. Confirm backend availability with your operator.
Manual shares are inventory records and do not create provider storage. TrueNAS-backed operations require the operator to configure the TrueNAS backend. A file share is separate from an object bucket or cloud block volume.
Troubleshooting
If creation reports a failed precondition, verify that the requested backend is configured. For mount failures, check private connectivity, protocol support, export paths, and client CIDRs.
Next steps
Use the CLI guide to automate repeatable work, or the API guide to integrate Anchras with your own tools.
CLI commands
Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.
| Command | Purpose |
|---|---|
file-storage list | List NFS/SMB file shares in one project and what mounts each. Flags: --project, --status, --protocol, --page, --page-size. |
file-storage get <id> | Show one share, export metadata, provider reference, access-rule count, and the containers mounting it. |
file-storage create | Create a share record with one NFS/SMB export. Requires --name, --endpoint, and --export-path; optional --quota-gib, --provider, --provider-ref, --protocol, --snapshot-capable, --project (the project the share lives in). |
file-storage update <id> | Patch share metadata by reading the current share first, then applying supplied flags. Supports quota, used capacity, status, provider ref, snapshot capability, and export fields. |
file-storage delete <id> | Delete a share record. Provider deletion depends on the selected backend. Refused while a container mounts the share. |
file-storage policy <id> | Inspect access policy rules for a share. Use -o json or -o yaml for scripting. |
API reference
Browse procedures, request and response types, and download the complete OpenAPI contract.
