AIStor Files
A native NFSv4.1 gateway that runs on your AIStor nodes. Clients mount a POSIX filesystem, and AIStor stores the file data.
AIStor Files adds a POSIX (Portable Operating System Interface) filesystem to your MinIO
AIStor cluster. The files gateway runs on the AIStor nodes and serves NFS (Network File
System) version 4.1. Clients mount it like any NFS server, with no software from MinIO.
What it is
- A filesystem, not a view of a bucket. The gateway keeps each export's namespace on the nodes' local drives, so lookups, creates, and listings are answered locally.
- Stored in AIStor. AIStor stores all file data, and a copy of each namespace that any node can rebuild the export from.
- Standard NFS. Any NFSv4.1 client can mount an export. Sessions, byte-range locks and grace after a restart come from the NFS protocol.
- One namespace across nodes. Every node serves every export. AIStor splits each export into cells and spreads them over the nodes, so clients can mount any node, and a lost node's cells move to the others.
- Multi-tenant. Each export has its own quota, its own metadata, and its own prefix in the bucket.
What it is not
The bucket behind an export holds the gateway's own chunk objects. Files do not appear as named objects, and objects that other tools write do not appear as files. For object access, use the AIStor S3 API.
Do not point another tool, an application, or a lifecycle rule at that bucket. Changing its objects breaks the exports stored in it.
Terms
| Term | Meaning |
|---|---|
| Export | An NFS share: a namespace that clients mount at its pseudo path. |
| Gateway | The files daemon on a node. It serves every export. |
| Metadata directory | A directory on a node's drive that holds the local copy of a cell's namespace. |
| Tier | The AIStor endpoint, credentials, and bucket that store an export's data. |
| Cell | One part of an export's namespace. AIStor gives each export about one cell per drive, and one node runs each cell. |
| Owner | The one node that runs a cell. A lease in the bucket enforces that there is only one. |
| Fenced | The state of a cell whose node lost its lease. A fenced cell serves no writes. |
| Entry export | The read-only export at / on every node. It lists every export in one namespace. |
How AIStor runs it
AIStor runs the gateway on every node and is its control plane. You manage exports with
mc files export, from any host that reaches AIStor. AIStor sends every node the
configuration of every export, decides which node runs each cell, and publishes the
gateway's metrics.